Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- waitForVisibleAndDoubleClick(selector, pause = 0, timeout = 90000) {
- return this.client
- .pause(pause)
- .moveToObject(selector)
- .waitForVisibleAndDoubleClick(selector,timeout);
- }
- client.addCommand('waitForVisibleAndDoubleClick', function (selector, timeout = 90000) {
- return client
- .waitForVisible(selector, timeout)
- .doubleClick(selector);
- });
Add Comment
Please, Sign In to add comment