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 +4 -4
- data/lib/playwright/version.rb +1 -1
- data/lib/playwright_api/android.rb +6 -6
- data/lib/playwright_api/android_device.rb +6 -6
- data/lib/playwright_api/api_request_context.rb +6 -6
- data/lib/playwright_api/browser.rb +6 -6
- data/lib/playwright_api/browser_context.rb +12 -12
- data/lib/playwright_api/browser_type.rb +6 -6
- data/lib/playwright_api/cdp_session.rb +6 -6
- data/lib/playwright_api/dialog.rb +6 -6
- data/lib/playwright_api/element_handle.rb +6 -6
- data/lib/playwright_api/frame.rb +8 -8
- data/lib/playwright_api/js_handle.rb +6 -6
- data/lib/playwright_api/page.rb +6 -6
- data/lib/playwright_api/playwright.rb +6 -6
- data/lib/playwright_api/request.rb +6 -6
- data/lib/playwright_api/response.rb +8 -8
- data/lib/playwright_api/route.rb +6 -6
- data/lib/playwright_api/selectors.rb +6 -6
- data/lib/playwright_api/tracing.rb +6 -6
- data/lib/playwright_api/web_socket.rb +6 -6
- data/lib/playwright_api/worker.rb +6 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28e058238a428979c1a84b8fd1109d37cd0aa79669ba3a0695bd374b1e0c8776
|
4
|
+
data.tar.gz: 4255f868bdd795dd1a8f84b9348f97d4d01e0a8fbd8f45ae51b366d868673a29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad65fdc5ca36488f277ab184baf0cf5dca2de67c873de126a0153210d10fce83ff48a8d9ebc6b5fe7aeefc05158cbe0d9661fa9ee57d25c6688dc87f3023f715
|
7
|
+
data.tar.gz: 9a3c7087cc9fd12f75bcbfe66fefe4a5a470b96aef03f596e84f36dc94ec1a738cac7aa7466cb71bfe4047e88c185e2e0fd7a9a9f638b9319cb6231adca900b0
|
data/lib/playwright/version.rb
CHANGED
@@ -40,20 +40,20 @@ module Playwright
|
|
40
40
|
|
41
41
|
# -- inherited from EventEmitter --
|
42
42
|
# @nodoc
|
43
|
-
def
|
44
|
-
event_emitter_proxy.
|
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
|
50
|
-
event_emitter_proxy.
|
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
|
56
|
-
event_emitter_proxy.
|
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
|
209
|
-
event_emitter_proxy.
|
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
|
215
|
-
event_emitter_proxy.
|
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
|
221
|
-
event_emitter_proxy.
|
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
|
284
|
-
event_emitter_proxy.
|
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
|
290
|
-
event_emitter_proxy.
|
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
|
296
|
-
event_emitter_proxy.
|
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
|
206
|
-
event_emitter_proxy.
|
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
|
212
|
-
event_emitter_proxy.
|
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
|
218
|
-
event_emitter_proxy.
|
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
|
458
|
-
wrap_impl(@impl.
|
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
|
468
|
-
wrap_impl(@impl.
|
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
|
473
|
-
|
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
|
180
|
-
event_emitter_proxy.
|
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
|
186
|
-
event_emitter_proxy.
|
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
|
192
|
-
event_emitter_proxy.
|
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
|
38
|
-
event_emitter_proxy.
|
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
|
44
|
-
event_emitter_proxy.
|
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
|
50
|
-
event_emitter_proxy.
|
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
|
74
|
-
event_emitter_proxy.
|
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
|
80
|
-
event_emitter_proxy.
|
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
|
86
|
-
event_emitter_proxy.
|
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
|
579
|
-
event_emitter_proxy.
|
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
|
585
|
-
event_emitter_proxy.
|
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
|
591
|
-
event_emitter_proxy.
|
590
|
+
def off(event, callback)
|
591
|
+
event_emitter_proxy.off(event, callback)
|
592
592
|
end
|
593
593
|
|
594
594
|
private def event_emitter_proxy
|
data/lib/playwright_api/frame.rb
CHANGED
@@ -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
|
1047
|
-
|
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
|
104
|
-
event_emitter_proxy.
|
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
|
110
|
-
event_emitter_proxy.
|
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
|
116
|
-
event_emitter_proxy.
|
115
|
+
def off(event, callback)
|
116
|
+
event_emitter_proxy.off(event, callback)
|
117
117
|
end
|
118
118
|
|
119
119
|
private def event_emitter_proxy
|
data/lib/playwright_api/page.rb
CHANGED
@@ -1779,20 +1779,20 @@ module Playwright
|
|
1779
1779
|
|
1780
1780
|
# -- inherited from EventEmitter --
|
1781
1781
|
# @nodoc
|
1782
|
-
def
|
1783
|
-
event_emitter_proxy.
|
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
|
1789
|
-
event_emitter_proxy.
|
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
|
1795
|
-
event_emitter_proxy.
|
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
|
109
|
-
event_emitter_proxy.
|
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
|
115
|
-
event_emitter_proxy.
|
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
|
121
|
-
event_emitter_proxy.
|
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
|
211
|
-
event_emitter_proxy.
|
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
|
217
|
-
event_emitter_proxy.
|
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
|
223
|
-
event_emitter_proxy.
|
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
|
127
|
-
|
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
|
data/lib/playwright_api/route.rb
CHANGED
@@ -167,20 +167,20 @@ module Playwright
|
|
167
167
|
|
168
168
|
# -- inherited from EventEmitter --
|
169
169
|
# @nodoc
|
170
|
-
def
|
171
|
-
event_emitter_proxy.
|
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
|
177
|
-
event_emitter_proxy.
|
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
|
183
|
-
event_emitter_proxy.
|
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
|
67
|
-
event_emitter_proxy.
|
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
|
73
|
-
event_emitter_proxy.
|
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
|
79
|
-
event_emitter_proxy.
|
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
|
76
|
-
event_emitter_proxy.
|
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
|
82
|
-
event_emitter_proxy.
|
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
|
88
|
-
event_emitter_proxy.
|
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
|
38
|
-
event_emitter_proxy.
|
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
|
44
|
-
event_emitter_proxy.
|
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
|
50
|
-
event_emitter_proxy.
|
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
|
62
|
-
event_emitter_proxy.
|
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
|
68
|
-
event_emitter_proxy.
|
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
|
74
|
-
event_emitter_proxy.
|
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.
|
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-
|
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.
|
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
|