playwright-ruby-client 1.41.beta1 → 1.41.0
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/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 -4
- metadata +13 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d56d51c5d7599c6d3966b1b8d7cd460971460900a0000feb172d6babcd5905d9
|
4
|
+
data.tar.gz: 18de89189e726cd187c7fb542c20d673a37f93cdae9e6b5cba60ffee95c610b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30acf5bf85be0cf16d94e20ce57a1b94567388188ee07ace9a46f3a92000c858316505f211738ed1349c753c229bc3011bbe262363a53cb8756df3c7ff0fd2e0
|
7
|
+
data.tar.gz: 780c57175041d1bd30ea366a1ea560c43d6d15c740ce925489a3ca904a9811d44efc3428124d03f0366e215cf9b827889814f15b1672d56214d02b3604436420
|
@@ -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
|
|
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,8 @@ 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'
|
37
|
-
spec.add_development_dependency 'rspec'
|
38
|
-
spec.add_development_dependency 'rspec_junit_formatter' # for CircleCI.
|
36
|
+
spec.add_development_dependency 'rake'
|
37
|
+
spec.add_development_dependency 'rspec'
|
39
38
|
spec.add_development_dependency 'rubocop-rspec'
|
40
|
-
spec.add_development_dependency 'sinatra'
|
39
|
+
spec.add_development_dependency 'sinatra', '3.2.0'
|
41
40
|
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.0
|
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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -126,32 +126,18 @@ dependencies:
|
|
126
126
|
name: rake
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: '0'
|
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: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rspec
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 3.10.0
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 3.10.0
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rspec_junit_formatter
|
155
141
|
requirement: !ruby/object:Gem::Requirement
|
156
142
|
requirements:
|
157
143
|
- - ">="
|
@@ -182,16 +168,16 @@ dependencies:
|
|
182
168
|
name: sinatra
|
183
169
|
requirement: !ruby/object:Gem::Requirement
|
184
170
|
requirements:
|
185
|
-
- -
|
171
|
+
- - '='
|
186
172
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
173
|
+
version: 3.2.0
|
188
174
|
type: :development
|
189
175
|
prerelease: false
|
190
176
|
version_requirements: !ruby/object:Gem::Requirement
|
191
177
|
requirements:
|
192
|
-
- -
|
178
|
+
- - '='
|
193
179
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
180
|
+
version: 3.2.0
|
195
181
|
description:
|
196
182
|
email:
|
197
183
|
- q7w8e9w8q7w8e9@yahoo.co.jp
|
@@ -399,12 +385,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
399
385
|
version: '2.4'
|
400
386
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
401
387
|
requirements:
|
402
|
-
- - "
|
388
|
+
- - ">="
|
403
389
|
- !ruby/object:Gem::Version
|
404
|
-
version:
|
390
|
+
version: '0'
|
405
391
|
requirements: []
|
406
392
|
rubygems_version: 3.3.26
|
407
393
|
signing_key:
|
408
394
|
specification_version: 4
|
409
|
-
summary: The Ruby binding of playwright driver 1.41.
|
395
|
+
summary: The Ruby binding of playwright driver 1.41.2
|
410
396
|
test_files: []
|