playwright-ruby-client 1.43.0 → 1.43.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: e22c38ec1a50889adfbb6664dcb445db3635bcfd3d0240113f5b7250f5a16f91
4
- data.tar.gz: 74f4b27cbc4d4e0b903c46621fa7dea13249d97b17bd780436fd5635d90f3e83
3
+ metadata.gz: 28e058238a428979c1a84b8fd1109d37cd0aa79669ba3a0695bd374b1e0c8776
4
+ data.tar.gz: 4255f868bdd795dd1a8f84b9348f97d4d01e0a8fbd8f45ae51b366d868673a29
5
5
  SHA512:
6
- metadata.gz: f4201f5fa8a9353daecb78860b4a142a477c64b9634560b262faaea2c53491c0b5909ec3ada0e6ece917de08a91390b479a0aca34e7d607c0c14e9cf0999579a
7
- data.tar.gz: 63968771197cee749d2780fa3f822f9e154088c0ea53062b86dda770f05704344a3f1f5dd696387d419252c2d1466a83e1ffbf8810ee25f069cf48c5662804ad
6
+ metadata.gz: ad65fdc5ca36488f277ab184baf0cf5dca2de67c873de126a0153210d10fce83ff48a8d9ebc6b5fe7aeefc05158cbe0d9661fa9ee57d25c6688dc87f3023f715
7
+ data.tar.gz: 9a3c7087cc9fd12f75bcbfe66fefe4a5a470b96aef03f596e84f36dc94ec1a738cac7aa7466cb71bfe4047e88c185e2e0fd7a9a9f638b9319cb6231adca900b0
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playwright
4
- VERSION = '1.43.0'
4
+ VERSION = '1.43.1'
5
5
  COMPATIBLE_PLAYWRIGHT_VERSION = '1.43.1'
6
6
  end
@@ -40,20 +40,20 @@ module Playwright
40
40
 
41
41
  # -- inherited from EventEmitter --
42
42
  # @nodoc
43
- def on(event, callback)
44
- event_emitter_proxy.on(event, callback)
43
+ def once(event, callback)
44
+ event_emitter_proxy.once(event, callback)
45
45
  end
46
46
 
47
47
  # -- inherited from EventEmitter --
48
48
  # @nodoc
49
- def off(event, callback)
50
- event_emitter_proxy.off(event, callback)
49
+ def on(event, callback)
50
+ event_emitter_proxy.on(event, callback)
51
51
  end
52
52
 
53
53
  # -- inherited from EventEmitter --
54
54
  # @nodoc
55
- def once(event, callback)
56
- event_emitter_proxy.once(event, callback)
55
+ def off(event, callback)
56
+ event_emitter_proxy.off(event, callback)
57
57
  end
58
58
 
59
59
  private def event_emitter_proxy
@@ -205,20 +205,20 @@ module Playwright
205
205
 
206
206
  # -- inherited from EventEmitter --
207
207
  # @nodoc
208
- def on(event, callback)
209
- event_emitter_proxy.on(event, callback)
208
+ def once(event, callback)
209
+ event_emitter_proxy.once(event, callback)
210
210
  end
211
211
 
212
212
  # -- inherited from EventEmitter --
213
213
  # @nodoc
214
- def off(event, callback)
215
- event_emitter_proxy.off(event, callback)
214
+ def on(event, callback)
215
+ event_emitter_proxy.on(event, callback)
216
216
  end
217
217
 
218
218
  # -- inherited from EventEmitter --
219
219
  # @nodoc
220
- def once(event, callback)
221
- event_emitter_proxy.once(event, callback)
220
+ def off(event, callback)
221
+ event_emitter_proxy.off(event, callback)
222
222
  end
223
223
 
224
224
  private def event_emitter_proxy
@@ -280,20 +280,20 @@ module Playwright
280
280
 
281
281
  # -- inherited from EventEmitter --
282
282
  # @nodoc
