watir-dom-wait 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 +4 -4
- data/lib/watir/dom/elements/element.rb +3 -1
- data/watir-dom-wait.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fc11a16d952457dedccdb310aa696335c614471
|
4
|
+
data.tar.gz: 2c0ecf8e599cccbb4e4f64b3576052626dd780da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 690be61ea0f9ca9696855d41a2f2ebd7495f7d40c32a9f974a23b6357efd7ffd3673c4ada09c5ae7c28c47831d1d33097bd56233258ddc5764be98ca9914e7db
|
7
|
+
data.tar.gz: 3ebe00866f24c2113796268d1de2534029cd03f64394b9b6f50e90cbf004042fe0512b6c4824eecf0c21ac8b739869eeb6907ecee685e7c7917e49dc93f2e091
|
@@ -19,9 +19,11 @@ module Watir
|
|
19
19
|
def dom_changed?(delay: 1.1)
|
20
20
|
driver.manage.timeouts.script_timeout = delay + 1
|
21
21
|
driver.execute_async_script(DOM_WAIT_JS, wd, delay)
|
22
|
+
rescue Selenium::WebDriver::Error::StaleElementReferenceError
|
23
|
+
retry
|
22
24
|
ensure
|
23
25
|
# TODO: make sure we rollback to user-defined timeout
|
24
|
-
# blocked by https://
|
26
|
+
# blocked by https://github.com/seleniumhq/selenium-google-code-issue-archive/issues/6608
|
25
27
|
driver.manage.timeouts.script_timeout = 1
|
26
28
|
end
|
27
29
|
end # Element
|
data/watir-dom-wait.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "watir-dom-wait"
|
7
|
-
spec.version = "0.3.
|
7
|
+
spec.version = "0.3.1"
|
8
8
|
spec.authors = ["Alex Rodionov"]
|
9
9
|
spec.email = %w(p0deje@gmail.com)
|
10
10
|
spec.description = "Watir extension which provides with method to check for DOM changes."
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watir-dom-wait
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Rodionov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: watir
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
|
-
rubygems_version: 2.
|
124
|
+
rubygems_version: 2.5.2
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: Watir extension which provides with method to check for DOM changes.
|