selenium-devtools 0.102.0 → 0.104.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/{v101 → v103}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/animation.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/audits.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/browser.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/cast.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/console.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/css.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/database.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/dom.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/dom_storage.rb +7 -2
- data/lib/selenium/devtools/{v101 → v103}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/heap_profiler.rb +8 -6
- data/lib/selenium/devtools/{v101 → v103}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/input.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/io.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/log.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/media.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/memory.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/network.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/page.rb +4 -4
- data/lib/selenium/devtools/{v100 → v103}/performance.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/runtime.rb +8 -6
- data/lib/selenium/devtools/{v101 → v103}/schema.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/security.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/storage.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v101 → v103}/target.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v100 → v103}/web_authn.rb +5 -4
- data/lib/selenium/devtools/v103.rb +1 -0
- data/lib/selenium/devtools/{v100 → v104}/accessibility.rb +3 -4
- data/lib/selenium/devtools/{v100 → v104}/animation.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/audits.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/browser.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/cast.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/console.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/css.rb +7 -2
- data/lib/selenium/devtools/{v100 → v104}/database.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/debugger.rb +5 -4
- data/lib/selenium/devtools/{v101 → v104}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/dom.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/emulation.rb +12 -2
- data/lib/selenium/devtools/{v100 → v104}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/heap_profiler.rb +8 -6
- data/lib/selenium/devtools/{v100 → v104}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/input.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/io.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/log.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/media.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/memory.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/network.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/page.rb +4 -4
- data/lib/selenium/devtools/{v101 → v104}/performance.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/runtime.rb +8 -6
- data/lib/selenium/devtools/{v100 → v104}/schema.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/security.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/storage.rb +7 -2
- data/lib/selenium/devtools/{v100 → v104}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v100 → v104}/target.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v101 → v104}/web_authn.rb +5 -4
- data/lib/selenium/devtools/v104.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/lib/selenium/devtools.rb +0 -2
- data/selenium-devtools.gemspec +1 -1
- metadata +100 -100
- data/lib/selenium/devtools/v100.rb +0 -1
- data/lib/selenium/devtools/v101.rb +0 -1
|
@@ -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 V103
|
|
24
24
|
class Profiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
console_profile_finished: 'consoleProfileFinished',
|
|
@@ -90,6 +90,6 @@ module Selenium
|
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
end # Profiler
|
|
93
|
-
end #
|
|
93
|
+
end # V103
|
|
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 V103
|
|
24
24
|
class Runtime
|
|
25
25
|
EVENTS = {
|
|
26
26
|
binding_called: 'bindingCalled',
|
|
@@ -49,7 +49,7 @@ module Selenium
|
|
|
49
49
|
generatePreview: generate_preview)
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
def call_function_on(function_declaration:, object_id: nil, arguments: nil, silent: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, execution_context_id: nil, object_group: nil, throw_on_side_effect: nil)
|
|
52
|
+
def call_function_on(function_declaration:, object_id: nil, arguments: nil, silent: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, execution_context_id: nil, object_group: nil, throw_on_side_effect: nil, generate_web_driver_value: nil)
|
|
53
53
|
@devtools.send_cmd('Runtime.callFunctionOn',
|
|
54
54
|
functionDeclaration: function_declaration,
|
|
55
55
|
objectId: object_id,
|
|
@@ -61,7 +61,8 @@ module Selenium
|
|
|
61
61
|
awaitPromise: await_promise,
|
|
62
62
|
executionContextId: execution_context_id,
|
|
63
63
|
objectGroup: object_group,
|
|
64
|
-
throwOnSideEffect: throw_on_side_effect
|
|
64
|
+
throwOnSideEffect: throw_on_side_effect,
|
|
65
|
+
generateWebDriverValue: generate_web_driver_value)
|
|
65
66
|
end
|
|
66
67
|
|
|
67
68
|
def compile_script(expression:, source_url:, persist_script:, execution_context_id: nil)
|
|
@@ -84,7 +85,7 @@ module Selenium
|
|
|
84
85
|
@devtools.send_cmd('Runtime.enable')
|
|
85
86
|
end
|
|
86
87
|
|
|
87
|
-
def evaluate(expression:, object_group: nil, include_command_line_api: nil, silent: nil, context_id: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, throw_on_side_effect: nil, timeout: nil, disable_breaks: nil, repl_mode: nil, allow_unsafe_eval_blocked_by_csp: nil, unique_context_id: nil)
|
|
88
|
+
def evaluate(expression:, object_group: nil, include_command_line_api: nil, silent: nil, context_id: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, throw_on_side_effect: nil, timeout: nil, disable_breaks: nil, repl_mode: nil, allow_unsafe_eval_blocked_by_csp: nil, unique_context_id: nil, generate_web_driver_value: nil)
|
|
88
89
|
@devtools.send_cmd('Runtime.evaluate',
|
|
89
90
|
expression: expression,
|
|
90
91
|
objectGroup: object_group,
|
|
@@ -100,7 +101,8 @@ module Selenium
|
|
|
100
101
|
disableBreaks: disable_breaks,
|
|
101
102
|
replMode: repl_mode,
|
|
102
103
|
allowUnsafeEvalBlockedByCSP: allow_unsafe_eval_blocked_by_csp,
|
|
103
|
-
uniqueContextId: unique_context_id
|
|
104
|
+
uniqueContextId: unique_context_id,
|
|
105
|
+
generateWebDriverValue: generate_web_driver_value)
|
|
104
106
|
end
|
|
105
107
|
|
|
106
108
|
def get_isolate_id
|
|
@@ -194,6 +196,6 @@ module Selenium
|
|
|
194
196
|
end
|
|
195
197
|
|
|
196
198
|
end # Runtime
|
|
197
|
-
end #
|
|
199
|
+
end # V103
|
|
198
200
|
end # DevTools
|
|
199
201
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
24
24
|
class Storage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
@@ -113,6 +113,6 @@ module Selenium
|
|
|
113
113
|
end
|
|
114
114
|
|
|
115
115
|
end # Storage
|
|
116
|
-
end #
|
|
116
|
+
end # V103
|
|
117
117
|
end # DevTools
|
|
118
118
|
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 V103
|
|
24
24
|
class SystemInfo
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -41,6 +41,6 @@ module Selenium
|
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
end # SystemInfo
|
|
44
|
-
end #
|
|
44
|
+
end # V103
|
|
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 V103
|
|
24
24
|
class Target
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attached_to_target: 'attachedToTarget',
|
|
@@ -141,6 +141,6 @@ module Selenium
|
|
|
141
141
|
end
|
|
142
142
|
|
|
143
143
|
end # Target
|
|
144
|
-
end #
|
|
144
|
+
end # V103
|
|
145
145
|
end # DevTools
|
|
146
146
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
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 # V103
|
|
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 V103
|
|
24
24
|
class WebAuthn
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -32,8 +32,9 @@ module Selenium
|
|
|
32
32
|
@devtools.callbacks["WebAuthn.#{event}"] << block
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
def enable
|
|
36
|
-
@devtools.send_cmd('WebAuthn.enable'
|
|
35
|
+
def enable(enable_ui: nil)
|
|
36
|
+
@devtools.send_cmd('WebAuthn.enable',
|
|
37
|
+
enableUI: enable_ui)
|
|
37
38
|
end
|
|
38
39
|
|
|
39
40
|
def disable
|
|
@@ -91,6 +92,6 @@ module Selenium
|
|
|
91
92
|
end
|
|
92
93
|
|
|
93
94
|
end # WebAuthn
|
|
94
|
-
end #
|
|
95
|
+
end # V103
|
|
95
96
|
end # DevTools
|
|
96
97
|
end # Selenium
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v103/*", &method(:require))
|
|
@@ -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 V104
|
|
24
24
|
class Accessibility
|
|
25
25
|
EVENTS = {
|
|
26
26
|
load_complete: 'loadComplete',
|
|
@@ -52,10 +52,9 @@ module Selenium
|
|
|
52
52
|
fetchRelatives: fetch_relatives)
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
def get_full_ax_tree(depth: nil,
|
|
55
|
+
def get_full_ax_tree(depth: nil, frame_id: nil)
|
|
56
56
|
@devtools.send_cmd('Accessibility.getFullAXTree',
|
|
57
57
|
depth: depth,
|
|
58
|
-
max_depth: max_depth,
|
|
59
58
|
frameId: frame_id)
|
|
60
59
|
end
|
|
61
60
|
|
|
@@ -87,6 +86,6 @@ module Selenium
|
|
|
87
86
|
end
|
|
88
87
|
|
|
89
88
|
end # Accessibility
|
|
90
|
-
end #
|
|
89
|
+
end # V104
|
|
91
90
|
end # DevTools
|
|
92
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 V104
|
|
24
24
|
class Animation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
animation_canceled: 'animationCanceled',
|
|
@@ -89,6 +89,6 @@ module Selenium
|
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
end # Animation
|
|
92
|
-
end #
|
|
92
|
+
end # V104
|
|
93
93
|
end # DevTools
|
|
94
94
|
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 V104
|
|
24
24
|
class Audits
|
|
25
25
|
EVENTS = {
|
|
26
26
|
issue_added: 'issueAdded',
|
|
@@ -57,6 +57,6 @@ module Selenium
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
end # Audits
|
|
60
|
-
end #
|
|
60
|
+
end # V104
|
|
61
61
|
end # DevTools
|
|
62
62
|
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 V104
|
|
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 # V104
|
|
62
62
|
end # DevTools
|
|
63
63
|
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 V104
|
|
24
24
|
class Browser
|
|
25
25
|
EVENTS = {
|
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -130,6 +130,6 @@ module Selenium
|
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
end # Browser
|
|
133
|
-
end #
|
|
133
|
+
end # V104
|
|
134
134
|
end # DevTools
|
|
135
135
|
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 V104
|
|
24
24
|
class CacheStorage
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -64,6 +64,6 @@ module Selenium
|
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
end # CacheStorage
|
|
67
|
-
end #
|
|
67
|
+
end # V104
|
|
68
68
|
end # DevTools
|
|
69
69
|
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 V104
|
|
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 # V104
|
|
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 V104
|
|
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 # V104
|
|
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 V104
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -104,6 +104,11 @@ module Selenium
|
|
|
104
104
|
styleSheetId: style_sheet_id)
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
+
def get_layers_for_node(node_id:)
|
|
108
|
+
@devtools.send_cmd('CSS.getLayersForNode',
|
|
109
|
+
nodeId: node_id)
|
|
110
|
+
end
|
|
111
|
+
|
|
107
112
|
def track_computed_style_updates(properties_to_track:)
|
|
108
113
|
@devtools.send_cmd('CSS.trackComputedStyleUpdates',
|
|
109
114
|
propertiesToTrack: properties_to_track)
|
|
@@ -184,6 +189,6 @@ module Selenium
|
|
|
184
189
|
end
|
|
185
190
|
|
|
186
191
|
end # CSS
|
|
187
|
-
end #
|
|
192
|
+
end # V104
|
|
188
193
|
end # DevTools
|
|
189
194
|
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 V104
|
|
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 # V104
|
|
59
59
|
end # DevTools
|
|
60
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 V104
|
|
24
24
|
class Debugger
|
|
25
25
|
EVENTS = {
|
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
|
@@ -103,9 +103,10 @@ module Selenium
|
|
|
103
103
|
breakpointId: breakpoint_id)
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
-
def restart_frame(call_frame_id:)
|
|
106
|
+
def restart_frame(call_frame_id:, mode: nil)
|
|
107
107
|
@devtools.send_cmd('Debugger.restartFrame',
|
|
108
|
-
callFrameId: call_frame_id
|
|
108
|
+
callFrameId: call_frame_id,
|
|
109
|
+
mode: mode)
|
|
109
110
|
end
|
|
110
111
|
|
|
111
112
|
def resume(terminate_on_resume: nil)
|
|
@@ -215,6 +216,6 @@ module Selenium
|
|
|
215
216
|
end
|
|
216
217
|
|
|
217
218
|
end # Debugger
|
|
218
|
-
end #
|
|
219
|
+
end # V104
|
|
219
220
|
end # DevTools
|
|
220
221
|
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 V104
|
|
24
24
|
class DeviceOrientation
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -44,6 +44,6 @@ module Selenium
|
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
end # DeviceOrientation
|
|
47
|
-
end #
|
|
47
|
+
end # V104
|
|
48
48
|
end # DevTools
|
|
49
49
|
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 V104
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
@@ -330,6 +330,6 @@ module Selenium
|
|
|
330
330
|
end
|
|
331
331
|
|
|
332
332
|
end # DOM
|
|
333
|
-
end #
|
|
333
|
+
end # V104
|
|
334
334
|
end # DevTools
|
|
335
335
|
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 V104
|
|
24
24
|
class DOMDebugger
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -89,6 +89,6 @@ module Selenium
|
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
end # DOMDebugger
|
|
92
|
-
end #
|
|
92
|
+
end # V104
|
|
93
93
|
end # DevTools
|
|
94
94
|
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 V104
|
|
24
24
|
class DOMSnapshot
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -58,6 +58,6 @@ module Selenium
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
end # DOMSnapshot
|
|
61
|
-
end #
|
|
61
|
+
end # V104
|
|
62
62
|
end # DevTools
|
|
63
63
|
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 V104
|
|
24
24
|
class DOMStorage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_storage_item_added: 'domStorageItemAdded',
|
|
@@ -70,6 +70,6 @@ module Selenium
|
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
end # DOMStorage
|
|
73
|
-
end #
|
|
73
|
+
end # V104
|
|
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 V104
|
|
24
24
|
class Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -182,6 +182,11 @@ module Selenium
|
|
|
182
182
|
imageTypes: image_types)
|
|
183
183
|
end
|
|
184
184
|
|
|
185
|
+
def set_hardware_concurrency_override(hardware_concurrency:)
|
|
186
|
+
@devtools.send_cmd('Emulation.setHardwareConcurrencyOverride',
|
|
187
|
+
hardwareConcurrency: hardware_concurrency)
|
|
188
|
+
end
|
|
189
|
+
|
|
185
190
|
def set_user_agent_override(user_agent:, accept_language: nil, platform: nil, user_agent_metadata: nil)
|
|
186
191
|
@devtools.send_cmd('Emulation.setUserAgentOverride',
|
|
187
192
|
userAgent: user_agent,
|
|
@@ -190,7 +195,12 @@ module Selenium
|
|
|
190
195
|
userAgentMetadata: user_agent_metadata)
|
|
191
196
|
end
|
|
192
197
|
|
|
198
|
+
def set_automation_override(enabled:)
|
|
199
|
+
@devtools.send_cmd('Emulation.setAutomationOverride',
|
|
200
|
+
enabled: enabled)
|
|
201
|
+
end
|
|
202
|
+
|
|
193
203
|
end # Emulation
|
|
194
|
-
end #
|
|
204
|
+
end # V104
|
|
195
205
|
end # DevTools
|
|
196
206
|
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 V104
|
|
24
24
|
class EventBreakpoints
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -43,6 +43,6 @@ module Selenium
|
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
end # EventBreakpoints
|
|
46
|
-
end #
|
|
46
|
+
end # V104
|
|
47
47
|
end # DevTools
|
|
48
48
|
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 V104
|
|
24
24
|
class Fetch
|
|
25
25
|
EVENTS = {
|
|
26
26
|
request_paused: 'requestPaused',
|
|
@@ -98,6 +98,6 @@ module Selenium
|
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
end # Fetch
|
|
101
|
-
end #
|
|
101
|
+
end # V104
|
|
102
102
|
end # DevTools
|
|
103
103
|
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 V104
|
|
24
24
|
class HeadlessExperimental
|
|
25
25
|
EVENTS = {
|
|
26
26
|
needs_begin_frames_changed: 'needsBeginFramesChanged',
|
|
@@ -52,6 +52,6 @@ module Selenium
|
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
end # HeadlessExperimental
|
|
55
|
-
end #
|
|
55
|
+
end # V104
|
|
56
56
|
end # DevTools
|
|
57
57
|
end # Selenium
|