Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.54 KB

File metadata and controls

28 lines (21 loc) · 1.54 KB

E2E Tests

WebdriverJS Example

WebdriverJS (confusingly aka Selenium-Webdriver :\ ) is an adorable little e2e testing framework... with all the quirks we've come to expect from it.

At the end of the day... I definitely would choose vanilla webdriverjs over Protractor or WebdriverIO because of the crazy amount of changes both of those frameworks go through (and we must endure). But ultimately, I'd recommend getting off Selenium/Webdriver altogether.

These example E2E tests:

  • use WebdriverJS
  • run via Jest
  • use page objects
  • run in parallel
  • use ES6y
  • run on CI
  • are a bit silly but you'll get the point...

Installing & Running

assumes you have Nodejs 10+ and Git installed

  • clone it! git clone git@github.com:qualityshepherd/webdriverjs-example.git
  • jump into the directory cd webdriverjs-example
  • install dependencies: npm i
  • run tests: npm test

Links

Test Run Gif