Skip to content

Commit

Permalink
Update IE driver from 2.44.0 to 2.45.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Hoer committed Mar 23, 2015
1 parent 9fce536 commit d70d251
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
AllCops:
Exclude:
- '.kitchen/*'

LineLength:
Max: 120

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2.2.3 - 3//2015

- Wrap host and hubHost in quotes in node config
- Update IE driver from 2.44.0 to 2.45.0

## 2.2.2 - 2/26/2015

- Firefox 36 breaks WebDriver 2.44.0
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Chef 11 or greater
These cookbooks are referenced with suggests, so be sure to depend on cookbooks that apply:

- windows
- nssm - Required for Windows hubs, and optional for Windows HtmlUnit and PhantomJS.
- nssm - Required for Windows services only (e.g. Hub, PhantomJS, and HtmlUnit running in background)

## Usage

Expand Down Expand Up @@ -99,7 +99,7 @@ Installs and configures selenium-grid nodes with support for
etc...) and must be installed and configured outside this cookbook.
- Windows nodes (with the exception of HtmlUnitDriver) must run in the foreground and that requires a username
and password for auto-logon. Note that the password is stored unencrypted under windows registry:
`HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon`.
`HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon`.


### Example
Expand Down Expand Up @@ -160,7 +160,7 @@ installed if capabilities contains browser name `internet explorer`
- Windows only - Set both username and password to run service in foreground or leave nil to run service in background:
- `username` - Windows account username. Defaults to `nil`.
- `password` - Windows account password. Defaults to `nil`. Note that the password is stored unencrypted under
windows registry: `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon`.
windows registry: `HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon`.
- `domain` - Windows account domain. Optional. Defaults to `nil`.


Expand All @@ -174,7 +174,7 @@ Installs and configures [PhantomJS](http://phantomjs.org/) as a selenium-grid no
- [PhantomJS](http://phantomjs.org/) must be installed outside of this cookbook.
- Windows nodes have the option to run in the foreground and that requires a username and password for auto-logon.
Note that the password is stored unencrypted under windows registry:
`HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon`.
`HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon`.

#### Examples

Expand Down Expand Up @@ -208,7 +208,7 @@ service. Defaults to `"http://#{node['ipaddress']}:4444"`.
- Windows only - Set both username and password to run service in foreground or leave nil to run service in background:
- `username` - Windows account username. Defaults to `nil`.
- `password` - Windows account password. Defaults to `nil`. Note that the password is stored unencrypted under
windows registry: `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon`.
windows registry: `HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon`.
- `domain` - Windows account domain. Optional. Defaults to `nil`.

## ChefSpec Matchers
Expand Down
2 changes: 1 addition & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default['selenium']['server_version'] = '2.45.0'
default['selenium']['iedriver_version'] = '2.44.0'
default['selenium']['iedriver_version'] = '2.45.0'
default['selenium']['chromedriver_version'] = '2.14'

default['selenium']['release_url'] = 'https://selenium-release.storage.googleapis.com'
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'MIT'
description 'Installs/Configures Selenium'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.2.2'
version '2.2.3'

supports 'centos'
supports 'redhat'
Expand Down
6 changes: 3 additions & 3 deletions spec/unit/iedriver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
let(:chef_run) { ChefSpec::SoloRunner.new(platform: 'windows', version: '2008R2').converge(described_recipe) }

it 'create directory' do
expect(chef_run).to create_directory('C:/selenium/drivers/iedriver-2.44.0')
expect(chef_run).to create_directory('C:/selenium/drivers/iedriver-2.45.0')
end

it 'download and unzip driver' do
expect(chef_run).to unzip_windows_zipfile_to('C:/selenium/drivers/iedriver-2.44.0')
expect(chef_run).to unzip_windows_zipfile_to('C:/selenium/drivers/iedriver-2.45.0')
end

it 'link driver' do
expect(chef_run).to create_link('C:/selenium/drivers/iedriver').with(
to: 'C:/selenium/drivers/iedriver-2.44.0'
to: 'C:/selenium/drivers/iedriver-2.45.0'
)
end
end
Expand Down

0 comments on commit d70d251

Please sign in to comment.