Installs geckodriver (https://github.com/mozilla/geckodriver).
- Chef 12.6+
- Mozilla Firefox (this cookbook does not install Mozilla Firefox)
- CentOS, RedHat, Fedora
- Mac OS X
- Ubuntu, Debian
- Windows
Include recipe in a run list or cookbook to install geckodriver.
node['geckodriver']['version']
- Version to download.node['geckodriver']['url']
- URL download prefix.node['geckodriver']['windows']['home']
- Home directory for windows.node['geckodriver']['unix']['home']
- Home directory for both linux and macosx.
include_recipe 'mozilla_firefox'
include_recipe 'geckodriver'
node.override['selenium']['node']['capabilities'] = [
{
browserName: 'firefox',
maxInstances: 1,
version: firefox_version,
seleniumProtocol: 'WebDriver'
}
]
include_recipe 'selenium::node'
- Ask specific questions on Stack Overflow.
- Report bugs and discuss potential features in Github issues.
Please refer to CONTRIBUTING.
MIT - see the accompanying LICENSE file for details.