playwright-ruby-client 1.64.0 → 1.64.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/playwright/version.rb +2 -2
- 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 +13 -13
- 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 +11 -11
- data/lib/playwright_api/js_handle.rb +6 -6
- data/lib/playwright_api/locator.rb +5 -5
- 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 +6 -6
- data/lib/playwright_api/route.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 +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8120ecbef1e14c47bfdfc7e424d94181fb93b2d0be9f9895cf2b16646fa92e5a
|
|
4
|
+
data.tar.gz: '0983aec140e91bc81cd78dc490e658641c6024ef476b37c68771340bcf5126cc'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e6c58676ce0360f97afeab90d3cb3521fec4427209033b2ec4aa7c55e96e42c9f1a56132de2abb72fc60ef9bdd9ff217135aa8b20ab31e6f41aa62136403742
|
|
7
|
+
data.tar.gz: 9ab8d3098ae371b82d4f06103485255f7740d20f8d171a9d49840dd4f8d32016bf1e4c6d2156002bd4d1cd26bcad91ea1298da49a88a6ac59f6faac577f9afb1
|
data/lib/playwright/version.rb
CHANGED
|
@@ -330,12 +330,6 @@ module Playwright
|
|
|
330
330
|
raise NotImplementedError.new('storage_state is not implemented yet.')
|
|
331
331
|
end
|
|
332
332
|
|
|
333
|
-
# -- inherited from EventEmitter --
|
|
334
|
-
# @nodoc
|
|
335
|
-
def off(event, callback)
|
|
336
|
-
event_emitter_proxy.off(event, callback)
|
|
337
|
-
end
|
|
338
|
-
|
|
339
333
|
# -- inherited from EventEmitter --
|
|
340
334
|
# @nodoc
|
|
341
335
|
def once(event, callback)
|
|
@@ -348,6 +342,12 @@ module Playwright
|
|
|
348
342
|
event_emitter_proxy.on(event, callback)
|
|
349
343
|
end
|
|
350
344
|
|
|
345
|
+
# -- inherited from EventEmitter --
|
|
346
|
+
# @nodoc
|
|
347
|
+
def off(event, callback)
|
|
348
|
+
event_emitter_proxy.off(event, callback)
|
|
349
|
+
end
|
|
350
|
+
|
|
351
351
|
private def event_emitter_proxy
|
|
352
352
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
353
353
|
end
|
|
@@ -217,12 +217,6 @@ module Playwright
|
|
|
217
217
|
wrap_impl(@impl.version)
|
|
218
218
|
end
|
|
219
219
|
|
|
220
|
-
# -- inherited from EventEmitter --
|
|
221
|
-
# @nodoc
|
|
222
|
-
def off(event, callback)
|
|
223
|
-
event_emitter_proxy.off(event, callback)
|
|
224
|
-
end
|
|
225
|
-
|
|
226
220
|
# -- inherited from EventEmitter --
|
|
227
221
|
# @nodoc
|
|
228
222
|
def once(event, callback)
|
|
@@ -235,6 +229,12 @@ module Playwright
|
|
|
235
229
|
event_emitter_proxy.on(event, callback)
|
|
236
230
|
end
|
|
237
231
|
|
|
232
|
+
# -- inherited from EventEmitter --
|
|
233
|
+
# @nodoc
|
|
234
|
+
def off(event, callback)
|
|
235
|
+
event_emitter_proxy.off(event, callback)
|
|
236
|
+
end
|
|
237
|
+
|
|
238
238
|
private def event_emitter_proxy
|
|
239
239
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
240
240
|
end
|
|
@@ -498,16 +498,6 @@ module Playwright
|
|
|
498
498
|
raise NotImplementedError.new('wait_for_event is not implemented yet.')
|
|
499
499
|
end
|
|
500
500
|
|
|
501
|
-
# @nodoc
|
|
502
|
-
def owner_page=(req)
|
|
503
|
-
wrap_impl(@impl.owner_page=(unwrap_impl(req)))
|
|
504
|
-
end
|
|
505
|
-
|
|
506
|
-
# @nodoc
|
|
507
|
-
def options=(req)
|
|
508
|
-
wrap_impl(@impl.options=(unwrap_impl(req)))
|
|
509
|
-
end
|
|
510
|
-
|
|
511
501
|
# @nodoc
|
|
512
502
|
def browser=(req)
|
|
513
503
|
wrap_impl(@impl.browser=(unwrap_impl(req)))
|
|
@@ -523,10 +513,14 @@ module Playwright
|
|
|
523
513
|
wrap_impl(@impl.pause)
|
|
524
514
|
end
|
|
525
515
|
|
|
526
|
-
# -- inherited from EventEmitter --
|
|
527
516
|
# @nodoc
|
|
528
|
-
def
|
|
529
|
-
|
|
517
|
+
def options=(req)
|
|
518
|
+
wrap_impl(@impl.options=(unwrap_impl(req)))
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
# @nodoc
|
|
522
|
+
def owner_page=(req)
|
|
523
|
+
wrap_impl(@impl.owner_page=(unwrap_impl(req)))
|
|
530
524
|
end
|
|
531
525
|
|
|
532
526
|
# -- inherited from EventEmitter --
|
|
@@ -541,6 +535,12 @@ module Playwright
|
|
|
541
535
|
event_emitter_proxy.on(event, callback)
|
|
542
536
|
end
|
|
543
537
|
|
|
538
|
+
# -- inherited from EventEmitter --
|
|
539
|
+
# @nodoc
|
|
540
|
+
def off(event, callback)
|
|
541
|
+
event_emitter_proxy.off(event, callback)
|
|
542
|
+
end
|
|
543
|
+
|
|
544
544
|
private def event_emitter_proxy
|
|
545
545
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
546
546
|
end
|
|
@@ -187,12 +187,6 @@ module Playwright
|
|
|
187
187
|
wrap_impl(@impl.name)
|
|
188
188
|
end
|
|
189
189
|
|
|
190
|
-
# -- inherited from EventEmitter --
|
|
191
|
-
# @nodoc
|
|
192
|
-
def off(event, callback)
|
|
193
|
-
event_emitter_proxy.off(event, callback)
|
|
194
|
-
end
|
|
195
|
-
|
|
196
190
|
# -- inherited from EventEmitter --
|
|
197
191
|
# @nodoc
|
|
198
192
|
def once(event, callback)
|
|
@@ -205,6 +199,12 @@ module Playwright
|
|
|
205
199
|
event_emitter_proxy.on(event, callback)
|
|
206
200
|
end
|
|
207
201
|
|
|
202
|
+
# -- inherited from EventEmitter --
|
|
203
|
+
# @nodoc
|
|
204
|
+
def off(event, callback)
|
|
205
|
+
event_emitter_proxy.off(event, callback)
|
|
206
|
+
end
|
|
207
|
+
|
|
208
208
|
private def event_emitter_proxy
|
|
209
209
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
210
210
|
end
|
|
@@ -31,12 +31,6 @@ module Playwright
|
|
|
31
31
|
wrap_impl(@impl.send_message(unwrap_impl(method), params: unwrap_impl(params)))
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
# -- inherited from EventEmitter --
|
|
35
|
-
# @nodoc
|
|
36
|
-
def off(event, callback)
|
|
37
|
-
event_emitter_proxy.off(event, callback)
|
|
38
|
-
end
|
|
39
|
-
|
|
40
34
|
# -- inherited from EventEmitter --
|
|
41
35
|
# @nodoc
|
|
42
36
|
def once(event, callback)
|
|
@@ -49,6 +43,12 @@ module Playwright
|
|
|
49
43
|
event_emitter_proxy.on(event, callback)
|
|
50
44
|
end
|
|
51
45
|
|
|
46
|
+
# -- inherited from EventEmitter --
|
|
47
|
+
# @nodoc
|
|
48
|
+
def off(event, callback)
|
|
49
|
+
event_emitter_proxy.off(event, callback)
|
|
50
|
+
end
|
|
51
|
+
|
|
52
52
|
private def event_emitter_proxy
|
|
53
53
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
54
54
|
end
|
|
@@ -68,12 +68,6 @@ module Playwright
|
|
|
68
68
|
wrap_impl(@impl.accept_async(promptText: unwrap_impl(promptText)))
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
# -- inherited from EventEmitter --
|
|
72
|
-
# @nodoc
|
|
73
|
-
def off(event, callback)
|
|
74
|
-
event_emitter_proxy.off(event, callback)
|
|
75
|
-
end
|
|
76
|
-
|
|
77
71
|
# -- inherited from EventEmitter --
|
|
78
72
|
# @nodoc
|
|
79
73
|
def once(event, callback)
|
|
@@ -86,6 +80,12 @@ module Playwright
|
|
|
86
80
|
event_emitter_proxy.on(event, callback)
|
|
87
81
|
end
|
|
88
82
|
|
|
83
|
+
# -- inherited from EventEmitter --
|
|
84
|
+
# @nodoc
|
|
85
|
+
def off(event, callback)
|
|
86
|
+
event_emitter_proxy.off(event, callback)
|
|
87
|
+
end
|
|
88
|
+
|
|
89
89
|
private def event_emitter_proxy
|
|
90
90
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
91
91
|
end
|
|
@@ -581,12 +581,6 @@ module Playwright
|
|
|
581
581
|
wrap_impl(@impl.wait_for_selector(unwrap_impl(selector), state: unwrap_impl(state), strict: unwrap_impl(strict), timeout: unwrap_impl(timeout)))
|
|
582
582
|
end
|
|
583
583
|
|
|
584
|
-
# -- inherited from EventEmitter --
|
|
585
|
-
# @nodoc
|
|
586
|
-
def off(event, callback)
|
|
587
|
-
event_emitter_proxy.off(event, callback)
|
|
588
|
-
end
|
|
589
|
-
|
|
590
584
|
# -- inherited from EventEmitter --
|
|
591
585
|
# @nodoc
|
|
592
586
|
def once(event, callback)
|
|
@@ -599,6 +593,12 @@ module Playwright
|
|
|
599
593
|
event_emitter_proxy.on(event, callback)
|
|
600
594
|
end
|
|
601
595
|
|
|
596
|
+
# -- inherited from EventEmitter --
|
|
597
|
+
# @nodoc
|
|
598
|
+
def off(event, callback)
|
|
599
|
+
event_emitter_proxy.off(event, callback)
|
|
600
|
+
end
|
|
601
|
+
|
|
602
602
|
private def event_emitter_proxy
|
|
603
603
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
604
604
|
end
|
data/lib/playwright_api/frame.rb
CHANGED
|
@@ -1071,6 +1071,11 @@ module Playwright
|
|
|
1071
1071
|
wrap_impl(@impl.drop(unwrap_impl(selector), unwrap_impl(payload), position: unwrap_impl(position), strict: unwrap_impl(strict), timeout: unwrap_impl(timeout)))
|
|
1072
1072
|
end
|
|
1073
1073
|
|
|
1074
|
+
# @nodoc
|
|
1075
|
+
def expect(selector, expression, options, title)
|
|
1076
|
+
wrap_impl(@impl.expect(unwrap_impl(selector), unwrap_impl(expression), unwrap_impl(options), unwrap_impl(title)))
|
|
1077
|
+
end
|
|
1078
|
+
|
|
1074
1079
|
# @nodoc
|
|
1075
1080
|
def detached=(req)
|
|
1076
1081
|
wrap_impl(@impl.detached=(unwrap_impl(req)))
|
|
@@ -1086,17 +1091,6 @@ module Playwright
|
|
|
1086
1091
|
wrap_impl(@impl.hide_highlight(unwrap_impl(selector)))
|
|
1087
1092
|
end
|
|
1088
1093
|
|
|
1089
|
-
# @nodoc
|
|
1090
|
-
def expect(selector, expression, options, title)
|
|
1091
|
-
wrap_impl(@impl.expect(unwrap_impl(selector), unwrap_impl(expression), unwrap_impl(options), unwrap_impl(title)))
|
|
1092
|
-
end
|
|
1093
|
-
|
|
1094
|
-
# -- inherited from EventEmitter --
|
|
1095
|
-
# @nodoc
|
|
1096
|
-
def off(event, callback)
|
|
1097
|
-
event_emitter_proxy.off(event, callback)
|
|
1098
|
-
end
|
|
1099
|
-
|
|
1100
1094
|
# -- inherited from EventEmitter --
|
|
1101
1095
|
# @nodoc
|
|
1102
1096
|
def once(event, callback)
|
|
@@ -1109,6 +1103,12 @@ module Playwright
|
|
|
1109
1103
|
event_emitter_proxy.on(event, callback)
|
|
1110
1104
|
end
|
|
1111
1105
|
|
|
1106
|
+
# -- inherited from EventEmitter --
|
|
1107
|
+
# @nodoc
|
|
1108
|
+
def off(event, callback)
|
|
1109
|
+
event_emitter_proxy.off(event, callback)
|
|
1110
|
+
end
|
|
1111
|
+
|
|
1112
1112
|
private def event_emitter_proxy
|
|
1113
1113
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
1114
1114
|
end
|
|
@@ -98,12 +98,6 @@ module Playwright
|
|
|
98
98
|
wrap_impl(@impl.to_s)
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
-
# -- inherited from EventEmitter --
|
|
102
|
-
# @nodoc
|
|
103
|
-
def off(event, callback)
|
|
104
|
-
event_emitter_proxy.off(event, callback)
|
|
105
|
-
end
|
|
106
|
-
|
|
107
101
|
# -- inherited from EventEmitter --
|
|
108
102
|
# @nodoc
|
|
109
103
|
def once(event, callback)
|
|
@@ -116,6 +110,12 @@ module Playwright
|
|
|
116
110
|
event_emitter_proxy.on(event, callback)
|
|
117
111
|
end
|
|
118
112
|
|
|
113
|
+
# -- inherited from EventEmitter --
|
|
114
|
+
# @nodoc
|
|
115
|
+
def off(event, callback)
|
|
116
|
+
event_emitter_proxy.off(event, callback)
|
|
117
|
+
end
|
|
118
|
+
|
|
119
119
|
private def event_emitter_proxy
|
|
120
120
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
121
121
|
end
|
|
@@ -1411,6 +1411,11 @@ module Playwright
|
|
|
1411
1411
|
wrap_impl(@impl.within(unwrap_impl(locator)))
|
|
1412
1412
|
end
|
|
1413
1413
|
|
|
1414
|
+
# @nodoc
|
|
1415
|
+
def expect(expression, options, title)
|
|
1416
|
+
wrap_impl(@impl.expect(unwrap_impl(expression), unwrap_impl(options), unwrap_impl(title)))
|
|
1417
|
+
end
|
|
1418
|
+
|
|
1414
1419
|
# @nodoc
|
|
1415
1420
|
def _assertions(timeout, is_not, message)
|
|
1416
1421
|
wrap_impl(@impl._assertions(unwrap_impl(timeout), unwrap_impl(is_not), unwrap_impl(message)))
|
|
@@ -1421,11 +1426,6 @@ module Playwright
|
|
|
1421
1426
|
wrap_impl(@impl.resolve_selector)
|
|
1422
1427
|
end
|
|
1423
1428
|
|
|
1424
|
-
# @nodoc
|
|
1425
|
-
def expect(expression, options, title)
|
|
1426
|
-
wrap_impl(@impl.expect(unwrap_impl(expression), unwrap_impl(options), unwrap_impl(title)))
|
|
1427
|
-
end
|
|
1428
|
-
|
|
1429
1429
|
# @nodoc
|
|
1430
1430
|
def to_s
|
|
1431
1431
|
wrap_impl(@impl.to_s)
|
data/lib/playwright_api/page.rb
CHANGED
|
@@ -1974,12 +1974,6 @@ module Playwright
|
|
|
1974
1974
|
wrap_impl(@impl.owned_context=(unwrap_impl(req)))
|
|
1975
1975
|
end
|
|
1976
1976
|
|
|
1977
|
-
# -- inherited from EventEmitter --
|
|
1978
|
-
# @nodoc
|
|
1979
|
-
def off(event, callback)
|
|
1980
|
-
event_emitter_proxy.off(event, callback)
|
|
1981
|
-
end
|
|
1982
|
-
|
|
1983
1977
|
# -- inherited from EventEmitter --
|
|
1984
1978
|
# @nodoc
|
|
1985
1979
|
def once(event, callback)
|
|
@@ -1992,6 +1986,12 @@ module Playwright
|
|
|
1992
1986
|
event_emitter_proxy.on(event, callback)
|
|
1993
1987
|
end
|
|
1994
1988
|
|
|
1989
|
+
# -- inherited from EventEmitter --
|
|
1990
|
+
# @nodoc
|
|
1991
|
+
def off(event, callback)
|
|
1992
|
+
event_emitter_proxy.off(event, callback)
|
|
1993
|
+
end
|
|
1994
|
+
|
|
1995
1995
|
private def event_emitter_proxy
|
|
1996
1996
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
1997
1997
|
end
|
|
@@ -103,12 +103,6 @@ module Playwright
|
|
|
103
103
|
wrap_impl(@impl.electron)
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
-
# -- inherited from EventEmitter --
|
|
107
|
-
# @nodoc
|
|
108
|
-
def off(event, callback)
|
|
109
|
-
event_emitter_proxy.off(event, callback)
|
|
110
|
-
end
|
|
111
|
-
|
|
112
106
|
# -- inherited from EventEmitter --
|
|
113
107
|
# @nodoc
|
|
114
108
|
def once(event, callback)
|
|
@@ -121,6 +115,12 @@ module Playwright
|
|
|
121
115
|
event_emitter_proxy.on(event, callback)
|
|
122
116
|
end
|
|
123
117
|
|
|
118
|
+
# -- inherited from EventEmitter --
|
|
119
|
+
# @nodoc
|
|
120
|
+
def off(event, callback)
|
|
121
|
+
event_emitter_proxy.off(event, callback)
|
|
122
|
+
end
|
|
123
|
+
|
|
124
124
|
private def event_emitter_proxy
|
|
125
125
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
126
126
|
end
|
|
@@ -227,12 +227,6 @@ module Playwright
|
|
|
227
227
|
wrap_impl(@impl.header_values(unwrap_impl(name)))
|
|
228
228
|
end
|
|
229
229
|
|
|
230
|
-
# -- inherited from EventEmitter --
|
|
231
|
-
# @nodoc
|
|
232
|
-
def off(event, callback)
|
|
233
|
-
event_emitter_proxy.off(event, callback)
|
|
234
|
-
end
|
|
235
|
-
|
|
236
230
|
# -- inherited from EventEmitter --
|
|
237
231
|
# @nodoc
|
|
238
232
|
def once(event, callback)
|
|
@@ -245,6 +239,12 @@ module Playwright
|
|
|
245
239
|
event_emitter_proxy.on(event, callback)
|
|
246
240
|
end
|
|
247
241
|
|
|
242
|
+
# -- inherited from EventEmitter --
|
|
243
|
+
# @nodoc
|
|
244
|
+
def off(event, callback)
|
|
245
|
+
event_emitter_proxy.off(event, callback)
|
|
246
|
+
end
|
|
247
|
+
|
|
248
248
|
private def event_emitter_proxy
|
|
249
249
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
250
250
|
end
|
|
@@ -134,12 +134,6 @@ module Playwright
|
|
|
134
134
|
wrap_impl(@impl.from_service_worker?)
|
|
135
135
|
end
|
|
136
136
|
|
|
137
|
-
# -- inherited from EventEmitter --
|
|
138
|
-
# @nodoc
|
|
139
|
-
def off(event, callback)
|
|
140
|
-
event_emitter_proxy.off(event, callback)
|
|
141
|
-
end
|
|
142
|
-
|
|
143
137
|
# -- inherited from EventEmitter --
|
|
144
138
|
# @nodoc
|
|
145
139
|
def once(event, callback)
|
|
@@ -152,6 +146,12 @@ module Playwright
|
|
|
152
146
|
event_emitter_proxy.on(event, callback)
|
|
153
147
|
end
|
|
154
148
|
|
|
149
|
+
# -- inherited from EventEmitter --
|
|
150
|
+
# @nodoc
|
|
151
|
+
def off(event, callback)
|
|
152
|
+
event_emitter_proxy.off(event, callback)
|
|
153
|
+
end
|
|
154
|
+
|
|
155
155
|
private def event_emitter_proxy
|
|
156
156
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
157
157
|
end
|
data/lib/playwright_api/route.rb
CHANGED
|
@@ -177,12 +177,6 @@ module Playwright
|
|
|
177
177
|
wrap_impl(@impl.redirect_navigation_request(unwrap_impl(url)))
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
-
# -- inherited from EventEmitter --
|
|
181
|
-
# @nodoc
|
|
182
|
-
def off(event, callback)
|
|
183
|
-
event_emitter_proxy.off(event, callback)
|
|
184
|
-
end
|
|
185
|
-
|
|
186
180
|
# -- inherited from EventEmitter --
|
|
187
181
|
# @nodoc
|
|
188
182
|
def once(event, callback)
|
|
@@ -195,6 +189,12 @@ module Playwright
|
|
|
195
189
|
event_emitter_proxy.on(event, callback)
|
|
196
190
|
end
|
|
197
191
|
|
|
192
|
+
# -- inherited from EventEmitter --
|
|
193
|
+
# @nodoc
|
|
194
|
+
def off(event, callback)
|
|
195
|
+
event_emitter_proxy.off(event, callback)
|
|
196
|
+
end
|
|
197
|
+
|
|
198
198
|
private def event_emitter_proxy
|
|
199
199
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
200
200
|
end
|
|
@@ -129,12 +129,6 @@ module Playwright
|
|
|
129
129
|
wrap_impl(@impl.stop_har)
|
|
130
130
|
end
|
|
131
131
|
|
|
132
|
-
# -- inherited from EventEmitter --
|
|
133
|
-
# @nodoc
|
|
134
|
-
def off(event, callback)
|
|
135
|
-
event_emitter_proxy.off(event, callback)
|
|
136
|
-
end
|
|
137
|
-
|
|
138
132
|
# -- inherited from EventEmitter --
|
|
139
133
|
# @nodoc
|
|
140
134
|
def once(event, callback)
|
|
@@ -147,6 +141,12 @@ module Playwright
|
|
|
147
141
|
event_emitter_proxy.on(event, callback)
|
|
148
142
|
end
|
|
149
143
|
|
|
144
|
+
# -- inherited from EventEmitter --
|
|
145
|
+
# @nodoc
|
|
146
|
+
def off(event, callback)
|
|
147
|
+
event_emitter_proxy.off(event, callback)
|
|
148
|
+
end
|
|
149
|
+
|
|
150
150
|
private def event_emitter_proxy
|
|
151
151
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
152
152
|
end
|
|
@@ -34,12 +34,6 @@ module Playwright
|
|
|
34
34
|
wrap_impl(@impl.wait_for_event(unwrap_impl(event), predicate: unwrap_impl(predicate), timeout: unwrap_impl(timeout), &wrap_block_call(block)))
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
# -- inherited from EventEmitter --
|
|
38
|
-
# @nodoc
|
|
39
|
-
def off(event, callback)
|
|
40
|
-
event_emitter_proxy.off(event, callback)
|
|
41
|
-
end
|
|
42
|
-
|
|
43
37
|
# -- inherited from EventEmitter --
|
|
44
38
|
# @nodoc
|
|
45
39
|
def once(event, callback)
|
|
@@ -52,6 +46,12 @@ module Playwright
|
|
|
52
46
|
event_emitter_proxy.on(event, callback)
|
|
53
47
|
end
|
|
54
48
|
|
|
49
|
+
# -- inherited from EventEmitter --
|
|
50
|
+
# @nodoc
|
|
51
|
+
def off(event, callback)
|
|
52
|
+
event_emitter_proxy.off(event, callback)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
55
|
private def event_emitter_proxy
|
|
56
56
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
57
57
|
end
|
|
@@ -73,12 +73,6 @@ module Playwright
|
|
|
73
73
|
wrap_impl(@impl.page=(unwrap_impl(req)))
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
-
# -- inherited from EventEmitter --
|
|
77
|
-
# @nodoc
|
|
78
|
-
def off(event, callback)
|
|
79
|
-
event_emitter_proxy.off(event, callback)
|
|
80
|
-
end
|
|
81
|
-
|
|
82
76
|
# -- inherited from EventEmitter --
|
|
83
77
|
# @nodoc
|
|
84
78
|
def once(event, callback)
|
|
@@ -91,6 +85,12 @@ module Playwright
|
|
|
91
85
|
event_emitter_proxy.on(event, callback)
|
|
92
86
|
end
|
|
93
87
|
|
|
88
|
+
# -- inherited from EventEmitter --
|
|
89
|
+
# @nodoc
|
|
90
|
+
def off(event, callback)
|
|
91
|
+
event_emitter_proxy.off(event, callback)
|
|
92
|
+
end
|
|
93
|
+
|
|
94
94
|
private def event_emitter_proxy
|
|
95
95
|
@event_emitter_proxy ||= EventEmitterProxy.new(self, @impl)
|
|
96
96
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: playwright-ruby-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.64.
|
|
4
|
+
version: 1.64.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- YusukeIwaki
|
|
@@ -446,5 +446,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
446
446
|
requirements: []
|
|
447
447
|
rubygems_version: 3.6.9
|
|
448
448
|
specification_version: 4
|
|
449
|
-
summary: The Ruby binding of playwright driver 1.64.
|
|
449
|
+
summary: The Ruby binding of playwright driver 1.64.1
|
|
450
450
|
test_files: []
|