capybara-wait_before_click 0.2.0 → 0.2.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
  SHA256:
3
- metadata.gz: 3c92945a9cdef8a814bfa49c88c7dc0c17e871da7c8ef6d4378645a020695634
4
- data.tar.gz: 77df11ab96e6601c4704090f954d428b3ec2745c07bde20186fdbbf5b4b865bc
3
+ metadata.gz: 2db13f38f3ebbc8165a7176ba5c440cf35b2986a04711f9cc67a1e99351319b4
4
+ data.tar.gz: a4b5f0d4f01a845811ec8d78bd9a58b48c4cb9f2cabd8bdbea4c99509791393e
5
5
  SHA512:
6
- metadata.gz: 5c3510ff5902c4823924ff1b4e7e32a1346b574b27838217cf46abfd1d5fa1a613597a2919b6d4c0ee2859da6710d2bb76c66e53b7233faee79cdd3144cd8caa
7
- data.tar.gz: 9895ca295e3181e374072439f923ebdf2bf0cb849fe84042f15c138104dd75c3ff5873d22b142f90c57795abbaf2ea276f3fdd8eb5e94d16a62a5ab87e74e03d
6
+ metadata.gz: 65434b68b19d087fd938672aa4f94d50aeddc7b2747289e0e1c275580632956ea9e0a65875f5132b168f8e700919c951bd430f4ab7a70ce595d630a8b0c811ed
7
+ data.tar.gz: 0debd488145c1109314cddce041d42b986afd3468321060fb43babb3c5b7c678cdfb195afe55e958962468a9165f7c1e0e9e69861532d7be373b80c49f2cc7ee
data/Gemfile CHANGED
@@ -9,5 +9,6 @@ gem "puma"
9
9
  gem "rake", "~> 13.0"
10
10
  gem "rspec", "~> 3.0"
11
11
  gem "rubocop", "~> 1.21"
12
+ gem "selenium-webdriver"
12
13
  gem "sinatra", "~> 3.0"
13
14
  gem "webdrivers"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capybara-wait_before_click (0.2.0)
4
+ capybara-wait_before_click (0.2.1)
5
5
  capybara (~> 3.0)
6
6
 
7
7
  GEM
@@ -107,6 +107,7 @@ DEPENDENCIES
107
107
  rake (~> 13.0)
108
108
  rspec (~> 3.0)
109
109
  rubocop (~> 1.21)
110
+ selenium-webdriver
110
111
  sinatra (~> 3.0)
111
112
  webdrivers
112
113
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capybara
4
4
  module WaitBeforeClick
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
@@ -19,7 +19,7 @@ module Capybara
19
19
  _logger.debug "[capybara-wait_before_click]Timeout::Error"
20
20
  rescue Capybara::NotSupportedByDriverError
21
21
  # It comes here when you run it in rack-test, but you can ignore it
22
- rescue Selenium::WebDriver::Error::StaleElementReferenceError
22
+ rescue ::Selenium::WebDriver::Error::StaleElementReferenceError
23
23
  _logger.debug "[capybara-wait_before_click]Selenium::WebDriver::Error::StaleElementReferenceError"
24
24
  reload
25
25
  _wait_for_image_loading
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-wait_before_click
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - willnet
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara