selenium-launcher 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c0db0e2e699312bd2345647b3bd2a0d2892dbcff
4
- data.tar.gz: cc9753b81d9b560d4ad06b4736117862942b9830
3
+ metadata.gz: 11453c3874113a1dfe3b15167a320459944cdaf8
4
+ data.tar.gz: 684bfb3909521a2e77d54702a0cf38e2c32f18a5
5
5
  SHA512:
6
- metadata.gz: ef55fde4373f8798a430a01fcc9444095cd48d46c6cf4640d3d16425847f7265b563f42aaf172ad483f85b1eb059771d35bb7112b3e7e3d77ffed2b6b26a2ace
7
- data.tar.gz: 35f001cb06a6c5aa219d4177c209632e8f62615db652e434ea52e0fb89378d228e8c958cf2b7ef7623c405cd860606e68686c589a6f5c05053dbaadb06b72803
6
+ metadata.gz: 71d339ecaacbd6e08f1a4494fc3b51d64c5d242a4993383a95b463607e96340b6aec16c3604243bce8940098bbfd47424b18109c54110ae906f717b89637b8da
7
+ data.tar.gz: cfd98914c19580a88373cddf6686e66b87fb85f314d62577cacf5b5f62f88a8bdc05bfa7af5dce4b4c1c95a9e58c441ea79a742153f636247c943b03258ba064
data/README.txt CHANGED
@@ -38,10 +38,10 @@ ENV['SE_BROWSER'] = 'firefox'
38
38
  driver = SeleniumLauncher.launch
39
39
  driver.quit
40
40
 
41
- === Grid
41
+ === Remote
42
42
 
43
43
  ENV['SE_BROWSER'] = 'firefox'
44
- ENV['SE_HOST'] = 'grid'
44
+ ENV['SE_HOST'] = 'remote'
45
45
  ENV['SE_HOST_URL'] = 'http://localhost:4444/wd/hub'
46
46
  driver = SeleniumLauncher.launch
47
47
  driver.quit
@@ -1,3 +1,3 @@
1
1
  module SeleniumLauncher
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.version = SeleniumLauncher::VERSION
9
9
  spec.authors = ['Dave Haeffner']
10
10
  spec.email = ['dhaeffner@gmail.com']
11
- spec.description = %q{A simple way to configure and launch a Selenium instance}
11
+ spec.description = %q{A simple way to configure and launch a Selenium instance}
12
12
  spec.summary = %q{See README.txt}
13
13
  spec.homepage = 'https://github.com/tourdedave/selenium-launcher'
14
14
  spec.license = 'MIT'
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'selenium-webdriver', '~> 2.43.0'
20
+ spec.add_dependency 'selenium-webdriver', '~> 2.44.0'
21
21
  spec.add_development_dependency 'bundler', '~> 1.7'
22
22
  spec.add_development_dependency 'rake', '~> 10.0'
23
23
  spec.add_development_dependency 'rspec', '~> 3.1.0'
@@ -24,7 +24,7 @@ describe 'Launcher', :integration do
24
24
  end
25
25
 
26
26
  it 'Internet Explorer' do
27
- pending 'Windows OS required' unless OS.windows?
27
+ skip 'Windows OS required' unless OS.windows?
28
28
  ENV['SE_BROWSER'] = 'internet_explorer'
29
29
  @launcher = SeleniumLauncher::Launcher.new
30
30
  expect(@launcher.driver.class).to eql Selenium::WebDriver::Driver
@@ -32,7 +32,8 @@ describe 'Launcher', :integration do
32
32
  end
33
33
 
34
34
  it 'Safari' do
35
- skip 'Due to unresolved Selenium issue. See https://github.com/tourdedave/selenium-launcher/issues/3 for details.'
35
+ # See https://github.com/tourdedave/selenium-launcher/issues/3 if you experience Safari issues
36
+ skip 'Safari on Windows is unsupported' if OS.windows?
36
37
  ENV['SE_BROWSER'] = 'safari'
37
38
  @launcher = SeleniumLauncher::Launcher.new
38
39
  expect(@launcher.driver.class).to eql Selenium::WebDriver::Driver
@@ -42,7 +42,7 @@ describe 'Launcher', :integration do
42
42
  end
43
43
 
44
44
  it 'Internet Explorer' do
45
- pending 'Windows OS required' unless OS.windows?
45
+ skip 'Windows OS required' unless OS.windows?
46
46
  ENV['SE_BROWSER'] = 'internet_explorer'
47
47
  @launcher = SeleniumLauncher::Launcher.new
48
48
  expect(@launcher.driver.class).to eql Selenium::WebDriver::Driver
@@ -50,7 +50,8 @@ describe 'Launcher', :integration do
50
50
  end
51
51
 
52
52
  it 'Safari' do
53
- skip 'Due to unresolved Selenium issue. See https://github.com/tourdedave/selenium-launcher/issues/3 for details.'
53
+ # See https://github.com/tourdedave/selenium-launcher/issues/3 if you experience Safari issues
54
+ skip 'Safari on Windows is unsupported' if OS.windows?
54
55
  ENV['SE_BROWSER'] = 'safari'
55
56
  @launcher = SeleniumLauncher::Launcher.new
56
57
  expect(@launcher.driver.class).to eql Selenium::WebDriver::Driver
@@ -20,7 +20,7 @@ describe 'Selenium Launcher', :acceptance do
20
20
  end
21
21
 
22
22
  it 'no browser' do
23
- expect { driver = SeleniumLauncher.launch }.to raise_error(
23
+ expect { SeleniumLauncher.launch }.to raise_error(
24
24
  RuntimeError,
25
25
  'You need to specify a browser (e.g., SE_BROWSER).')
26
26
  end
@@ -28,7 +28,7 @@ describe 'Selenium Launcher', :acceptance do
28
28
  it 'no remote host URL' do
29
29
  ENV['SE_BROWSER'] = 'firefox'
30
30
  ENV['SE_HOST'] = 'remote'
31
- expect { driver = SeleniumLauncher.launch }.to raise_error(
31
+ expect { SeleniumLauncher.launch }.to raise_error(
32
32
  RuntimeError,
33
33
  'You need to specify a URL when using a Remote node (e.g., SE_HOST_URL).')
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Haeffner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-28 00:00:00.000000000 Z
11
+ date: 2014-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.43.0
19
+ version: 2.44.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.43.0
26
+ version: 2.44.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement