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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7cf3f3a9c944eab6b823800067d0da128e9e777
4
- data.tar.gz: f38d8fb671150c06c2c4861eb03ff9c0a055c083
3
+ metadata.gz: 44a20c6d921f452da8364133c837944fef403428
4
+ data.tar.gz: 770f44e85a2b2f0f143cf455d466ec2964c7c28d
5
5
  SHA512:
6
- metadata.gz: ed27902e797dabf7f99fddc4a8d48c9c724146fedccb31d409a77156eb783b8a84e39dff4dc9e1f94b6c7a56b92a0bd0a21b2c76440f5a00c6ee797a6fd3cec6
7
- data.tar.gz: cb3416a9f598854f740fabb991cddcf048f663576c5faa10a87f90717452d550dbd8470eb172d7664d5455d026810a1af474bf65631a8a759e3705dec7264bdf
6
+ metadata.gz: 58ede74241f729f52986e80e4f5b043f132a566270beb3205a45b65f7fedceab1c242193bdd8ef152787990c05d4c1864632a3725baff507a59bdcf212cca22b
7
+ data.tar.gz: d14368a8a1f45482d189e4c2bbfe98346a7a624ba8bef4fcd94906f7036250f0535c41d1fb92d1c89cd83cf722b1addf35c51bf8bb4a6132a40a2632f601f6b4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- selenium_standalone_dsl (0.1.4)
4
+ selenium_standalone_dsl (0.1.5)
5
5
  headless
6
6
  nokogiri
7
7
  selenium-webdriver
@@ -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
@@ -1,3 +1,3 @@
1
1
  module SeleniumStandaloneDSL
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium_standalone_dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - gosho-kazuya