Selecting a dynamic checkbox in selenium using regex -


I am trying to select a checkbox whose ID is generated dynamically but can not solve it. P>

  Selenium.check ("id = regexp: ctl00_cphMain_cbx_ [a-zA-Z0-9 _,] *") selenium.check ("xpath = (// input [@ type = 'checkbox' ]] [Position () = 1] ")   

Also this check box contains only dynamic id, no name. Any ideas which I am doing wrong?

You have tried selenium.check ('xpath = // input starts with [@ type = 'checkbox' and '(id,' ctl00_cphMain_cbx_ ')])

you

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -