cookbook 'chromedriver', '= 1.0.0'
chromedriver (7) Versions 1.0.0 Follow2
Selenium WebDriver for Chrome
cookbook 'chromedriver', '= 1.0.0', :supermarket
knife supermarket install chromedriver
knife supermarket download chromedriver
Selenium ChromeDriver Cookbook
Installs ChromeDriver (https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver).
Requirements
- Chef 11.16+
- Chrome (this cookbook does not install Chrome)
Platforms
- CentOS, RedHat
- Mac OS X
- Ubuntu
- Windows
Cookbooks
- windows
Usage
Include recipe in a run list or cookbook to install ChromeDriver.
Attributes
-
node['chromedriver']['version']
- Version to download. -
node['chromedriver']['url']
- URL download prefix. -
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'
Getting Help
- Ask specific questions on Stack Overflow.
- Report bugs and discuss potential features in Github issues.
Contributing
Please refer to CONTRIBUTING.
License
MIT - see the accompanying LICENSE file for
details.
Changelog
1.0.0
- Initial release
Foodcritic Metric
1.0.0 passed this metric
1.0.0 passed this metric