Skip to content

Instantly share code, notes, and snippets.

@t8g
Created June 27, 2017 09:28
Show Gist options
  • Save t8g/74d1c15e790cd9e1268fbc11f29edc25 to your computer and use it in GitHub Desktop.
Save t8g/74d1c15e790cd9e1268fbc11f29edc25 to your computer and use it in GitHub Desktop.
// byteclub_test.js
module.exports = {
'Test ByteClub website' : function (browser) {
browser
.url('http://byteclub.fr')
.click('.nav.nav-main li:nth-child(5) a')
.pause(1000);
browser.expect.element('h1.page-title').text.to.contains('Qui sommes nous ?');
browser.end();
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment