Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mingfang/docker-selenium
Run Selenium Tests Inside Docker
https://github.com/mingfang/docker-selenium
Last synced: about 5 hours ago
JSON representation
Run Selenium Tests Inside Docker
- Host: GitHub
- URL: https://github.com/mingfang/docker-selenium
- Owner: mingfang
- Created: 2014-10-15T01:52:43.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-15T02:10:01.000Z (about 10 years ago)
- Last Synced: 2024-11-06T15:19:01.586Z (about 2 months ago)
- Language: Shell
- Size: 129 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-selenium
===============Run Selenium Tests Inside Docker
1. ```./build``` Docker image
2. ```./shell``` Shell into Docker container
3. ```runsvdir-start&``` Use Runit to start Selenium Server
4. ```mocha test.js -t 10000``` Run sample testSample output
```
>mocha test.js -t 10000=======================================================================================
Selenium 2.0/webdriver protocol bindings implementation with helper commands in nodejs.
For a complete list of commands, visit http://webdriver.io/docs.html.
=======================================================================================Test example.com
[01:51:08]: SET SESSION ID 818ea329-1118-4d96-a28d-beeed385bb72
Check homepage
✓ should see the correct title (53ms)
✓ should see the body (137ms)2 passing (2s)
```
Based on this article [http://code.tutsplus.com/tutorials/headless-functional-testing-with-selenium-and-phantomjs--net-30545]