1.0.2 • Published 6 years ago

@mugshot/selenium v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Docker scripts to start a Selenium grid to be used for testing Mugshot packages


Requirements

  • Docker
  • docker-compose

Usage

Spin up a Selenium server listening at 0.0.0.0:4444 and 2 browser nodes (Chrome and Firefox) that connect to it:

npx @mugshot/selenium start

Spin up a Selenium server listening at 0.0.0.0:4444 and 2 debug nodes (Chrome and Firefox) that have VNC listening at 0.0.0.0:5900 and 0.0.0.0:5901:

npx @mugshot/selenium debug

Stop everything:

npx @mugshot/selenium stop