@mugshot/selenium
v1.0.2
Published
Spin up a Selenium grid for Mugshot tests
Downloads
1
Readme
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