Created
June 2, 2016 03:26
-
-
Save LottieVixen/d98cb87a30afe30513a39c0ea79f9488 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var webdriverio = require('webdriverio'); | |
| //var webdriverio = require('selenium-webdriver'); | |
| var Username = "[email protected]"; | |
| var Password = "pencil12"; | |
| var options = { | |
| desiredCapabilities: { | |
| browserName: 'firefox' | |
| } | |
| }; | |
| webdriverio | |
| .remote(options) | |
| .init() | |
| .url('https://www.seek.com.au/login') | |
| .getTitle().then(function(title) { | |
| console.log('Title was: ' + title); | |
| }) | |
| .setValue('#Email', `${Username}`) | |
| .setValue('#Password',`${Password}`) | |
| //.submitForm('#signInForm') | |
| .click('.form-submit-action').click('.form-submit-action').click('.form-submit-action'); | |
| //.end(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment