selenium-devtools 0.135.0 → 0.137.0
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/selenium/devtools/{v134 → v136}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/animation.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/audits.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/bluetooth_emulation.rb +46 -3
- data/lib/selenium/devtools/{v134 → v136}/browser.rb +10 -2
- data/lib/selenium/devtools/{v133 → v136}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/cast.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/console.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/css.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/dom.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/emulation.rb +16 -2
- data/lib/selenium/devtools/{v133 → v136}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/input.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/io.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/log.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/media.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/memory.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/network.rb +6 -2
- data/lib/selenium/devtools/{v133 → v136}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/page.rb +8 -6
- data/lib/selenium/devtools/{v133 → v136}/performance.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/preload.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/schema.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/security.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/storage.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v134 → v136}/target.rb +5 -4
- data/lib/selenium/devtools/{v134 → v136}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v133 → v136}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v134.rb → v136.rb} +3 -3
- data/lib/selenium/devtools/{v133 → v137}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/animation.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/audits.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/background_service.rb +2 -2
- data/lib/selenium/devtools/v137/bluetooth_emulation.rb +119 -0
- data/lib/selenium/devtools/{v133 → v137}/browser.rb +10 -2
- data/lib/selenium/devtools/{v134 → v137}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/cast.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/console.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/css.rb +5 -4
- data/lib/selenium/devtools/{v133 → v137}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/dom.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/emulation.rb +27 -4
- data/lib/selenium/devtools/{v134 → v137}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/extensions.rb +7 -2
- data/lib/selenium/devtools/{v133 → v137}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/input.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/io.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/log.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/media.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/memory.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/network.rb +9 -2
- data/lib/selenium/devtools/{v134 → v137}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/page.rb +11 -8
- data/lib/selenium/devtools/{v134 → v137}/performance.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/preload.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/schema.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/security.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/storage.rb +15 -2
- data/lib/selenium/devtools/{v134 → v137}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v133 → v137}/target.rb +9 -6
- data/lib/selenium/devtools/{v133 → v137}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v133.rb → v137.rb} +3 -4
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +1 -1
- metadata +112 -113
- data/lib/selenium/devtools/v133/database.rb +0 -60
- data/lib/selenium/devtools/v134/bluetooth_emulation.rb +0 -60
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Media
|
25
25
|
EVENTS = {
|
26
26
|
player_properties_changed: 'playerPropertiesChanged',
|
@@ -48,6 +48,6 @@ module Selenium
|
|
48
48
|
end
|
49
49
|
|
50
50
|
end # Media
|
51
|
-
end #
|
51
|
+
end # V136
|
52
52
|
end # DevTools
|
53
53
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Memory
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -81,6 +81,6 @@ module Selenium
|
|
81
81
|
end
|
82
82
|
|
83
83
|
end # Memory
|
84
|
-
end #
|
84
|
+
end # V136
|
85
85
|
end # DevTools
|
86
86
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Network
|
25
25
|
EVENTS = {
|
26
26
|
data_received: 'dataReceived',
|
@@ -43,6 +43,10 @@ module Selenium
|
|
43
43
|
web_transport_created: 'webTransportCreated',
|
44
44
|
web_transport_connection_established: 'webTransportConnectionEstablished',
|
45
45
|
web_transport_closed: 'webTransportClosed',
|
46
|
+
direct_tcp_socket_created: 'directTCPSocketCreated',
|
47
|
+
direct_tcp_socket_opened: 'directTCPSocketOpened',
|
48
|
+
direct_tcp_socket_aborted: 'directTCPSocketAborted',
|
49
|
+
direct_tcp_socket_closed: 'directTCPSocketClosed',
|
46
50
|
request_will_be_sent_extra_info: 'requestWillBeSentExtraInfo',
|
47
51
|
response_received_extra_info: 'responseReceivedExtraInfo',
|
48
52
|
response_received_early_hints: 'responseReceivedEarlyHints',
|
@@ -277,6 +281,6 @@ module Selenium
|
|
277
281
|
end
|
278
282
|
|
279
283
|
end # Network
|
280
|
-
end #
|
284
|
+
end # V136
|
281
285
|
end # DevTools
|
282
286
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Overlay
|
25
25
|
EVENTS = {
|
26
26
|
inspect_node_requested: 'inspectNodeRequested',
|
@@ -202,6 +202,6 @@ module Selenium
|
|
202
202
|
end
|
203
203
|
|
204
204
|
end # Overlay
|
205
|
-
end #
|
205
|
+
end # V136
|
206
206
|
end # DevTools
|
207
207
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Page
|
25
25
|
EVENTS = {
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
@@ -123,8 +123,9 @@ module Selenium
|
|
123
123
|
@devtools.send_cmd('Page.disable')
|
124
124
|
end
|
125
125
|
|
126
|
-
def enable
|
127
|
-
@devtools.send_cmd('Page.enable'
|
126
|
+
def enable(enable_file_chooser_opened_event: nil)
|
127
|
+
@devtools.send_cmd('Page.enable',
|
128
|
+
enableFileChooserOpenedEvent: enable_file_chooser_opened_event)
|
128
129
|
end
|
129
130
|
|
130
131
|
def get_app_manifest(manifest_id: nil)
|
@@ -396,9 +397,10 @@ module Selenium
|
|
396
397
|
@devtools.send_cmd('Page.waitForDebugger')
|
397
398
|
end
|
398
399
|
|
399
|
-
def set_intercept_file_chooser_dialog(enabled:)
|
400
|
+
def set_intercept_file_chooser_dialog(enabled:, cancel: nil)
|
400
401
|
@devtools.send_cmd('Page.setInterceptFileChooserDialog',
|
401
|
-
enabled: enabled
|
402
|
+
enabled: enabled,
|
403
|
+
cancel: cancel)
|
402
404
|
end
|
403
405
|
|
404
406
|
def set_prerendering_allowed(is_allowed:)
|
@@ -407,6 +409,6 @@ module Selenium
|
|
407
409
|
end
|
408
410
|
|
409
411
|
end # Page
|
410
|
-
end #
|
412
|
+
end # V136
|
411
413
|
end # DevTools
|
412
414
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Performance
|
25
25
|
EVENTS = {
|
26
26
|
metrics: 'metrics',
|
@@ -54,6 +54,6 @@ module Selenium
|
|
54
54
|
end
|
55
55
|
|
56
56
|
end # Performance
|
57
|
-
end #
|
57
|
+
end # V136
|
58
58
|
end # DevTools
|
59
59
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class PerformanceTimeline
|
25
25
|
EVENTS = {
|
26
26
|
timeline_event_added: 'timelineEventAdded',
|
@@ -41,6 +41,6 @@ module Selenium
|
|
41
41
|
end
|
42
42
|
|
43
43
|
end # PerformanceTimeline
|
44
|
-
end #
|
44
|
+
end # V136
|
45
45
|
end # DevTools
|
46
46
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Preload
|
25
25
|
EVENTS = {
|
26
26
|
rule_set_updated: 'ruleSetUpdated',
|
@@ -49,6 +49,6 @@ module Selenium
|
|
49
49
|
end
|
50
50
|
|
51
51
|
end # Preload
|
52
|
-
end #
|
52
|
+
end # V136
|
53
53
|
end # DevTools
|
54
54
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Profiler
|
25
25
|
EVENTS = {
|
26
26
|
console_profile_finished: 'consoleProfileFinished',
|
@@ -78,6 +78,6 @@ module Selenium
|
|
78
78
|
end
|
79
79
|
|
80
80
|
end # Profiler
|
81
|
-
end #
|
81
|
+
end # V136
|
82
82
|
end # DevTools
|
83
83
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class PWA
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -73,6 +73,6 @@ module Selenium
|
|
73
73
|
end
|
74
74
|
|
75
75
|
end # PWA
|
76
|
-
end #
|
76
|
+
end # V136
|
77
77
|
end # DevTools
|
78
78
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Runtime
|
25
25
|
EVENTS = {
|
26
26
|
binding_called: 'bindingCalled',
|
@@ -197,6 +197,6 @@ module Selenium
|
|
197
197
|
end
|
198
198
|
|
199
199
|
end # Runtime
|
200
|
-
end #
|
200
|
+
end # V136
|
201
201
|
end # DevTools
|
202
202
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Schema
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -37,6 +37,6 @@ module Selenium
|
|
37
37
|
end
|
38
38
|
|
39
39
|
end # Schema
|
40
|
-
end #
|
40
|
+
end # V136
|
41
41
|
end # DevTools
|
42
42
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Security
|
25
25
|
EVENTS = {
|
26
26
|
certificate_error: 'certificateError',
|
@@ -62,6 +62,6 @@ module Selenium
|
|
62
62
|
end
|
63
63
|
|
64
64
|
end # Security
|
65
|
-
end #
|
65
|
+
end # V136
|
66
66
|
end # DevTools
|
67
67
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class ServiceWorker
|
25
25
|
EVENTS = {
|
26
26
|
worker_error_reported: 'workerErrorReported',
|
@@ -107,6 +107,6 @@ module Selenium
|
|
107
107
|
end
|
108
108
|
|
109
109
|
end # ServiceWorker
|
110
|
-
end #
|
110
|
+
end # V136
|
111
111
|
end # DevTools
|
112
112
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Storage
|
25
25
|
EVENTS = {
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
@@ -234,6 +234,6 @@ module Selenium
|
|
234
234
|
end
|
235
235
|
|
236
236
|
end # Storage
|
237
|
-
end #
|
237
|
+
end # V136
|
238
238
|
end # DevTools
|
239
239
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class SystemInfo
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -46,6 +46,6 @@ module Selenium
|
|
46
46
|
end
|
47
47
|
|
48
48
|
end # SystemInfo
|
49
|
-
end #
|
49
|
+
end # V136
|
50
50
|
end # DevTools
|
51
51
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Target
|
25
25
|
EVENTS = {
|
26
26
|
attached_to_target: 'attachedToTarget',
|
@@ -61,10 +61,11 @@ module Selenium
|
|
61
61
|
targetId: target_id)
|
62
62
|
end
|
63
63
|
|
64
|
-
def expose_dev_tools_protocol(target_id:, binding_name: nil)
|
64
|
+
def expose_dev_tools_protocol(target_id:, binding_name: nil, inherit_permissions: nil)
|
65
65
|
@devtools.send_cmd('Target.exposeDevToolsProtocol',
|
66
66
|
targetId: target_id,
|
67
|
-
bindingName: binding_name
|
67
|
+
bindingName: binding_name,
|
68
|
+
inheritPermissions: inherit_permissions)
|
68
69
|
end
|
69
70
|
|
70
71
|
def create_browser_context(dispose_on_detach: nil, proxy_server: nil, proxy_bypass_list: nil, origins_with_universal_network_access: nil)
|
@@ -149,6 +150,6 @@ module Selenium
|
|
149
150
|
end
|
150
151
|
|
151
152
|
end # Target
|
152
|
-
end #
|
153
|
+
end # V136
|
153
154
|
end # DevTools
|
154
155
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Tethering
|
25
25
|
EVENTS = {
|
26
26
|
accepted: 'accepted',
|
@@ -46,6 +46,6 @@ module Selenium
|
|
46
46
|
end
|
47
47
|
|
48
48
|
end # Tethering
|
49
|
-
end #
|
49
|
+
end # V136
|
50
50
|
end # DevTools
|
51
51
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class Tracing
|
25
25
|
EVENTS = {
|
26
26
|
buffer_usage: 'bufferUsage',
|
@@ -70,6 +70,6 @@ module Selenium
|
|
70
70
|
end
|
71
71
|
|
72
72
|
end # Tracing
|
73
|
-
end #
|
73
|
+
end # V136
|
74
74
|
end # DevTools
|
75
75
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class WebAudio
|
25
25
|
EVENTS = {
|
26
26
|
context_created: 'contextCreated',
|
@@ -61,6 +61,6 @@ module Selenium
|
|
61
61
|
end
|
62
62
|
|
63
63
|
end # WebAudio
|
64
|
-
end #
|
64
|
+
end # V136
|
65
65
|
end # DevTools
|
66
66
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V136
|
24
24
|
class WebAuthn
|
25
25
|
EVENTS = {
|
26
26
|
credential_added: 'credentialAdded',
|
@@ -114,6 +114,6 @@ module Selenium
|
|
114
114
|
end
|
115
115
|
|
116
116
|
end # WebAuthn
|
117
|
-
end #
|
117
|
+
end # V136
|
118
118
|
end # DevTools
|
119
119
|
end # Selenium
|
@@ -19,11 +19,11 @@
|
|
19
19
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
|
22
|
-
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/
|
22
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v136/*", &method(:require))
|
23
23
|
|
24
24
|
module Selenium
|
25
25
|
module DevTools
|
26
|
-
module
|
26
|
+
module V136
|
27
27
|
METHODS_TO_CLASSES = {
|
28
28
|
accessibility: 'Accessibility',
|
29
29
|
animation: 'Animation',
|
@@ -79,6 +79,6 @@ module Selenium
|
|
79
79
|
runtime: 'Runtime',
|
80
80
|
schema: 'Schema',
|
81
81
|
}.freeze
|
82
|
-
end #
|
82
|
+
end # V136
|
83
83
|
end # DevTools
|
84
84
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V137
|
24
24
|
class Accessibility
|
25
25
|
EVENTS = {
|
26
26
|
load_complete: 'loadComplete',
|
@@ -86,6 +86,6 @@ module Selenium
|
|
86
86
|
end
|
87
87
|
|
88
88
|
end # Accessibility
|
89
|
-
end #
|
89
|
+
end # V137
|
90
90
|
end # DevTools
|
91
91
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V137
|
24
24
|
class Animation
|
25
25
|
EVENTS = {
|
26
26
|
animation_canceled: 'animationCanceled',
|
@@ -90,6 +90,6 @@ module Selenium
|
|
90
90
|
end
|
91
91
|
|
92
92
|
end # Animation
|
93
|
-
end #
|
93
|
+
end # V137
|
94
94
|
end # DevTools
|
95
95
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V137
|
24
24
|
class Audits
|
25
25
|
EVENTS = {
|
26
26
|
issue_added: 'issueAdded',
|
@@ -61,6 +61,6 @@ module Selenium
|
|
61
61
|
end
|
62
62
|
|
63
63
|
end # Audits
|
64
|
-
end #
|
64
|
+
end # V137
|
65
65
|
end # DevTools
|
66
66
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V137
|
24
24
|
class Autofill
|
25
25
|
EVENTS = {
|
26
26
|
address_form_filled: 'addressFormFilled',
|
@@ -56,6 +56,6 @@ module Selenium
|
|
56
56
|
end
|
57
57
|
|
58
58
|
end # Autofill
|
59
|
-
end #
|
59
|
+
end # V137
|
60
60
|
end # DevTools
|
61
61
|
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V137
|
24
24
|
class BackgroundService
|
25
25
|
EVENTS = {
|
26
26
|
recording_state_changed: 'recordingStateChanged',
|
@@ -58,6 +58,6 @@ module Selenium
|
|
58
58
|
end
|
59
59
|
|
60
60
|
end # BackgroundService
|
61
|
-
end #
|
61
|
+
end # V137
|
62
62
|
end # DevTools
|
63
63
|
end # Selenium
|
@@ -0,0 +1,119 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Licensed to the Software Freedom Conservancy (SFC) under one
|
4
|
+
# or more contributor license agreements. See the NOTICE file
|
5
|
+
# distributed with this work for additional information
|
6
|
+
# regarding copyright ownership. The SFC licenses this file
|
7
|
+
# to you under the Apache License, Version 2.0 (the
|
8
|
+
# "License"); you may not use this file except in compliance
|
9
|
+
# with the License. You may obtain a copy of the License at
|
10
|
+
#
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
#
|
13
|
+
# Unless required by applicable law or agreed to in writing,
|
14
|
+
# software distributed under the License is distributed on an
|
15
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
16
|
+
# KIND, either express or implied. See the License for the
|
17
|
+
# specific language governing permissions and limitations
|
18
|
+
# under the License.
|
19
|
+
|
20
|
+
# This file is automatically generated. Any changes will be lost!
|
21
|
+
module Selenium
|
22
|
+
module DevTools
|
23
|
+
module V137
|
24
|
+
class BluetoothEmulation
|
25
|
+
EVENTS = {
|
26
|
+
gatt_operation_received: 'gattOperationReceived',
|
27
|
+
characteristic_operation_received: 'characteristicOperationReceived',
|
28
|
+
}.freeze
|
29
|
+
|
30
|
+
def initialize(devtools)
|
31
|
+
@devtools = devtools
|
32
|
+
end
|
33
|
+
|
34
|
+
def on(event, &block)
|
35
|
+
event = EVENTS[event] if event.is_a?(Symbol)
|
36
|
+
@devtools.callbacks["BluetoothEmulation.#{event}"] << block
|
37
|
+
end
|
38
|
+
|
39
|
+
def enable(state:, le_supported:)
|
40
|
+
@devtools.send_cmd('BluetoothEmulation.enable',
|
41
|
+
state: state,
|
42
|
+
leSupported: le_supported)
|
43
|
+
end
|
44
|
+
|
45
|
+
def set_simulated_central_state(state:)
|
46
|
+
@devtools.send_cmd('BluetoothEmulation.setSimulatedCentralState',
|
47
|
+
state: state)
|
48
|
+
end
|
49
|
+
|
50
|
+
def disable
|
51
|
+
@devtools.send_cmd('BluetoothEmulation.disable')
|
52
|
+
end
|
53
|
+
|
54
|
+
def simulate_preconnected_peripheral(address:, name:, manufacturer_data:, known_service_uuids:)
|
55
|
+
@devtools.send_cmd('BluetoothEmulation.simulatePreconnectedPeripheral',
|
56
|
+
address: address,
|
57
|
+
name: name,
|
58
|
+
manufacturerData: manufacturer_data,
|
59
|
+
knownServiceUuids: known_service_uuids)
|
60
|
+
end
|
61
|
+
|
62
|
+
def simulate_advertisement(entry:)
|
63
|
+
@devtools.send_cmd('BluetoothEmulation.simulateAdvertisement',
|
64
|
+
entry: entry)
|
65
|
+
end
|
66
|
+
|
67
|
+
def simulate_gatt_operation_response(address:, type:, code:)
|
68
|
+
@devtools.send_cmd('BluetoothEmulation.simulateGATTOperationResponse',
|
69
|
+
address: address,
|
70
|
+
type: type,
|
71
|
+
code: code)
|
72
|
+
end
|
73
|
+
|
74
|
+
def simulate_characteristic_operation_response(characteristic_id:, type:, code:, data: nil)
|
75
|
+
@devtools.send_cmd('BluetoothEmulation.simulateCharacteristicOperationResponse',
|
76
|
+
characteristicId: characteristic_id,
|
77
|
+
type: type,
|
78
|
+
code: code,
|
79
|
+
data: data)
|
80
|
+
end
|
81
|
+
|
82
|
+
def add_service(address:, service_uuid:)
|
83
|
+
@devtools.send_cmd('BluetoothEmulation.addService',
|
84
|
+
address: address,
|
85
|
+
serviceUuid: service_uuid)
|
86
|
+
end
|
87
|
+
|
88
|
+
def remove_service(service_id:)
|
89
|
+
@devtools.send_cmd('BluetoothEmulation.removeService',
|
90
|
+
serviceId: service_id)
|
91
|
+
end
|
92
|
+
|
93
|
+
def add_characteristic(service_id:, characteristic_uuid:, properties:)
|
94
|
+
@devtools.send_cmd('BluetoothEmulation.addCharacteristic',
|
95
|
+
serviceId: service_id,
|
96
|
+
characteristicUuid: characteristic_uuid,
|
97
|
+
properties: properties)
|
98
|
+
end
|
99
|
+
|
100
|
+
def remove_characteristic(characteristic_id:)
|
101
|
+
@devtools.send_cmd('BluetoothEmulation.removeCharacteristic',
|
102
|
+
characteristicId: characteristic_id)
|
103
|
+
end
|
104
|
+
|
105
|
+
def add_descriptor(characteristic_id:, descriptor_uuid:)
|
106
|
+
@devtools.send_cmd('BluetoothEmulation.addDescriptor',
|
107
|
+
characteristicId: characteristic_id,
|
108
|
+
descriptorUuid: descriptor_uuid)
|
109
|
+
end
|
110
|
+
|
111
|
+
def remove_descriptor(descriptor_id:)
|
112
|
+
@devtools.send_cmd('BluetoothEmulation.removeDescriptor',
|
113
|
+
descriptorId: descriptor_id)
|
114
|
+
end
|
115
|
+
|
116
|
+
end # BluetoothEmulation
|
117
|
+
end # V137
|
118
|
+
end # DevTools
|
119
|
+
end # Selenium
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V137
|
24
24
|
class Browser
|
25
25
|
EVENTS = {
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
@@ -134,7 +134,15 @@ module Selenium
|
|
134
134
|
url: url)
|
135
135
|
end
|
136
136
|
|
137
|
+
def add_privacy_sandbox_coordinator_key_config(api:, coordinator_origin:, key_config:, browser_context_id: nil)
|
138
|
+
@devtools.send_cmd('Browser.addPrivacySandboxCoordinatorKeyConfig',
|
139
|
+
api: api,
|
140
|
+
coordinatorOrigin: coordinator_origin,
|
141
|
+
keyConfig: key_config,
|
142
|
+
browserContextId: browser_context_id)
|
143
|
+
end
|
144
|
+
|
137
145
|
end # Browser
|
138
|
-
end #
|
146
|
+
end # V137
|
139
147
|
end # DevTools
|
140
148
|
end # Selenium
|