Created
June 2, 2016 02:59
-
-
Save LottieVixen/5493ca816f339c612effdf42a2039560 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 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('#Pass','Password') | |
| .submitForm('#signInForm'); | |
| //.end(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment