playwright-ruby-client 1.54.1 → 1.55.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6503261c50eaabe9ee7f02dfd5762e7e8bc26c472e3aeb2a0ba715036b97819e
|
4
|
+
data.tar.gz: 3474c967a82b5eabe36b445ccf4132585847b11932c0b08d0429148172584eac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1ffd17d14ed76ce2cdda0350fddc987e2420e447d15c0c4defd315b91790886a53bcb5536829c05e10b6c9583e1aca806cd0b0262607e66316182de66ad343d
|
7
|
+
data.tar.gz: 66631908582bf6017ef4fae6e0444e4219df00f0c735eb76c5fc357f19b50dabbd74230d4214d3b09c9d1f8dced7f9a2ab4c1e28275fd558cbbe9c280175ff32
|
@@ -1036,7 +1036,7 @@ def pause
|
|
1036
1036
|
```
|
1037
1037
|
|
1038
1038
|
|
1039
|
-
Pauses script execution. Playwright will stop executing the script and wait for the user to either press 'Resume'
|
1039
|
+
Pauses script execution. Playwright will stop executing the script and wait for the user to either press the 'Resume'
|
1040
1040
|
button in the page overlay or to call `playwright.resume()` in the DevTools console.
|
1041
1041
|
|
1042
1042
|
User can inspect selectors or perform manual steps while paused. Resume will continue running the original script from
|
@@ -882,8 +882,8 @@ module Playwright
|
|
882
882
|
@video ||= Video.new(self)
|
883
883
|
end
|
884
884
|
|
885
|
-
def snapshot_for_ai
|
886
|
-
@channel.send_message_to_server('snapshotForAI')
|
885
|
+
def snapshot_for_ai(timeout: nil)
|
886
|
+
@channel.send_message_to_server('snapshotForAI', timeout: @timeout_settings.timeout(timeout))
|
887
887
|
end
|
888
888
|
|
889
889
|
def start_js_coverage(resetOnNavigation: nil, reportAnonymousScripts: nil)
|
@@ -334,8 +334,8 @@ module Playwright
|
|
334
334
|
@frame.get_attribute(@selector, name, strict: true, timeout: timeout)
|
335
335
|
end
|
336
336
|
|
337
|
-
def
|
338
|
-
@frame.channel.send_message_to_server('
|
337
|
+
def resolve_selector
|
338
|
+
@frame.channel.send_message_to_server('resolveSelector', { selector: @selector })
|
339
339
|
end
|
340
340
|
|
341
341
|
def hover(
|
data/lib/playwright/version.rb
CHANGED
data/lib/playwright_api/page.rb
CHANGED
@@ -949,7 +949,7 @@ module Playwright
|
|
949
949
|
end
|
950
950
|
|
951
951
|
#
|
952
|
-
# Pauses script execution. Playwright will stop executing the script and wait for the user to either press 'Resume'
|
952
|
+
# Pauses script execution. Playwright will stop executing the script and wait for the user to either press the 'Resume'
|
953
953
|
# button in the page overlay or to call `playwright.resume()` in the DevTools console.
|
954
954
|
#
|
955
955
|
# User can inspect selectors or perform manual steps while paused. Resume will continue running the original script from
|
@@ -1799,8 +1799,8 @@ module Playwright
|
|
1799
1799
|
end
|
1800
1800
|
|
1801
1801
|
# @nodoc
|
1802
|
-
def snapshot_for_ai
|
1803
|
-
wrap_impl(@impl.snapshot_for_ai)
|
1802
|
+
def snapshot_for_ai(timeout: nil)
|
1803
|
+
wrap_impl(@impl.snapshot_for_ai(timeout: unwrap_impl(timeout)))
|
1804
1804
|
end
|
1805
1805
|
|
1806
1806
|
# @nodoc
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playwright-ruby-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YusukeIwaki
|
@@ -409,5 +409,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
409
409
|
requirements: []
|
410
410
|
rubygems_version: 3.6.9
|
411
411
|
specification_version: 4
|
412
|
-
summary: The Ruby binding of playwright driver 1.
|
412
|
+
summary: The Ruby binding of playwright driver 1.55.0
|
413
413
|
test_files: []
|