selenium_standalone_dsl 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/selenium_standalone_dsl/base.rb +5 -1
- data/lib/selenium_standalone_dsl/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44a20c6d921f452da8364133c837944fef403428
|
4
|
+
data.tar.gz: 770f44e85a2b2f0f143cf455d466ec2964c7c28d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58ede74241f729f52986e80e4f5b043f132a566270beb3205a45b65f7fedceab1c242193bdd8ef152787990c05d4c1864632a3725baff507a59bdcf212cca22b
|
7
|
+
data.tar.gz: d14368a8a1f45482d189e4c2bbfe98346a7a624ba8bef4fcd94906f7036250f0535c41d1fb92d1c89cd83cf722b1addf35c51bf8bb4a6132a40a2632f601f6b4
|
data/Gemfile.lock
CHANGED
@@ -6,7 +6,7 @@ module SeleniumStandaloneDSL
|
|
6
6
|
user_agent: 'Selenium Standalone DSL', headless: false)
|
7
7
|
|
8
8
|
if headless
|
9
|
-
Headless.new(reuse: false, destroy_at_exit: true).start
|
9
|
+
@headless = Headless.new(reuse: false, destroy_at_exit: true).start
|
10
10
|
end
|
11
11
|
|
12
12
|
# Extends timeout
|
@@ -109,6 +109,10 @@ module SeleniumStandaloneDSL
|
|
109
109
|
|
110
110
|
def quit
|
111
111
|
@driver.quit
|
112
|
+
|
113
|
+
if @headless
|
114
|
+
@headless.destroy
|
115
|
+
end
|
112
116
|
end
|
113
117
|
end
|
114
118
|
end
|