selenium-devtools 0.130.0 → 0.132.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/NOTICE +1 -1
- data/lib/selenium/devtools/{v129 → v131}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/animation.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/audits.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/browser.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/cast.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/console.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/css.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/database.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/debugger.rb +10 -4
- data/lib/selenium/devtools/{v129 → v131}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/dom.rb +3 -2
- data/lib/selenium/devtools/{v128 → v131}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/input.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/io.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/log.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/media.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/memory.rb +6 -2
- data/lib/selenium/devtools/{v129 → v131}/network.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/page.rb +3 -2
- data/lib/selenium/devtools/{v128 → v131}/performance.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/preload.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/schema.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/security.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/storage.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/target.rb +2 -2
- data/lib/selenium/devtools/{v129 → v131}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v128 → v131}/web_authn.rb +4 -2
- data/lib/selenium/devtools/{v129.rb → v131.rb} +3 -3
- data/lib/selenium/devtools/{v128 → v132}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/animation.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/audits.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/background_service.rb +2 -2
- data/lib/selenium/devtools/v132/bluetooth_emulation.rb +60 -0
- data/lib/selenium/devtools/{v128 → v132}/browser.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/cast.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/console.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/css.rb +8 -2
- data/lib/selenium/devtools/{v129 → v132}/database.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/debugger.rb +10 -4
- data/lib/selenium/devtools/{v128 → v132}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/dom.rb +10 -4
- data/lib/selenium/devtools/{v129 → v132}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/extensions.rb +29 -2
- data/lib/selenium/devtools/{v128 → v132}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/input.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/io.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/log.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/media.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/memory.rb +6 -2
- data/lib/selenium/devtools/{v128 → v132}/network.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/page.rb +3 -2
- data/lib/selenium/devtools/{v129 → v132}/performance.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/preload.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/schema.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/security.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/storage.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/target.rb +2 -2
- data/lib/selenium/devtools/{v128 → v132}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v129 → v132}/web_authn.rb +4 -2
- data/lib/selenium/devtools/{v128.rb → v132.rb} +4 -3
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +3 -2
- metadata +118 -116
@@ -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 V131
|
24
24
|
class Memory
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -36,6 +36,10 @@ module Selenium
|
|
36
36
|
@devtools.send_cmd('Memory.getDOMCounters')
|
37
37
|
end
|
38
38
|
|
39
|
+
def get_dom_counters_for_leak_detection
|
40
|
+
@devtools.send_cmd('Memory.getDOMCountersForLeakDetection')
|
41
|
+
end
|
42
|
+
|
39
43
|
def prepare_for_leak_detection
|
40
44
|
@devtools.send_cmd('Memory.prepareForLeakDetection')
|
41
45
|
end
|
@@ -77,6 +81,6 @@ module Selenium
|
|
77
81
|
end
|
78
82
|
|
79
83
|
end # Memory
|
80
|
-
end #
|
84
|
+
end # V131
|
81
85
|
end # DevTools
|
82
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 V131
|
24
24
|
class Network
|
25
25
|
EVENTS = {
|
26
26
|
data_received: 'dataReceived',
|
@@ -270,6 +270,6 @@ module Selenium
|
|
270
270
|
end
|
271
271
|
|
272
272
|
end # Network
|
273
|
-
end #
|
273
|
+
end # V131
|
274
274
|
end # DevTools
|
275
275
|
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 V131
|
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 # V131
|
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 V131
|
24
24
|
class Page
|
25
25
|
EVENTS = {
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
@@ -28,6 +28,7 @@ module Selenium
|
|
28
28
|
frame_attached: 'frameAttached',
|
29
29
|
frame_cleared_scheduled_navigation: 'frameClearedScheduledNavigation',
|
30
30
|
frame_detached: 'frameDetached',
|
31
|
+
frame_subtree_will_be_detached: 'frameSubtreeWillBeDetached',
|
31
32
|
frame_navigated: 'frameNavigated',
|
32
33
|
document_opened: 'documentOpened',
|
33
34
|
frame_resized: 'frameResized',
|
@@ -405,6 +406,6 @@ module Selenium
|
|
405
406
|
end
|
406
407
|
|
407
408
|
end # Page
|
408
|
-
end #
|
409
|
+
end # V131
|
409
410
|
end # DevTools
|
410
411
|
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 V131
|
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 # V131
|
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 V131
|
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 # V131
|
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 V131
|
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 # V131
|
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 V131
|
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 # V131
|
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 V131
|
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 # V131
|
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 V131
|
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 # V131
|
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 V131
|
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 # V131
|
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 V131
|
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 # V131
|
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 V131
|
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 # V131
|
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 V131
|
24
24
|
class Storage
|
25
25
|
EVENTS = {
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
@@ -228,6 +228,6 @@ module Selenium
|
|
228
228
|
end
|
229
229
|
|
230
230
|
end # Storage
|
231
|
-
end #
|
231
|
+
end # V131
|
232
232
|
end # DevTools
|
233
233
|
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 V131
|
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 # V131
|
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 V131
|
24
24
|
class Target
|
25
25
|
EVENTS = {
|
26
26
|
attached_to_target: 'attachedToTarget',
|
@@ -146,6 +146,6 @@ module Selenium
|
|
146
146
|
end
|
147
147
|
|
148
148
|
end # Target
|
149
|
-
end #
|
149
|
+
end # V131
|
150
150
|
end # DevTools
|
151
151
|
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 V131
|
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 # V131
|
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 V131
|
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 # V131
|
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 V131
|
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 # V131
|
65
65
|
end # DevTools
|
66
66
|
end # Selenium
|
@@ -20,10 +20,12 @@
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
22
|
module DevTools
|
23
|
-
module
|
23
|
+
module V131
|
24
24
|
class WebAuthn
|
25
25
|
EVENTS = {
|
26
26
|
credential_added: 'credentialAdded',
|
27
|
+
credential_deleted: 'credentialDeleted',
|
28
|
+
credential_updated: 'credentialUpdated',
|
27
29
|
credential_asserted: 'credentialAsserted',
|
28
30
|
}.freeze
|
29
31
|
|
@@ -112,6 +114,6 @@ module Selenium
|
|
112
114
|
end
|
113
115
|
|
114
116
|
end # WebAuthn
|
115
|
-
end #
|
117
|
+
end # V131
|
116
118
|
end # DevTools
|
117
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__))}/v131/*", &method(:require))
|
23
23
|
|
24
24
|
module Selenium
|
25
25
|
module DevTools
|
26
|
-
module
|
26
|
+
module V131
|
27
27
|
METHODS_TO_CLASSES = {
|
28
28
|
accessibility: 'Accessibility',
|
29
29
|
animation: 'Animation',
|
@@ -80,6 +80,6 @@ module Selenium
|
|
80
80
|
runtime: 'Runtime',
|
81
81
|
schema: 'Schema',
|
82
82
|
}.freeze
|
83
|
-
end #
|
83
|
+
end # V131
|
84
84
|
end # DevTools
|
85
85
|
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 V132
|
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 # V132
|
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 V132
|
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 # V132
|
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 V132
|
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 # V132
|
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 V132
|
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 # V132
|
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 V132
|
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 # V132
|
62
62
|
end # DevTools
|
63
63
|
end # Selenium
|
@@ -0,0 +1,60 @@
|
|
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 V132
|
24
|
+
class BluetoothEmulation
|
25
|
+
|
26
|
+
def initialize(devtools)
|
27
|
+
@devtools = devtools
|
28
|
+
end
|
29
|
+
|
30
|
+
def on(event, &block)
|
31
|
+
event = EVENTS[event] if event.is_a?(Symbol)
|
32
|
+
@devtools.callbacks["BluetoothEmulation.#{event}"] << block
|
33
|
+
end
|
34
|
+
|
35
|
+
def enable(state:)
|
36
|
+
@devtools.send_cmd('BluetoothEmulation.enable',
|
37
|
+
state: state)
|
38
|
+
end
|
39
|
+
|
40
|
+
def disable
|
41
|
+
@devtools.send_cmd('BluetoothEmulation.disable')
|
42
|
+
end
|
43
|
+
|
44
|
+
def simulate_preconnected_peripheral(address:, name:, manufacturer_data:, known_service_uuids:)
|
45
|
+
@devtools.send_cmd('BluetoothEmulation.simulatePreconnectedPeripheral',
|
46
|
+
address: address,
|
47
|
+
name: name,
|
48
|
+
manufacturerData: manufacturer_data,
|
49
|
+
knownServiceUuids: known_service_uuids)
|
50
|
+
end
|
51
|
+
|
52
|
+
def simulate_advertisement(entry:)
|
53
|
+
@devtools.send_cmd('BluetoothEmulation.simulateAdvertisement',
|
54
|
+
entry: entry)
|
55
|
+
end
|
56
|
+
|
57
|
+
end # BluetoothEmulation
|
58
|
+
end # V132
|
59
|
+
end # DevTools
|
60
|
+
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 V132
|
24
24
|
class Browser
|
25
25
|
EVENTS = {
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
@@ -135,6 +135,6 @@ module Selenium
|
|
135
135
|
end
|
136
136
|
|
137
137
|
end # Browser
|
138
|
-
end #
|
138
|
+
end # V132
|
139
139
|
end # DevTools
|
140
140
|
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 V132
|
24
24
|
class CacheStorage
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -66,6 +66,6 @@ module Selenium
|
|
66
66
|
end
|
67
67
|
|
68
68
|
end # CacheStorage
|
69
|
-
end #
|
69
|
+
end # V132
|
70
70
|
end # DevTools
|
71
71
|
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 V132
|
24
24
|
class Cast
|
25
25
|
EVENTS = {
|
26
26
|
sinks_updated: 'sinksUpdated',
|
@@ -66,6 +66,6 @@ module Selenium
|
|
66
66
|
end
|
67
67
|
|
68
68
|
end # Cast
|
69
|
-
end #
|
69
|
+
end # V132
|
70
70
|
end # DevTools
|
71
71
|
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 V132
|
24
24
|
class Console
|
25
25
|
EVENTS = {
|
26
26
|
message_added: 'messageAdded',
|
@@ -48,6 +48,6 @@ module Selenium
|
|
48
48
|
end
|
49
49
|
|
50
50
|
end # Console
|
51
|
-
end #
|
51
|
+
end # V132
|
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 V132
|
24
24
|
class CSS
|
25
25
|
EVENTS = {
|
26
26
|
fonts_updated: 'fontsUpdated',
|
@@ -28,6 +28,7 @@ module Selenium
|
|
28
28
|
style_sheet_added: 'styleSheetAdded',
|
29
29
|
style_sheet_changed: 'styleSheetChanged',
|
30
30
|
style_sheet_removed: 'styleSheetRemoved',
|
31
|
+
computed_style_updated: 'computedStyleUpdated',
|
31
32
|
}.freeze
|
32
33
|
|
33
34
|
def initialize(devtools)
|
@@ -116,6 +117,11 @@ module Selenium
|
|
116
117
|
selectorText: selector_text)
|
117
118
|
end
|
118
119
|
|
120
|
+
def track_computed_style_updates_for_node(node_id: nil)
|
121
|
+
@devtools.send_cmd('CSS.trackComputedStyleUpdatesForNode',
|
122
|
+
nodeId: node_id)
|
123
|
+
end
|
124
|
+
|
119
125
|
def track_computed_style_updates(properties_to_track:)
|
120
126
|
@devtools.send_cmd('CSS.trackComputedStyleUpdates',
|
121
127
|
propertiesToTrack: properties_to_track)
|
@@ -211,6 +217,6 @@ module Selenium
|
|
211
217
|
end
|
212
218
|
|
213
219
|
end # CSS
|
214
|
-
end #
|
220
|
+
end # V132
|
215
221
|
end # DevTools
|
216
222
|
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 V132
|
24
24
|
class Database
|
25
25
|
EVENTS = {
|
26
26
|
add_database: 'addDatabase',
|
@@ -55,6 +55,6 @@ module Selenium
|
|
55
55
|
end
|
56
56
|
|
57
57
|
end # Database
|
58
|
-
end #
|
58
|
+
end # V132
|
59
59
|
end # DevTools
|
60
60
|
end # Selenium
|