Skip to content

Instantly share code, notes, and snippets.

@ricca509
Created August 31, 2016 21:17
Show Gist options
  • Save ricca509/0464b624d7b91949f8e2ddefe0b404aa to your computer and use it in GitHub Desktop.
Save ricca509/0464b624d7b91949f8e2ddefe0b404aa to your computer and use it in GitHub Desktop.
WebdriverIO test example
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