Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var webdriverio = require('webdriverio');
- var options = { desiredCapabilities: { browserName: 'chrome' } };
- var client = webdriverio.remote(options);
- client
- .init()
- .url('https://mail.google.com/')
- .pause(2000)
- .setValue('input#identifierId', 'petruuuuuuuuuuuuuuuuuuuu')
- .pause(2000)
- .click('div#identifierNext')
- .pause(2000)
- .setValue('input.whsOnd.zHQkBf', 'petru123') //the program blocks here
- .pause(2000)
- .click('div#passwordNext');
- .end();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement