/chef-iedriver

Chef cookbook to install IEDriver

Primary LanguageRubyMIT LicenseMIT

Selenium IEDriver Cookbook

Cookbook Version win

Installs IEDriverServer (https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver) and configures Internet Explorer.

Requirements

  • Internet Explorer 9+
  • Chef 12.6+

Platforms

  • Windows

Cookbooks

  • ie

Usage

Include recipe in cookbook or run list to install IEDriverServer and configure Internet Explorer.

Attributes

  • node['iedriver']['version'] - Version to download.
  • node['iedriver']['url'] - Download URL prefix.
  • node['iedriver']['home'] - Home directory. Default %SYSTEMDRIVE%\iedriver.
  • node['iedriver']['config_ie'] - Configure Internet Explorer according to required configuration. Default true.
  • node['iedriver']['forcex86'] - Forces 32 bit iedriver download. Default false. If you have already ran this cookbook you will need to delete %SYSTEMDRIVE%\iedriver before running.

Example

Install selenium node with internet explorer capability

include_recipe 'iedriver'

node.default['selenium']['node']['capabilities'] = [
  {
    browserName: 'internet explorer',
    maxInstances: 1,
    version: ie_version,
    seleniumProtocol: 'WebDriver'
  }
]
node.default['selenium']['node']['username'] = 'username'
node.default['selenium']['node']['password'] = 'password'
node.default['selenium']['node']['domain'] = 'domain'

include_recipe 'selenium::node'

Getting Help

Contributing

Please refer to CONTRIBUTING.

License

MIT - see the accompanying LICENSE file for details.