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 +4 -4
- data/documentation/docs/api/element_handle.md +1 -1
- data/documentation/docs/api/locator_assertions.md +4 -4
- data/lib/playwright/connection.rb +4 -2
- data/lib/playwright/version.rb +2 -2
- data/lib/playwright_api/element_handle.rb +1 -1
- data/lib/playwright_api/locator_assertions.rb +4 -4
- data/playwright.gemspec +3 -3
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2397db1ea0d9671da0a957aa29d77650584430297826843c9648c49f734d4b4
|
4
|
+
data.tar.gz: e42e6b9b65def3ea385f85b68737d745baa4f4572c407dfdb1b913a1cb7a7f19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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 [
|
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
|
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 && !
|
108
|
-
@local_utils.add_stack_to_tracing_no_reply(id,
|
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
|
|
data/lib/playwright/version.rb
CHANGED
@@ -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
|
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 [
|
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
|
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 '
|
37
|
-
spec.add_development_dependency '
|
38
|
-
spec.add_development_dependency '
|
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.
|
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:
|
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:
|
126
|
+
name: rack
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - "<"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
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:
|
138
|
+
version: '3'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: rake
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
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:
|
152
|
+
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
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:
|
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.
|
409
|
+
summary: The Ruby binding of playwright driver 1.41.2
|
410
410
|
test_files: []
|