Created
November 4, 2014 15:52
-
-
Save sand3r/29a431366d89442c5dfb to your computer and use it in GitHub Desktop.
webdriverio example test
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 options = { | |
desiredCapabilities: { | |
browserName: 'firefox' | |
} | |
}; | |
webdriverio | |
.remote(options) | |
.init() | |
.url('http://www.google.com') | |
.title(function(err, res) { | |
console.log('Title was: ' + res.value); | |
}) | |
.end(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment