Guest User

Untitled

a guest
Oct 23rd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. waitForVisibleAndDoubleClick(selector, pause = 0, timeout = 90000) {
  2. return this.client
  3. .pause(pause)
  4. .moveToObject(selector)
  5. .waitForVisibleAndDoubleClick(selector,timeout);
  6. }
  7. client.addCommand('waitForVisibleAndDoubleClick', function (selector, timeout = 90000) {
  8. return client
  9. .waitForVisible(selector, timeout)
  10. .doubleClick(selector);
  11. });
Add Comment
Please, Sign In to add comment