Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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".