283
- def on(event, callback)
284
- event_emitter_proxy.on(event, callback)
283
+ def once(event, callback)
284
+ event_emitter_proxy.once(event, callback)
285
285
  end
286
286
 
287
287
  # -- inherited from EventEmitter --
288
288
  # @nodoc
289
- def off(event, callback)
290
- event_emitter_proxy.off(event, callback)
289
+ def on(event, callback)
290
+ event_emitter_proxy.on(event, callback)
291
291
  end
292
292
 
293
293
  # -- inherited from EventEmitter --
294
294
  # @nodoc
295
- def once(event, callback)
296
- event_emitter_proxy.once(event, callback)
295
+ def off(event, callback)
296
+ event_emitter_proxy.off(event, callback)
297
297
  end
298
298
 
299
299
  private def event_emitter_proxy
@@ -202,20 +202,20 @@ module Playwright
202
202
 
203
203
  # -- inherited from EventEmitter --
204
204
  # @nodoc
205
- def on(event, callback)
206
- event_emitter_proxy.on(event, callback)
205
+ def once(event, callback)
206
+ event_emitter_proxy.once(event, callback)
207
207
  end
208
208
 
209
209
  # -- inherited from EventEmitter --
210
210
  # @nodoc
211
- def off(event, callback)
212
- event_emitter_proxy.off(event, callback)
211
+ def on(event, callback)
212
+ event_emitter_proxy.on(event, callback)
213
213
  end
214
214
 
215
215
  # -- inherited from EventEmitter --
216
216
  # @nodoc
217
- def once(event, callback)
218
- event_emitter_proxy.once(event, callback)
217
+ def off(event, callback)
218
+ event_emitter_proxy.off(event, callback)
219
219
  end
220
220
 
221
221
  private def event_emitter_proxy
@@ -448,14 +448,19 @@ module Playwright
448
448
  raise NotImplementedError.new('wait_for_event is not implemented yet.')
449
449
  end
450
450
 
451
+ # @nodoc
452
+ def pause
453
+ wrap_impl(@impl.pause)
454
+ end
455
+
451
456
  # @nodoc
452
457
  def owner_page=(req)
453
458
  wrap_impl(@impl.owner_page=(unwrap_impl(req)))
454
459
  end
455
460
 
456
461
  # @nodoc
457
- def pause
458
- wrap_impl(@impl.pause)
462
+ def enable_debug_console!
463
+ wrap_impl(@impl.enable_debug_console!)
459
464
  end
460
465
 
461
466
  # @nodoc
@@ -464,13 +469,14 @@ module Playwright
464
469
  end
465
470
 
466
471
  # @nodoc
467
- def enable_debug_console!
468
- wrap_impl(@impl.enable_debug_console!)
472
+ def browser=(req)
473
+ wrap_impl(@impl.browser=(unwrap_impl(req)))
469
474
  end
470
475
 
476
+ # -- inherited from EventEmitter --
471
477
  # @nodoc
472
- def browser=(req)
473
- wrap_impl(@impl.browser=(unwrap_impl(req)))
478
+ def once(event, callback)
479
+ event_emitter_proxy.once(event, callback)
474
480
  end
475
481
 
476
482
  # -- inherited from EventEmitter --
@@ -485,12 +491,6 @@ module Playwright
485
491
  event_emitter_proxy.off(event, callback)
486
492
  end
487
493
 
488
- # -- inherited from EventEmitter --
489
- # @nodoc
490
- def once(event, callback)
491
- event_emitter_proxy.once(event, callback)
492
- end
493
-
494
494
  private def event_emitter_proxy
495
495
  @event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
496
496
  end
@@ -176,20 +176,20 @@ module Playwright
176
176
 
177
177
  # -- inherited from EventEmitter --
178
178
  # @nodoc
179
- def on(event, callback)
180
- event_emitter_proxy.on(event, callback)
179
+ def once(event, callback)
180
+ event_emitter_proxy.once(event, callback)
181
181
  end
182
182
 
183
183
  # -- inherited from EventEmitter --
184
184
  # @nodoc
185
- def off(event, callback)
186
- event_emitter_proxy.off(event, callback)
185
+ def on(event, callback)
186
+ event_emitter_proxy.on(event, callback)
187
187
  end
188
188
 
189
189
  # -- inherited from EventEmitter --
190
190
  # @nodoc
191
- def once(event, callback)
192
- event_emitter_proxy.once(event, callback)
191
+ def off(event, callback)
192
+ event_emitter_proxy.off(event, callback)
193
193
  end
194
194
 
195
195
  private def event_emitter_proxy
@@ -34,20 +34,20 @@ module Playwright
34
34
 
35
35
  # -- inherited from EventEmitter --
36
36
  # @nodoc
37
- def on(event, callback)
38
- event_emitter_proxy.on(event, callback)
37
+ def once(event, callback)
38
+ event_emitter_proxy.once(event, callback)
39
39
  end
40
40
 
41
41
  # -- inherited from EventEmitter --
42
42
  # @nodoc
43
- def off(event, callback)
44
- event_emitter_proxy.off(event, callback)
43
+ def on(event, callback)
44
+ event_emitter_proxy.on(event, callback)
45
45
  end
46
46
 
47
47
  # -- inherited from EventEmitter --
48
48
  # @nodoc
49
- def once(event, callback)
50
- event_emitter_proxy.once(event, callback)
49
+ def off(event, callback)
50
+ event_emitter_proxy.off(event, callback)
51
51
  end
52
52
 
53
53
  private def event_emitter_proxy
@@ -70,20 +70,20 @@ module Playwright
70
70
 
71
71
  # -- inherited from EventEmitter --
72
72
  # @nodoc
73
- def on(event, callback)
74
- event_emitter_proxy.on(event, callback)
73
+ def once(event, callback)
74
+ event_emitter_proxy.once(event, callback)
75
75
  end
76
76
 
77
77
  # -- inherited from EventEmitter --
78
78
  # @nodoc
79
- def off(event, callback)
80
- event_emitter_proxy.off(event, callback)
79
+ def on(event, callback)
80
+ event_emitter_proxy.on(event, callback)
81
81
  end
82
82
 
83
83
  # -- inherited from EventEmitter --
84
84
  # @nodoc
85
- def once(event, callback)
86
- event_emitter_proxy.once(event, callback)
85
+ def off(event, callback)
86
+ event_emitter_proxy.off(event, callback)
87
87
  end
88
88
 
89
89
  private def event_emitter_proxy
@@ -575,20 +575,20 @@ module Playwright
575
575
 
576
576
  # -- inherited from EventEmitter --
577
577
  # @nodoc
578
- def on(event, callback)
579
- event_emitter_proxy.on(event, callback)
578
+ def once(event, callback)
579
+ event_emitter_proxy.once(event, callback)
580
580
  end
581
581
 
582
582
  # -- inherited from EventEmitter --
583
583
  # @nodoc
584
- def off(event, callback)
585
- event_emitter_proxy.off(event, callback)
584
+ def on(event, callback)
585
+ event_emitter_proxy.on(event, callback)
586
586
  end
587
587
 
588
588
  # -- inherited from EventEmitter --
589
589
  # @nodoc
590
- def once(event, callback)
591
- event_emitter_proxy.once(event, callback)
590
+ def off(event, callback)
591
+ event_emitter_proxy.off(event, callback)
592
592
  end
593
593
 
594
594
  private def event_emitter_proxy
@@ -1037,14 +1037,20 @@ module Playwright
1037
1037
  wrap_impl(@impl.wait_for_url(unwrap_impl(url), timeout: unwrap_impl(timeout), waitUntil: unwrap_impl(waitUntil)))
1038
1038
  end
1039
1039
 
