playwright-ruby-client 1.41.beta1 → 1.41.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed3850992222f0ca034bfb21929941320408b44967cf2a6670f59697f773918f
4
- data.tar.gz: 9e9137831c4e1cc10929809bd2d5f477df3c8d0e5ffdbd1f050cb697a655aa00
3
+ metadata.gz: e2397db1ea0d9671da0a957aa29d77650584430297826843c9648c49f734d4b4
4
+ data.tar.gz: e42e6b9b65def3ea385f85b68737d745baa4f4572c407dfdb1b913a1cb7a7f19
5
5
  SHA512:
6
- metadata.gz: f38e9f6ab657a84cffa1d7ef20282dcc68bb2b99a142788455a1824f575f1c1ac858b0a8b3d4570f43e7df5e07c0fc965a1951afef3c419d6b4507169fcf802f
7
- data.tar.gz: b2624ca693431803afe83cb77c9dbe83d9d96c30618e4c827666737210db5c296ed0b4e10abe131c3fdf1ed9f7ca166eca158d0569f6b68be74c94007f06f470
6
+ metadata.gz: df29b9608775156c8d445377b26346e354c1c2f917df0b36958f65ed353a1fb98aae5db4b5090d2af2f3fe9f2d0087cc39da4c85639f88cad669a21d0d61986d
7
+ data.tar.gz: 59237bdaca06fcefd34e9d4809d3a06257fd3353acef68a7132cc6c10761f2c659938023e0e87c442a380e79354df21eb1f368c6a52542da7f80dc6169d6130b
@@ -655,7 +655,7 @@ Returns when the element satisfies the `state`.
655
655
  Depending on the `state` parameter, this method waits for one of the [actionability](https://playwright.dev/python/docs/actionability) checks
656
656
  to pass. This method throws when the element is detached while waiting, unless waiting for the `"hidden"` state.
657
657
  - `"visible"` Wait until the element is [visible](https://playwright.dev/python/docs/actionability#visible).
658
- - `"hidden"` Wait until the element is [not visible](https://playwright.dev/python/docs/actionability#visible) or [not attached](https://playwright.dev/python/docs/actionability#attached). Note that waiting for hidden does not throw when the element detaches.
658
+ - `"hidden"` Wait until the element is [not visible](https://playwright.dev/python/docs/actionability#visible) or not attached. Note that waiting for hidden does not throw when the element detaches.
659
659
  - `"stable"` Wait until the element is both [visible](https://playwright.dev/python/docs/actionability#visible) and [stable](https://playwright.dev/python/docs/actionability#stable).
660
660
  - `"enabled"` Wait until the element is [enabled](https://playwright.dev/python/docs/actionability#enabled).
661
661
  - `"disabled"` Wait until the element is [not enabled](https://playwright.dev/python/docs/actionability#enabled).
@@ -213,7 +213,7 @@ expect(locator).to be_attached(attached: nil, timeout: nil)
213
213
  ```
214
214
 
215
215
 
216
- Ensures that [Locator](./locator) points to an [attached](https://playwright.dev/python/docs/actionability#attached) DOM node.
216
+ Ensures that [Locator](./locator) points to an element that is [connected](https://developer.mozilla.org/en-US/docs/Web/API/Node/isConnected) to a Document or a ShadowRoot.
217
217
 
218
218
  **Usage**
219
219
 
@@ -372,7 +372,7 @@ expect(locator).to be_visible(timeout: nil, visible: nil)
372
372
  ```
373
373
 
374
374
 
375
- Ensures that [Locator](./locator) points to an [attached](https://playwright.dev/python/docs/actionability#attached) and [visible](https://playwright.dev/python/docs/actionability#visible) DOM node.
375
+ Ensures that [Locator](./locator) points to an attached and [visible](https://playwright.dev/python/docs/actionability#visible) DOM node.
376
376
 
377
377
  To check that at least one element from the list is visible, use [Locator#first](./locator#first).
378
378
 
@@ -398,7 +398,7 @@ expect(locator).to contain_text(expected, ignoreCase: nil, timeout: nil, useInne
398
398
  ```
399
399
 
400
400
 
401
- Ensures the [Locator](./locator) points to an element that contains the given text. You can use regular expressions for the value as well.
401
+ Ensures the [Locator](./locator) points to an element that contains the given text. All nested elements will be considered when computing the text content of the element. You can use regular expressions for the value as well.
402
402
 
403
403
  **Details**
404
404
 
@@ -562,7 +562,7 @@ expect(locator).to have_text(expected, ignoreCase: nil, timeout: nil, useInnerTe
562
562
  ```
563
563
 
564
564
 
565
- Ensures the [Locator](./locator) points to an element with the given text. You can use regular expressions for the value as well.
565
+ Ensures the [Locator](./locator) points to an element with the given text. All nested elements will be considered when computing the text content of the element. You can use regular expressions for the value as well.
566
566
 
567
567
  **Details**
568
568
 
@@ -80,7 +80,9 @@ module Playwright
80
80
  @callbacks[id] = callback
81
81
 
82
82
  _metadata = {}
83
+ frames = []
83
84
  if metadata
85
+ frames = metadata[:stack]
84
86
  _metadata[:wallTime] = metadata[:wallTime]
85
87
  _metadata[:apiName] = metadata[:apiName]
86
88
  _metadata[:location] = metadata[:stack].first
@@ -104,8 +106,8 @@ module Playwright
104
106
  raise unless err.is_a?(Transport::AlreadyDisconnectedError)
105
107
  end
106
108
 
107
- if @tracing_count > 0 && !metadata[:stack].empty? && guid != 'localUtils'
108
- @local_utils.add_stack_to_tracing_no_reply(id, metadata[:stack])
109
+ if @tracing_count > 0 && !frames.empty? && guid != 'localUtils'
110
+ @local_utils.add_stack_to_tracing_no_reply(id, frames)
109
111
  end
110
112
  end
111
113
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playwright
4
- VERSION = '1.41.beta1'
5
- COMPATIBLE_PLAYWRIGHT_VERSION = '1.41.0-alpha-dec-24-2023'
4
+ VERSION = '1.41.1'
5
+ COMPATIBLE_PLAYWRIGHT_VERSION = '1.41.2'
6
6
  end
@@ -539,7 +539,7 @@ module Playwright
539
539
  # Depending on the `state` parameter, this method waits for one of the [actionability](../actionability.md) checks
540
540
  # to pass. This method throws when the element is detached while waiting, unless waiting for the `"hidden"` state.
541
541
  # - `"visible"` Wait until the element is [visible](../actionability.md#visible).
542
- # - `"hidden"` Wait until the element is [not visible](../actionability.md#visible) or [not attached](../actionability.md#attached). Note that waiting for hidden does not throw when the element detaches.
542
+ # - `"hidden"` Wait until the element is [not visible](../actionability.md#visible) or not attached. Note that waiting for hidden does not throw when the element detaches.
543
543
  # - `"stable"` Wait until the element is both [visible](../actionability.md#visible) and [stable](../actionability.md#stable).
544
544
  # - `"enabled"` Wait until the element is [enabled](../actionability.md#enabled).
545
545
  # - `"disabled"` Wait until the element is [not enabled](../actionability.md#enabled).
@@ -133,7 +133,7 @@ module Playwright
133
133
  end
134
134
 
135
135
  #
136
- # Ensures that `Locator` points to an [attached](../actionability.md#attached) DOM node.
136
+ # Ensures that `Locator` points to an element that is [connected](https://developer.mozilla.org/en-US/docs/Web/API/Node/isConnected) to a Document or a ShadowRoot.
137
137
  #
138
138
  # **Usage**
139
139
  #
@@ -274,7 +274,7 @@ module Playwright
274
274
  end
275
275
 
276
276
  #
277
- # Ensures that `Locator` points to an [attached](../actionability.md#attached) and [visible](../actionability.md#visible) DOM node.
277
+ # Ensures that `Locator` points to an attached and [visible](../actionability.md#visible) DOM node.
278
278
  #
279
279
  # To check that at least one element from the list is visible, use [`method: Locator.first`].
280
280
  #
@@ -299,7 +299,7 @@ module Playwright
299
299
  end
300
300
 
301
301
  #
302
- # Ensures the `Locator` points to an element that contains the given text. You can use regular expressions for the value as well.
302
+ # Ensures the `Locator` points to an element that contains the given text. All nested elements will be considered when computing the text content of the element. You can use regular expressions for the value as well.
303
303
  #
304
304
  # **Details**
305
305
  #
@@ -461,7 +461,7 @@ module Playwright
461
461
  end
462
462
 
463
463
  #
464
- # Ensures the `Locator` points to an element with the given text. You can use regular expressions for the value as well.
464
+ # Ensures the `Locator` points to an element with the given text. All nested elements will be considered when computing the text content of the element. You can use regular expressions for the value as well.
465
465
  #
466
466
  # **Details**
467
467
  #
data/playwright.gemspec CHANGED
@@ -33,9 +33,9 @@ Gem::Specification.new do |spec|
33
33
  spec.add_development_dependency 'faye-websocket'
34
34
  spec.add_development_dependency 'pry-byebug'
35
35
  spec.add_development_dependency 'puma'
36
- spec.add_development_dependency 'rake', '~> 13.0.3'
37
- spec.add_development_dependency 'rspec', '~> 3.10.0 '
38
- spec.add_development_dependency 'rspec_junit_formatter' # for CircleCI.
36
+ spec.add_development_dependency 'rack', '< 3'
37
+ spec.add_development_dependency 'rake'
38
+ spec.add_development_dependency 'rspec'
39
39
  spec.add_development_dependency 'rubocop-rspec'
40
40
  spec.add_development_dependency 'sinatra'
41
41
  end
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.41.beta1
4
+ version: 1.41.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - YusukeIwaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-24 00:00:00.000000000 Z
11
+ date: 2024-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -123,35 +123,35 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: rake
126
+ name: rack
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - "<"
130
130
  - !ruby/object:Gem::Version
131
- version: 13.0.3
131
+ version: '3'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - "<"
137
137
  - !ruby/object:Gem::Version
138
- version: 13.0.3
138
+ version: '3'
139
139
  - !ruby/object:Gem::Dependency
140
- name: rspec
140
+ name: rake
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: 3.10.0
145
+ version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "~>"
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: 3.10.0
152
+ version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: rspec_junit_formatter
154
+ name: rspec
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
@@ -399,12 +399,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
399
399
  version: '2.4'
400
400
  required_rubygems_version: !ruby/object:Gem::Requirement
401
401
  requirements:
402
- - - ">"
402
+ - - ">="
403
403
  - !ruby/object:Gem::Version
404
- version: 1.3.1
404
+ version: '0'
405
405
  requirements: []
406
406
  rubygems_version: 3.3.26
407
407
  signing_key:
408
408
  specification_version: 4
409
- summary: The Ruby binding of playwright driver 1.41.0-alpha-dec-24-2023
409
+ summary: The Ruby binding of playwright driver 1.41.2
410
410
  test_files: []