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

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

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

asp.net mvc - breakpoint on javascript in CSHTML? -