Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

chromedriver (7) Versions 1.2.3

Selenium WebDriver for Chrome

Policyfile
Berkshelf
Knife
cookbook 'chromedriver', '= 1.2.3', :supermarket
cookbook 'chromedriver', '= 1.2.3'
knife supermarket install chromedriver
knife supermarket download chromedriver
README
Dependencies
Changelog
Quality 50%

Selenium ChromeDriver Cookbook

Cookbook Version
linux
osx
win

Installs ChromeDriver (https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver).

Requirements

  • Chef 11.16+
  • Chrome (this cookbook does not install Chrome)

Platforms

  • CentOS, RedHat, Fedora
  • Debian, Ubuntu
  • Mac OS X
  • Windows

Cookbooks

  • windows

Usage

Include recipe in a run list or cookbook to install ChromeDriver.

Attributes

  • node['chromedriver']['version'] - Version to download. Default LATEST_RELEASE.
  • node['chromedriver']['url'] - URL download prefix. Default https://chromedriver.storage.googleapis.com.
  • node['chromedriver']['windows']['home'] - Home directory for windows. Default %SYSTEMDRIVE%\chromedriver.
  • node['chromedriver']['unix']['home'] - Home directory for both linux and macosx. Default /opt/chromedriver.

Install selenium node with chrome capability

include_recipe 'chrome'
include_recipe 'chromedriver'

node.set['selenium']['node']['capabilities'] = [
  {
    browserName: 'chrome',
    maxInstances: 1,
    version: chrome_version,
    seleniumProtocol: 'WebDriver'
  }
]

include_recipe 'selenium::node'

Download ChromeDriver from alternative location

override_attributes(
  "chromedriver": {
    "url": "https://s3.amazonaws.com/mybucket/chromedriver"
    "version": "2.21"
  }
)

This will download the ChromeDriver that best matches version and platform criteria e.g., Linux x64 platform will
match https://s3.amazonaws.com/mybucket/chromedriver/2.21/chromedriver_linux64.zip. Note that ChromeDriver path must
be the same as that found under http://chromedriver.storage.googleapis.com/index.html.

Getting Help

Contributing

Please refer to CONTRIBUTING.

License

MIT - see the accompanying LICENSE file for
details.

Changelog

1.2.3 - 2016/09/30

  • Add proxy support
  • Relax windows cookbook version

1.2.2 - 2016/08/16

  • Fix #6 Updated chromedriver_powershell_version to access stdout property

1.2.1 - 2016/01/29

  • Fix #3 Chef::Exceptions::InvalidRemoteFileURI

1.2.0 - 2015/11/30

  • Default ChromeDriver version to LATEST_RELEASE

1.1.0 - 2015/10/15

  • ChromeDriver release 2.20

1.0.0 - 2015/09/12

  • Initial release

Collaborator Number Metric
            

1.2.3 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric
            

1.2.3 passed this metric