lbaey/chromedriver

Utility for installing Chromedriver, whatever platform you are on, for use with Behat

Installs: 58 655

Dependents: 1

Suggesters: 1

Security: 0

Stars: 14

Watchers: 2

Forks: 13

Open Issues: 5

Type:composer-plugin

1.1.0 2017-10-12 08:33 UTC

This package is not auto-updated.

Last update: 2024-11-15 22:40:07 UTC


README

This is the composer dependency you want if you happen to do some Behat testing with Selenium. It will download the adequat chromedriver version for your dev platform, whether it's Linux (32bits or 64bits), OSX or Windows.

Use it like a regular composer dependency, although it's a composer plugin.

composer require lbaey/chromedriver 1.1

Feel free to contribute, PR's are read and welcome

If you use se/selenium-server-standalone, run it with

./bin/selenium-server-standalone -Dwebdriver.chrome.driver=$PWD/bin/chromedriver

Configuring Extra

If your dev platform happens to be coherent with your test platform, you can by-pass platform selection with :

"extra": {
    "lbaey/chromedriver": {
        "bypass-select": true
    }
},

By default the latest release is installed. If you want a specific version of chromedriver, use :

"extra": {
    "lbaey/chromedriver": {
        "chromedriver-version": "2.33"
    }
},