Advertisement
Guest User

Untitled

a guest
Feb 17th, 2020
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. // Add app - Tab iOS
  2. helpers.devLog("Fill iOS app");
  3. await helpers.waitForAjax();
  4. await helpers.waitForStablePage(20000, 500);
  5. console.log("me work?")
  6. let inputStoreID = await driver.wait(until.elementLocated(By.className("select2-selection select2-selection--single")));
  7. console.log("me work!")
  8. await driver.wait(until.elementIsVisible(inputStoreID));
  9. console.log("int coming?")
  10. await inputStoreID.click();
  11. let searchStoreID = await driver.wait(until.elementLocated(By.className("select2-search__field")));
  12. await driver.wait(until.elementIsVisible(searchStoreID));
  13. console.log("wtf?")
  14. await searchStoreID.sendKeys(parseInt(305309870));
  15. console.log("wtf?222")
  16. await searchStoreID.sendKeys(Key.ENTER);
  17. console.log("wtf3333?")
  18. //await inputStoreID.submit();Key.ENTER
  19. console.log("no")
  20. await driver.wait(until.elementIsVisible(saveForm));
  21. console.log("sdgfsdgsdg?")
  22. await saveForm.click();
  23. await helpers.sleep(2000000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement