intern - Is iti possible to find an element by a custom attribute? -


all elements in web application that: <div id="12zd34" test-attr="elt1_stop2_3"> .

the id automatically generated , change each execution not test-attr attribute.

is possible find testing elements custom attribute or xpath custom attribute?

thanks help.

use jquery:

$('div[test-attr="elt1_stop2_3"]')


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -