Skip to content

qualityshepherd/webdriverjs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An example WebdriverJS E2E test project that runs tests via Jest and makes use of page objects.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published