Created
August 6, 2016 02:10
-
-
Save doomsbuster/dc39e1fe571b9dc5d2373f01bcd8e4e2 to your computer and use it in GitHub Desktop.
This file contains 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 webdriver = require('webdriverio'); | |
var options = { | |
desiredCapabilities: { | |
browserName: 'chrome' | |
}, | |
port: 10000, | |
logLevel: 'verbose', | |
coloredLogs: true, | |
debug: true | |
}; | |
webdriver.remote(options).init().url('http://www.google.com').getTitle().then(function(title) { | |
console.log(title); | |
}).end(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment