capybara-lockstep 2.4.0 → 2.4.1
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/CHANGELOG.md +7 -0
- data/Gemfile.lock +4 -6
- data/lib/capybara-lockstep/client/cuprite.rb +10 -0
- data/lib/capybara-lockstep/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e0f89f35da1b1e2cd222c5696338d3566015bb5d93182a83332ade90d1a7f9ee
|
|
4
|
+
data.tar.gz: f663ef9803afd93e72221f47f4db3cb0095e0e25ad9a3847375af143279155b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4596e5553febbf239b5d843ab91041dda5ea2d74357e5915df44263f9b24cd0c0833bea023e104fcddd747314e1565773acfc5d78657b66a2cd2cd73ce492e35
|
|
7
|
+
data.tar.gz: 4aba35f369b87ed4d96e80fbe8390e9396f27bdb01b196ac8349207b230a27ce855567fb0281a8fc6e6aec91ef794f7cded7d5338c8748f7cc1ac49c4d63c43f
|
data/CHANGELOG.md
CHANGED
|
@@ -13,6 +13,13 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
|
13
13
|
-
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
# 2.4.1 - 2026-11-20
|
|
17
|
+
|
|
18
|
+
## Compatible changes
|
|
19
|
+
|
|
20
|
+
- Fix a test failure with Cuprite and Ferrum 0.20+ when the page navigates away while capybara-lockstep synchronizes. `Ferrum::NoExecutionContextError`, and `Ferrum::NodeNotFoundError` with the message `Inspected target navigated or closed`, are now treated as a "navigated away" event.
|
|
21
|
+
|
|
22
|
+
|
|
16
23
|
# 2.4.0 - 2026-10-15
|
|
17
24
|
|
|
18
25
|
## Compatible changes
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
capybara-lockstep (2.4.
|
|
4
|
+
capybara-lockstep (2.4.1)
|
|
5
5
|
activesupport (>= 7.0)
|
|
6
6
|
capybara (>= 3.0)
|
|
7
7
|
|
|
@@ -39,18 +39,17 @@ GEM
|
|
|
39
39
|
childprocess (4.1.0)
|
|
40
40
|
concurrent-ruby (1.3.6)
|
|
41
41
|
connection_pool (3.0.2)
|
|
42
|
-
cuprite (0.
|
|
42
|
+
cuprite (0.20.1)
|
|
43
43
|
capybara (~> 3.0)
|
|
44
|
-
ferrum (~> 0.
|
|
44
|
+
ferrum (~> 0.20.1)
|
|
45
45
|
daemons (1.4.1)
|
|
46
46
|
diff-lcs (1.5.1)
|
|
47
47
|
drb (2.2.3)
|
|
48
48
|
eventmachine (1.2.7)
|
|
49
|
-
ferrum (0.
|
|
49
|
+
ferrum (0.20.1)
|
|
50
50
|
addressable (~> 2.5)
|
|
51
51
|
base64 (~> 0.2)
|
|
52
52
|
concurrent-ruby (~> 1.1)
|
|
53
|
-
webrick (~> 1.7)
|
|
54
53
|
websocket-driver (~> 0.7)
|
|
55
54
|
gemika (2.0.0)
|
|
56
55
|
i18n (1.14.8)
|
|
@@ -117,7 +116,6 @@ GEM
|
|
|
117
116
|
tzinfo (2.0.6)
|
|
118
117
|
concurrent-ruby (~> 1.0)
|
|
119
118
|
uri (1.1.1)
|
|
120
|
-
webrick (1.9.1)
|
|
121
119
|
websocket-driver (0.8.0)
|
|
122
120
|
base64
|
|
123
121
|
websocket-extensions (>= 0.1.0)
|
|
@@ -22,6 +22,16 @@ module Capybara
|
|
|
22
22
|
unhandled_synchronize_error(e)
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
+
rescue ::Ferrum::NoExecutionContextError
|
|
26
|
+
log ERROR_NAVIGATED_AWAY
|
|
27
|
+
|
|
28
|
+
rescue ::Ferrum::NodeNotFoundError => e
|
|
29
|
+
if e.message.include?('Inspected target navigated or closed')
|
|
30
|
+
log ERROR_NAVIGATED_AWAY
|
|
31
|
+
else
|
|
32
|
+
unhandled_synchronize_error(e)
|
|
33
|
+
end
|
|
34
|
+
|
|
25
35
|
rescue ::Ferrum::BrowserError => e
|
|
26
36
|
if e.message.include?('Session with given id not found.')
|
|
27
37
|
log ERROR_WINDOW_CLOSED
|