Selenium locate custom html attribute -


<div> <input id="" class="form" type="text" z:validate="" z:prompt="form1.prompt('submit')" z:placeholder="" z:tie="submit" z:disabled="{form1.isenabled('sumbitapply')}" placeholder="" maxlength="20"> </div> 

i want locate element using z:tie="submit" custom attribute.

so far have tried below options. did not work.

//input[@z:tie='sumbit'] //input[z:tie='sumbit'] 

i believe you're having trouble because of ":" in attributes.

if change ":" "_" work fine.


Comments

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -