playwright-ruby-client 0.5.2 → 0.5.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81be247e4fe8a3bf351cf8ead156c490657547f89a1ae5f8a1536ad72a1c30e4
|
4
|
+
data.tar.gz: '0398932fd2d3eae453668624bad5271990bc426168caa56e71be773e87e9504a'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b77d93002b1395839dc4f9cf2c62bb40e9abaca0008aaf2a52c83498b811018782144686c7a83acdc8ae2b9bc3287b21e2808fcb996d6b270deb7fdf04c2dddb
|
7
|
+
data.tar.gz: 72c787d2dc63a2b78e09ae5660d1774a390e65ceb322529807965a0da95f27ca5f6ffd23dbcf1b81fb8ac4bb44f17ac58e508075c5cae959b1d1e233ed7c09e1
|
@@ -230,10 +230,11 @@ module Playwright
|
|
230
230
|
nil
|
231
231
|
end
|
232
232
|
|
233
|
-
def check(force: nil, noWaitAfter: nil, timeout: nil)
|
233
|
+
def check(force: nil, noWaitAfter: nil, position: nil, timeout: nil)
|
234
234
|
params = {
|
235
235
|
force: force,
|
236
236
|
noWaitAfter: noWaitAfter,
|
237
|
+
position: position,
|
237
238
|
timeout: timeout,
|
238
239
|
}.compact
|
239
240
|
@channel.send_message_to_server('check', params)
|
@@ -241,10 +242,11 @@ module Playwright
|
|
241
242
|
nil
|
242
243
|
end
|
243
244
|
|
244
|
-
def uncheck(force: nil, noWaitAfter: nil, timeout: nil)
|
245
|
+
def uncheck(force: nil, noWaitAfter: nil, position: nil, timeout: nil)
|
245
246
|
params = {
|
246
247
|
force: force,
|
247
248
|
noWaitAfter: noWaitAfter,
|
249
|
+
position: position,
|
248
250
|
timeout: timeout,
|
249
251
|
}.compact
|
250
252
|
@channel.send_message_to_server('uncheck', params)
|
@@ -124,7 +124,9 @@ module Playwright
|
|
124
124
|
end
|
125
125
|
|
126
126
|
private def unwrap_impl(object)
|
127
|
-
if object.is_a?(
|
127
|
+
if object.is_a?(Array)
|
128
|
+
object.map { |obj| unwrap_impl(obj) }
|
129
|
+
elsif object.is_a?(PlaywrightApi)
|
128
130
|
object.instance_variable_get(:@impl)
|
129
131
|
else
|
130
132
|
object
|
data/lib/playwright/transport.rb
CHANGED
data/lib/playwright/version.rb
CHANGED
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: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YusukeIwaki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|