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
Post a Comment