Skip to content

Multiplatform ChromeDriver downloader packaged in composer

License

Notifications You must be signed in to change notification settings

lbaey/chromedriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chrome Driver packaged in Composer

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"
    }
},

About

Multiplatform ChromeDriver downloader packaged in composer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages