Created
August 31, 2016 21:17
-
-
Save ricca509/0464b624d7b91949f8e2ddefe0b404aa to your computer and use it in GitHub Desktop.
WebdriverIO test example
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 assert = require('assert'); | |
describe('webdriver.io page', function() { | |
it('should have the right title', function () { | |
browser.url('http://webdriver.io'); | |
var title = browser.getTitle(); | |
assert.equal(title, 'WebdriverIO - Selenium 2.0 javascript bindings for nodejs'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment