webdriver-firefox 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
data/lib/webdriver-firefox.rb
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
module Selenium
|
2
|
+
module WebDriver
|
3
|
+
module Firefox
|
4
|
+
|
5
|
+
# @api private
|
6
|
+
class Launcher
|
7
|
+
def find_free_port
|
8
|
+
pool = ::NoLockFirefox::PortPool.new
|
9
|
+
@port = pool.find_free_port
|
10
|
+
end
|
11
|
+
|
12
|
+
def launch
|
13
|
+
find_free_port
|
14
|
+
create_profile
|
15
|
+
start_silent_and_wait
|
16
|
+
start
|
17
|
+
connect_until_stable
|
18
|
+
|
19
|
+
self
|
20
|
+
end
|
21
|
+
end # Launcher
|
22
|
+
end # Firefox
|
23
|
+
end # WebDriver
|
24
|
+
end # Selenium
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webdriver-firefox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-01-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: selenium-webdriver
|
@@ -36,6 +36,7 @@ extra_rdoc_files: []
|
|
36
36
|
files:
|
37
37
|
- lib/webdriver-firefox.rb
|
38
38
|
- lib/webdriver-firefox/firefox_binary.rb
|
39
|
+
- lib/webdriver-firefox/launcher.rb
|
39
40
|
- lib/webdriver-firefox/no_lock_driver.rb
|
40
41
|
- lib/webdriver-firefox/no_lock_firefox_bridge.rb
|
41
42
|
- lib/webdriver-firefox/port_pool.rb
|
@@ -60,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
61
|
version: '0'
|
61
62
|
requirements: []
|
62
63
|
rubyforge_project: tddium
|
63
|
-
rubygems_version: 1.8.
|
64
|
+
rubygems_version: 1.8.25
|
64
65
|
signing_key:
|
65
66
|
specification_version: 3
|
66
67
|
summary: WebdriverFirefox
|