1040
+ # @nodoc
1041
+ def highlight(selector)
1042
+ wrap_impl(@impl.highlight(unwrap_impl(selector)))
1043
+ end
1044
+
1040
1045
  # @nodoc
1041
1046
  def detached=(req)
1042
1047
  wrap_impl(@impl.detached=(unwrap_impl(req)))
1043
1048
  end
1044
1049
 
1050
+ # -- inherited from EventEmitter --
1045
1051
  # @nodoc
1046
- def highlight(selector)
1047
- wrap_impl(@impl.highlight(unwrap_impl(selector)))
1052
+ def once(event, callback)
1053
+ event_emitter_proxy.once(event, callback)
1048
1054
  end
1049
1055
 
1050
1056
  # -- inherited from EventEmitter --
@@ -1059,12 +1065,6 @@ module Playwright
1059
1065
  event_emitter_proxy.off(event, callback)
1060
1066
  end
1061
1067
 
1062
- # -- inherited from EventEmitter --
1063
- # @nodoc
1064
- def once(event, callback)
1065
- event_emitter_proxy.once(event, callback)
1066
- end
1067
-
1068
1068
  private def event_emitter_proxy
1069
1069
  @event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
1070
1070
  end
@@ -100,20 +100,20 @@ module Playwright
100
100
 
101
101
  # -- inherited from EventEmitter --
102
102
  # @nodoc
103
- def on(event, callback)
104
- event_emitter_proxy.on(event, callback)
103
+ def once(event, callback)
104
+ event_emitter_proxy.once(event, callback)
105
105
  end
106
106
 
107
107
  # -- inherited from EventEmitter --
108
108
  # @nodoc
109
- def off(event, callback)
110
- event_emitter_proxy.off(event, callback)
109
+ def on(event, callback)
110
+ event_emitter_proxy.on(event, callback)
111
111
  end
112
112
 
113
113
  # -- inherited from EventEmitter --
114
114
  # @nodoc
115
- def once(event, callback)
116
- event_emitter_proxy.once(event, callback)
115
+ def off(event, callback)
116
+ event_emitter_proxy.off(event, callback)
117
117
  end
118
118
 
119
119
  private def event_emitter_proxy
@@ -1779,20 +1779,20 @@ module Playwright
1779
1779
 
1780
1780
  # -- inherited from EventEmitter --
1781
1781
  # @nodoc
1782
- def on(event, callback)
1783
- event_emitter_proxy.on(event, callback)
1782
+ def once(event, callback)
1783
+ event_emitter_proxy.once(event, callback)
1784
1784
  end
1785
1785
 
1786
1786
  # -- inherited from EventEmitter --
1787
1787
  # @nodoc
1788
- def off(event, callback)
1789
- event_emitter_proxy.off(event, callback)
1788
+ def on(event, callback)
1789
+ event_emitter_proxy.on(event, callback)
1790
1790
  end
1791
1791
 
1792
1792
  # -- inherited from EventEmitter --
1793
1793
  # @nodoc
1794
- def once(event, callback)
1795
- event_emitter_proxy.once(event, callback)
1794
+ def off(event, callback)
1795
+ event_emitter_proxy.off(event, callback)
1796
1796
  end
1797
1797
 
1798
1798
  private def event_emitter_proxy
@@ -105,20 +105,20 @@ module Playwright
105
105
 
106
106
  # -- inherited from EventEmitter --
107
107
  # @nodoc
108
- def on(event, callback)
109
- event_emitter_proxy.on(event, callback)
108
+ def once(event, callback)
109
+ event_emitter_proxy.once(event, callback)
110
110
  end
111
111
 
112
112
  # -- inherited from EventEmitter --
113
113
  # @nodoc
114
- def off(event, callback)
115
- event_emitter_proxy.off(event, callback)
114
+ def on(event, callback)
115
+ event_emitter_proxy.on(event, callback)
116
116
  end
