playwright-ruby-client 1.42.0 → 1.42.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/documentation/docusaurus.config.js +6 -0
- data/documentation/package.json +2 -2
- data/documentation/yarn.lock +1732 -1815
- data/lib/playwright/version.rb +2 -2
- data/lib/playwright/waiter.rb +4 -6
- metadata +3 -3
data/lib/playwright/version.rb
CHANGED
data/lib/playwright/waiter.rb
CHANGED
@@ -81,19 +81,17 @@ module Playwright
|
|
81
81
|
|
82
82
|
private def fulfill(result)
|
83
83
|
cleanup
|
84
|
-
|
85
|
-
|
86
|
-
end
|
84
|
+
return if @result.resolved?
|
85
|
+
@result.fulfill(result)
|
87
86
|
wait_for_event_info_after
|
88
87
|
end
|
89
88
|
|
90
89
|
private def reject(error)
|
91
90
|
cleanup
|
91
|
+
return if @result.resolved?
|
92
92
|
klass = error.is_a?(TimeoutError) ? TimeoutError : Error
|
93
93
|
ex = klass.new(message: "#{error.message}#{format_log_recording(@logs)}")
|
94
|
-
|
95
|
-
@result.reject(ex)
|
96
|
-
end
|
94
|
+
@result.reject(ex)
|
97
95
|
wait_for_event_info_after(error: ex)
|
98
96
|
end
|
99
97
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playwright-ruby-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.42.
|
4
|
+
version: 1.42.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YusukeIwaki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -407,5 +407,5 @@ requirements: []
|
|
407
407
|
rubygems_version: 3.3.26
|
408
408
|
signing_key:
|
409
409
|
specification_version: 4
|
410
|
-
summary: The Ruby binding of playwright driver 1.42.
|
410
|
+
summary: The Ruby binding of playwright driver 1.42.1
|
411
411
|
test_files: []
|