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: 292b93df8ac7c9ea103673f017935907d53ea53a6e84b66d13723cb41c6c7fd9
4
- data.tar.gz: b1d0d3325715881e7ae2ffc9fe04f32e8379189de794a498a041e36d1594ecaf
3
+ metadata.gz: 6503261c50eaabe9ee7f02dfd5762e7e8bc26c472e3aeb2a0ba715036b97819e
4
+ data.tar.gz: 3474c967a82b5eabe36b445ccf4132585847b11932c0b08d0429148172584eac
5
5
  SHA512:
6
- metadata.gz: 4bd08ce76baa61e7dc6b3aa724f20cc3d05ff576ab1b42cc93fed1c0a38c3fb205f8fd90530c95dd5349bcd650688104a34d1e79023b40fd1241d6b8c6f8c5d1
7
- data.tar.gz: 63d9a00c126ed1fee420e530173b30970f7854522adc15f00e52aaa4049015b2461bd5512210e966ab0178ef18af19ce63de648a3bef88b668ff0cc39330680d
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 generate_locator_string
338
- @frame.channel.send_message_to_server('generateLocatorString', { selector: @selector })
337
+ def resolve_selector
338
+ @frame.channel.send_message_to_server('resolveSelector', { selector: @selector })
339
339
  end
340
340
 
341
341
  def hover(
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playwright
4
- VERSION = '1.54.1'
5
- COMPATIBLE_PLAYWRIGHT_VERSION = '1.54.1'
4
+ VERSION = '1.55.0'
5
+ COMPATIBLE_PLAYWRIGHT_VERSION = '1.55.0'
6
6
  end
@@ -1273,8 +1273,8 @@ module Playwright
1273
1273
  end
1274
1274
 
1275
1275
  # @nodoc
1276
- def generate_locator_string
1277
- wrap_impl(@impl.generate_locator_string)
1276
+ def resolve_selector
1277
+ wrap_impl(@impl.resolve_selector)
1278
1278
  end
1279
1279
 
1280
1280
  # @nodoc
@@ -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.54.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.54.1
412
+ summary: The Ruby binding of playwright driver 1.55.0
413
413
  test_files: []