117
117
 
118
118
  # -- inherited from EventEmitter --
119
119
  # @nodoc
120
- def once(event, callback)
121
- event_emitter_proxy.once(event, callback)
120
+ def off(event, callback)
121
+ event_emitter_proxy.off(event, callback)
122
122
  end
123
123
 
124
124
  private def event_emitter_proxy
@@ -207,20 +207,20 @@ module Playwright
207
207
 
208
208
  # -- inherited from EventEmitter --
209
209
  # @nodoc
210
- def on(event, callback)
211
- event_emitter_proxy.on(event, callback)
210
+ def once(event, callback)
211
+ event_emitter_proxy.once(event, callback)
212
212
  end
213
213
 
214
214
  # -- inherited from EventEmitter --
215
215
  # @nodoc
216
- def off(event, callback)
217
- event_emitter_proxy.off(event, callback)
216
+ def on(event, callback)
217
+ event_emitter_proxy.on(event, callback)
218
218
  end
219
219
 
220
220
  # -- inherited from EventEmitter --
221
221
  # @nodoc
222
- def once(event, callback)
223
- event_emitter_proxy.once(event, callback)
222
+ def off(event, callback)
223
+ event_emitter_proxy.off(event, callback)
224
224
  end
225
225
 
226
226
  private def event_emitter_proxy
@@ -117,14 +117,20 @@ module Playwright
117
117
  wrap_impl(@impl.url)
118
118
  end
119
119
 
120
+ # @nodoc
121
+ def ok?
122
+ wrap_impl(@impl.ok?)
123
+ end
124
+
120
125
  # @nodoc
121
126
  def from_service_worker?
122
127
  wrap_impl(@impl.from_service_worker?)
123
128
  end
124
129
 
130
+ # -- inherited from EventEmitter --
125
131
  # @nodoc
126
- def ok?
127
- wrap_impl(@impl.ok?)
132
+ def once(event, callback)
133
+ event_emitter_proxy.once(event, callback)
128
134
  end
129
135
 
130
136
  # -- inherited from EventEmitter --
@@ -139,12 +145,6 @@ module Playwright
139
145
  event_emitter_proxy.off(event, callback)
140
146
  end
141
147
 
142
- # -- inherited from EventEmitter --
143
- # @nodoc
144
- def once(event, callback)
145
- event_emitter_proxy.once(event, callback)
146
- end
147
-
148
148
  private def event_emitter_proxy
149
149
  @event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
150
150
  end
@@ -167,20 +167,20 @@ module Playwright
167
167
 
168
168
  # -- inherited from EventEmitter --
169
169
  # @nodoc
170
- def on(event, callback)
171
- event_emitter_proxy.on(event, callback)
170
+ def once(event, callback)
171
+ event_emitter_proxy.once(event, callback)
172
172
  end
173
173
 
174
174
  # -- inherited from EventEmitter --
175
175
  # @nodoc
176
- def off(event, callback)
177
- event_emitter_proxy.off(event, callback)
176
+ def on(event, callback)
177
+ event_emitter_proxy.on(event, callback)
178
178
  end
179
179
 
180
180
  # -- inherited from EventEmitter --
181
181
  # @nodoc
182
- def once(event, callback)
183
- event_emitter_proxy.once(event, callback)
182
+ def off(event, callback)
183
+ event_emitter_proxy.off(event, callback)
184
184
  end
185
185
 
186
186
  private def event_emitter_proxy
@@ -63,20 +63,20 @@ module Playwright
63
63
 
64
64
  # -- inherited from EventEmitter --
65
65
  # @nodoc
66
- def on(event, callback)
67
- event_emitter_proxy.on(event, callback)
66
+ def once(event, callback)
67
+ event_emitter_proxy.once(event, callback)
68
68
  end
69
69
 
70
70
  # -- inherited from EventEmitter --
71
71
  # @nodoc
