Guest User

Untitled

a guest
Jul 16th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. <select class="form-control custom-select ng-untouched ng-pristine ng-invalid" id="SelectEU" name="SelectEU" required="">
  2.  
  3. <select class="form-control custom-select ng-untouched ng-pristine" id="SelectEU" name="SelectEU" required="" disabled="">
  4.  
  5. element = await driver.findElement(By.xpath("//select[@class='form-control custom-select ng-untouched ng-pristine ng-invalid']"))[0];
  6.  
  7. element = await driver.findElement(By.xpath("//select[@id='SelectEU']"))[0];
  8.  
  9. element = await driver.findElement(By.xpath("//option[@id='SelectEU' and text()='Electric Utility']"))[0];
Add Comment
Please, Sign In to add comment