Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dzschille/behat3-cbt
Sample how to use Behat 3 for testing with crossbrowsertesting.com
https://github.com/dzschille/behat3-cbt
behat3 selenium
Last synced: 12 days ago
JSON representation
Sample how to use Behat 3 for testing with crossbrowsertesting.com
- Host: GitHub
- URL: https://github.com/dzschille/behat3-cbt
- Owner: dzschille
- Created: 2017-09-21T12:04:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-08T15:31:06.000Z (over 4 years ago)
- Last Synced: 2024-10-04T13:41:47.288Z (3 months ago)
- Topics: behat3, selenium
- Language: Gherkin
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage
Install dependencies:
composer install
## Local testing:Start selenium server:
java -Dwebdriver.chrome.driver=/home/me/progs/chromedriver -jar ~/progs/selenium-server-standalone-3.5.3.jar
Run the feature test with Behat:
bin/behat
## Testing with Crossbrowsertesting.com
- Comment out the *wd_host* line with the localhost value.
- Uncomment the *wd_host* line with the Crossbrowsertesting hub and replace the *user* and *key* with the *Username* and
*Auth Key* you get from https://app.crossbrowsertesting.com/selenium/run .
You must urlencode your username: the "@" is encoded: "%40".