72
- def off(event, callback)
73
- event_emitter_proxy.off(event, callback)
72
+ def on(event, callback)
73
+ event_emitter_proxy.on(event, callback)
74
74
  end
75
75
 
76
76
  # -- inherited from EventEmitter --
77
77
  # @nodoc
78
- def once(event, callback)
79
- event_emitter_proxy.once(event, callback)
78
+ def off(event, callback)
79
+ event_emitter_proxy.off(event, callback)
80
80
  end
81
81
 
82
82
  private def event_emitter_proxy
@@ -72,20 +72,20 @@ module Playwright
72
72
 
73
73
  # -- inherited from EventEmitter --
74
74
  # @nodoc
75
- def on(event, callback)
76
- event_emitter_proxy.on(event, callback)
75
+ def once(event, callback)
76
+ event_emitter_proxy.once(event, callback)
77
77
  end
78
78
 
79
79
  # -- inherited from EventEmitter --
80
80
  # @nodoc
81
- def off(event, callback)
82
- event_emitter_proxy.off(event, callback)
81
+ def on(event, callback)
82
+ event_emitter_proxy.on(event, callback)
83
83
  end
84
84
 
85
85
  # -- inherited from EventEmitter --
86
86
  # @nodoc
87
- def once(event, callback)
88
- event_emitter_proxy.once(event, callback)
87
+ def off(event, callback)
88
+ event_emitter_proxy.off(event, callback)
89
89
  end
90
90
 
91
91
  private def event_emitter_proxy
@@ -34,20 +34,20 @@ module Playwright
34
34
 
35
35
  # -- inherited from EventEmitter --
36
36
  # @nodoc
37
- def on(event, callback)
38
- event_emitter_proxy.on(event, callback)
37
+ def once(event, callback)
38
+ event_emitter_proxy.once(event, callback)
39
39
  end
40
40
 
41
41
  # -- inherited from EventEmitter --
42
42
  # @nodoc
43
- def off(event, callback)
44
- event_emitter_proxy.off(event, callback)
43
+ def on(event, callback)
44
+ event_emitter_proxy.on(event, callback)
45
45
  end
46
46
 
47
47
  # -- inherited from EventEmitter --
48
48
  # @nodoc
49
- def once(event, callback)
50
- event_emitter_proxy.once(event, callback)
49
+ def off(event, callback)
50
+ event_emitter_proxy.off(event, callback)
51
51
  end
52
52
 
53
53
  private def event_emitter_proxy
@@ -58,20 +58,20 @@ module Playwright
58
58
 
59
59
  # -- inherited from EventEmitter --
60
60
  # @nodoc
61
- def on(event, callback)
62
- event_emitter_proxy.on(event, callback)
61
+ def once(event, callback)
62
+ event_emitter_proxy.once(event, callback)
63
63
  end
64
64
 
65
65
  # -- inherited from EventEmitter --
66
66
  # @nodoc
67
- def off(event, callback)
68
- event_emitter_proxy.off(event, callback)
67
+ def on(event, callback)
68
+ event_emitter_proxy.on(event, callback)
69
69
  end
70
70
 
71
71
  # -- inherited from EventEmitter --
72
72
  # @nodoc
73
- def once(event, callback)
74
- event_emitter_proxy.once(event, callback)
73
+ def off(event, callback)
74
+ event_emitter_proxy.off(event, callback)
75
75
  end
76
76
 
77
77
  private def event_emitter_proxy
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.43.0
4
+ version: 1.43.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - YusukeIwaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-21 00:00:00.000000000 Z
11
+ date: 2024-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -404,7 +404,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
404
404
  - !ruby/object:Gem::Version
405
405
  version: '0'
406
406
  requirements: []
407
- rubygems_version: 3.3.26
407
+ rubygems_version: 3.3.27
408
408
  signing_key:
409
409
  specification_version: 4
410
410
  summary: The Ruby binding of playwright driver 1.43.1