Posted By

abstraktor on 07/10/12


Tagged


Versions (?)

xpath for selecting a textbox by it's labels content


 / Published in: Other
 

where #{label} will be replaced with the labelcontent you are looking for

  1. //input[@name=//label[normalize-space()='#{label}']/@for]

Report this snippet  

You need to login to post a comment.