mercredi 22 février 2017

.elementByClass() not working correctly

i am writing automation scripts with wd in node.js.

i have a DOM like this:enter image description here

I want to use .tap() on the "btn-default" button however an error is output saying that this element in not attached to the DOM. how should I write the button class in the .elementByClass() method??

Aucun commentaire:

Enregistrer un commentaire