jeudi 23 avril 2015

Protractor Not select first Element from an autocomplete search address

i need to select the first element from an autocomplete search box , when autocomplete shows its hover other element,so other element not clickable by protractor , solution

element.all(by.css('[ng-model="address"]')).get(0) is not work for me but work in another computer , same script work in another computer , i checked protractor version , selenium version
i also try element.all(by.css('[ng-model="address"]')).first() ; its also not work for me , do you have any idea how cant i get first element ?. thanks

enter image description here

Aucun commentaire:

Enregistrer un commentaire