selenium-devtools 0.91.1 → 0.95.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/selenium/devtools/{v89 → v93}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/animation.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/application_cache.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/audits.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/browser.rb +2 -2
- data/lib/selenium/devtools/{v88 → v93}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/cast.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/console.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/css.rb +9 -2
- data/lib/selenium/devtools/{v89 → v93}/database.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/dom.rb +8 -2
- data/lib/selenium/devtools/{v90 → v93}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v88 → v93}/dom_snapshot.rb +6 -4
- data/lib/selenium/devtools/{v88 → v93}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/heap_profiler.rb +8 -6
- data/lib/selenium/devtools/{v90 → v93}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/input.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v88 → v93}/io.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/log.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/media.rb +2 -2
- data/lib/selenium/devtools/{v88 → v93}/memory.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/network.rb +6 -8
- data/lib/selenium/devtools/{v91 → v93}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v91 → v93}/page.rb +6 -4
- data/lib/selenium/devtools/{v90 → v93}/performance.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/runtime.rb +5 -4
- data/lib/selenium/devtools/{v88 → v93}/schema.rb +2 -2
- data/lib/selenium/devtools/{v88 → v93}/security.rb +2 -2
- data/lib/selenium/devtools/{v89 → v93}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/storage.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/target.rb +2 -2
- data/lib/selenium/devtools/{v90 → v93}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v91 → v93}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v88 → v93}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v88 → v93}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v93.rb +1 -0
- data/lib/selenium/devtools/{v90 → v94}/accessibility.rb +8 -6
- data/lib/selenium/devtools/{v91 → v94}/animation.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/application_cache.rb +2 -2
- data/lib/selenium/devtools/{v91 → v94}/audits.rb +2 -2
- data/lib/selenium/devtools/{v91 → v94}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v88 → v94}/browser.rb +15 -4
- data/lib/selenium/devtools/{v89 → v94}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v88 → v94}/cast.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/console.rb +2 -2
- data/lib/selenium/devtools/{v88 → v94}/css.rb +9 -2
- data/lib/selenium/devtools/{v88 → v94}/database.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v88 → v94}/dom.rb +13 -2
- data/lib/selenium/devtools/{v91 → v94}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v89 → v94}/dom_snapshot.rb +6 -4
- data/lib/selenium/devtools/{v90 → v94}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/emulation.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/fetch.rb +5 -4
- data/lib/selenium/devtools/{v90 → v94}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v88 → v94}/heap_profiler.rb +8 -6
- data/lib/selenium/devtools/{v88 → v94}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v89 → v94}/input.rb +28 -2
- data/lib/selenium/devtools/{v88 → v94}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/io.rb +2 -2
- data/lib/selenium/devtools/{v88 → v94}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v88 → v94}/log.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/media.rb +2 -2
- data/lib/selenium/devtools/{v89 → v94}/memory.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/network.rb +16 -9
- data/lib/selenium/devtools/{v90 → v94}/overlay.rb +12 -2
- data/lib/selenium/devtools/{v90 → v94}/page.rb +16 -4
- data/lib/selenium/devtools/{v91 → v94}/performance.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v88 → v94}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/runtime.rb +5 -4
- data/lib/selenium/devtools/{v89 → v94}/schema.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/security.rb +2 -2
- data/lib/selenium/devtools/{v88 → v94}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v90 → v94}/storage.rb +7 -2
- data/lib/selenium/devtools/{v91 → v94}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v88 → v94}/target.rb +2 -2
- data/lib/selenium/devtools/{v89 → v94}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v89 → v94}/tracing.rb +5 -4
- data/lib/selenium/devtools/{v89 → v94}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v89 → v94}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v94.rb +1 -0
- data/lib/selenium/devtools/{v91 → v95}/accessibility.rb +9 -6
- data/lib/selenium/devtools/{v88 → v95}/animation.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/application_cache.rb +2 -2
- data/lib/selenium/devtools/{v88 → v95}/audits.rb +7 -2
- data/lib/selenium/devtools/{v88 → v95}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v89 → v95}/browser.rb +15 -4
- data/lib/selenium/devtools/{v90 → v95}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/cast.rb +2 -2
- data/lib/selenium/devtools/{v88 → v95}/console.rb +2 -2
- data/lib/selenium/devtools/{v89 → v95}/css.rb +9 -2
- data/lib/selenium/devtools/{v90 → v95}/database.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/dom.rb +13 -2
- data/lib/selenium/devtools/{v89 → v95}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/dom_snapshot.rb +6 -4
- data/lib/selenium/devtools/{v91 → v95}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/emulation.rb +7 -2
- data/lib/selenium/devtools/{v88 → v95}/fetch.rb +14 -4
- data/lib/selenium/devtools/{v91 → v95}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/heap_profiler.rb +8 -6
- data/lib/selenium/devtools/{v91 → v95}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/input.rb +28 -2
- data/lib/selenium/devtools/{v91 → v95}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/io.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/log.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/media.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/memory.rb +2 -2
- data/lib/selenium/devtools/{v89 → v95}/network.rb +29 -11
- data/lib/selenium/devtools/{v89 → v95}/overlay.rb +17 -2
- data/lib/selenium/devtools/{v89 → v95}/page.rb +25 -4
- data/lib/selenium/devtools/{v89 → v95}/performance.rb +2 -2
- data/lib/selenium/devtools/{v89 → v95}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/profiler.rb +2 -26
- data/lib/selenium/devtools/{v91 → v95}/runtime.rb +8 -6
- data/lib/selenium/devtools/{v90 → v95}/schema.rb +2 -2
- data/lib/selenium/devtools/{v91 → v95}/security.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v88 → v95}/storage.rb +11 -2
- data/lib/selenium/devtools/{v89 → v95}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v89 → v95}/target.rb +8 -2
- data/lib/selenium/devtools/{v91 → v95}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/tracing.rb +5 -4
- data/lib/selenium/devtools/{v90 → v95}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v90 → v95}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v95.rb +1 -0
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +1 -1
- metadata +144 -190
- data/lib/selenium/devtools/v88/accessibility.rb +0 -67
- data/lib/selenium/devtools/v88/application_cache.rb +0 -60
- data/lib/selenium/devtools/v88/debugger.rb +0 -227
- data/lib/selenium/devtools/v88/device_orientation.rb +0 -49
- data/lib/selenium/devtools/v88/dom_debugger.rb +0 -89
- data/lib/selenium/devtools/v88/emulation.rb +0 -192
- data/lib/selenium/devtools/v88/headless_experimental.rb +0 -57
- data/lib/selenium/devtools/v88/input.rb +0 -142
- data/lib/selenium/devtools/v88/media.rb +0 -53
- data/lib/selenium/devtools/v88/network.rb +0 -241
- data/lib/selenium/devtools/v88/overlay.rb +0 -177
- data/lib/selenium/devtools/v88/page.rb +0 -370
- data/lib/selenium/devtools/v88/performance.rb +0 -59
- data/lib/selenium/devtools/v88/runtime.rb +0 -191
- data/lib/selenium/devtools/v88/system_info.rb +0 -46
- data/lib/selenium/devtools/v88/tethering.rb +0 -51
- data/lib/selenium/devtools/v88/tracing.rb +0 -73
- data/lib/selenium/devtools/v88.rb +0 -1
- data/lib/selenium/devtools/v89/animation.rb +0 -94
- data/lib/selenium/devtools/v89/audits.rb +0 -57
- data/lib/selenium/devtools/v89/background_service.rb +0 -63
- data/lib/selenium/devtools/v89/dom_storage.rb +0 -75
- data/lib/selenium/devtools/v89/indexed_db.rb +0 -96
- data/lib/selenium/devtools/v89/inspector.rb +0 -51
- data/lib/selenium/devtools/v89/io.rb +0 -55
- data/lib/selenium/devtools/v89/layer_tree.rb +0 -91
- data/lib/selenium/devtools/v89/log.rb +0 -62
- data/lib/selenium/devtools/v89/security.rb +0 -67
- data/lib/selenium/devtools/v89/storage.rb +0 -97
- data/lib/selenium/devtools/v89.rb +0 -1
- data/lib/selenium/devtools/v90/browser.rb +0 -124
- data/lib/selenium/devtools/v90/css.rb +0 -175
- data/lib/selenium/devtools/v90.rb +0 -1
- data/lib/selenium/devtools/v91/cache_storage.rb +0 -69
- data/lib/selenium/devtools/v91/cast.rb +0 -66
- data/lib/selenium/devtools/v91/console.rb +0 -53
- data/lib/selenium/devtools/v91/database.rb +0 -60
- data/lib/selenium/devtools/v91/dom.rb +0 -323
- data/lib/selenium/devtools/v91/dom_snapshot.rb +0 -61
- data/lib/selenium/devtools/v91/fetch.rb +0 -93
- data/lib/selenium/devtools/v91/heap_profiler.rb +0 -103
- data/lib/selenium/devtools/v91/memory.rb +0 -82
- data/lib/selenium/devtools/v91/profiler.rb +0 -119
- data/lib/selenium/devtools/v91/schema.rb +0 -42
- data/lib/selenium/devtools/v91/service_worker.rb +0 -112
- data/lib/selenium/devtools/v91/target.rb +0 -139
- data/lib/selenium/devtools/v91/web_audio.rb +0 -66
- data/lib/selenium/devtools/v91/web_authn.rb +0 -96
- data/lib/selenium/devtools/v91.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 V93
|
24
24
|
class Page
|
25
25
|
EVENTS = {
|
26
26
|
dom_content_event_fired: 'domContentEventFired',
|
@@ -42,6 +42,7 @@ module Selenium
|
|
42
42
|
javascript_dialog_closed: 'javascriptDialogClosed',
|
43
43
|
javascript_dialog_opening: 'javascriptDialogOpening',
|
44
44
|
lifecycle_event: 'lifecycleEvent',
|
45
|
+
back_forward_cache_not_used: 'backForwardCacheNotUsed',
|
45
46
|
load_event_fired: 'loadEventFired',
|
46
47
|
navigated_within_document: 'navigatedWithinDocument',
|
47
48
|
screencast_frame: 'screencastFrame',
|
@@ -64,10 +65,11 @@ module Selenium
|
|
64
65
|
scriptSource: script_source)
|
65
66
|
end
|
66
67
|
|
67
|
-
def add_script_to_evaluate_on_new_document(source:, world_name: nil)
|
68
|
+
def add_script_to_evaluate_on_new_document(source:, world_name: nil, include_command_line_api: nil)
|
68
69
|
@devtools.send_cmd('Page.addScriptToEvaluateOnNewDocument',
|
69
70
|
source: source,
|
70
|
-
worldName: world_name
|
71
|
+
worldName: world_name,
|
72
|
+
includeCommandLineAPI: include_command_line_api)
|
71
73
|
end
|
72
74
|
|
73
75
|
def bring_to_front
|
@@ -377,6 +379,6 @@ module Selenium
|
|
377
379
|
end
|
378
380
|
|
379
381
|
end # Page
|
380
|
-
end #
|
382
|
+
end # V93
|
381
383
|
end # DevTools
|
382
384
|
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 V93
|
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 # V93
|
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 V93
|
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 # V93
|
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 V93
|
24
24
|
class Profiler
|
25
25
|
EVENTS = {
|
26
26
|
console_profile_finished: 'consoleProfileFinished',
|
@@ -114,6 +114,6 @@ module Selenium
|
|
114
114
|
end
|
115
115
|
|
116
116
|
end # Profiler
|
117
|
-
end #
|
117
|
+
end # V93
|
118
118
|
end # DevTools
|
119
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 V93
|
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)
|
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)
|
53
53
|
@devtools.send_cmd('Runtime.callFunctionOn',
|
54
54
|
functionDeclaration: function_declaration,
|
55
55
|
objectId: object_id,
|
@@ -60,7 +60,8 @@ module Selenium
|
|
60
60
|
userGesture: user_gesture,
|
61
61
|
awaitPromise: await_promise,
|
62
62
|
executionContextId: execution_context_id,
|
63
|
-
objectGroup: object_group
|
63
|
+
objectGroup: object_group,
|
64
|
+
throwOnSideEffect: throw_on_side_effect)
|
64
65
|
end
|
65
66
|
|
66
67
|
def compile_script(expression:, source_url:, persist_script:, execution_context_id: nil)
|
@@ -187,6 +188,6 @@ module Selenium
|
|
187
188
|
end
|
188
189
|
|
189
190
|
end # Runtime
|
190
|
-
end #
|
191
|
+
end # V93
|
191
192
|
end # DevTools
|
192
193
|
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 V93
|
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 # V93
|
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 V93
|
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 # V93
|
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 V93
|
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 # V93
|
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 V93
|
24
24
|
class Storage
|
25
25
|
EVENTS = {
|
26
26
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
@@ -101,6 +101,6 @@ module Selenium
|
|
101
101
|
end
|
102
102
|
|
103
103
|
end # Storage
|
104
|
-
end #
|
104
|
+
end # V93
|
105
105
|
end # DevTools
|
106
106
|
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 V93
|
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 # V93
|
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 V93
|
24
24
|
class Target
|
25
25
|
EVENTS = {
|
26
26
|
attached_to_target: 'attachedToTarget',
|
@@ -134,6 +134,6 @@ module Selenium
|
|
134
134
|
end
|
135
135
|
|
136
136
|
end # Target
|
137
|
-
end #
|
137
|
+
end # V93
|
138
138
|
end # DevTools
|
139
139
|
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 V93
|
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 # V93
|
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 V93
|
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 # V93
|
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 V93
|
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 # V93
|
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 V93
|
24
24
|
class WebAuthn
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -91,6 +91,6 @@ module Selenium
|
|
91
91
|
end
|
92
92
|
|
93
93
|
end # WebAuthn
|
94
|
-
end #
|
94
|
+
end # V93
|
95
95
|
end # DevTools
|
96
96
|
end # Selenium
|
@@ -0,0 +1 @@
|
|
1
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v93/*", &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 V94
|
24
24
|
class Accessibility
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -48,14 +48,16 @@ module Selenium
|
|
48
48
|
fetchRelatives: fetch_relatives)
|
49
49
|
end
|
50
50
|
|
51
|
-
def get_full_ax_tree(max_depth: nil)
|
51
|
+
def get_full_ax_tree(max_depth: nil, frame_id: nil)
|
52
52
|
@devtools.send_cmd('Accessibility.getFullAXTree',
|
53
|
-
max_depth: max_depth
|
53
|
+
max_depth: max_depth,
|
54
|
+
frameId: frame_id)
|
54
55
|
end
|
55
56
|
|
56
|
-
def get_child_ax_nodes(id:)
|
57
|
+
def get_child_ax_nodes(id:, frame_id: nil)
|
57
58
|
@devtools.send_cmd('Accessibility.getChildAXNodes',
|
58
|
-
id: id
|
59
|
+
id: id,
|
60
|
+
frameId: frame_id)
|
59
61
|
end
|
60
62
|
|
61
63
|
def query_ax_tree(node_id: nil, backend_node_id: nil, object_id: nil, accessible_name: nil, role: nil)
|
@@ -68,6 +70,6 @@ module Selenium
|
|
68
70
|
end
|
69
71
|
|
70
72
|
end # Accessibility
|
71
|
-
end #
|
73
|
+
end # V94
|
72
74
|
end # DevTools
|
73
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 V94
|
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 # V94
|
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 V94
|
24
24
|
class ApplicationCache
|
25
25
|
EVENTS = {
|
26
26
|
application_cache_status_updated: 'applicationCacheStatusUpdated',
|
@@ -55,6 +55,6 @@ module Selenium
|
|
55
55
|
end
|
56
56
|
|
57
57
|
end # ApplicationCache
|
58
|
-
end #
|
58
|
+
end # V94
|
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 V94
|
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 # V94
|
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 V94
|
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 # V94
|
62
62
|
end # DevTools
|
63
63
|
end # Selenium
|
@@ -20,8 +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 V94
|
24
24
|
class Browser
|
25
|
+
EVENTS = {
|
26
|
+
download_will_begin: 'downloadWillBegin',
|
27
|
+
download_progress: 'downloadProgress',
|
28
|
+
}.freeze
|
25
29
|
|
26
30
|
def initialize(devtools)
|
27
31
|
@devtools = devtools
|
@@ -52,11 +56,18 @@ module Selenium
|
|
52
56
|
browserContextId: browser_context_id)
|
53
57
|
end
|
54
58
|
|
55
|
-
def set_download_behavior(behavior:, browser_context_id: nil, download_path: nil)
|
59
|
+
def set_download_behavior(behavior:, browser_context_id: nil, download_path: nil, events_enabled: nil)
|
56
60
|
@devtools.send_cmd('Browser.setDownloadBehavior',
|
57
61
|
behavior: behavior,
|
58
62
|
browserContextId: browser_context_id,
|
59
|
-
downloadPath: download_path
|
63
|
+
downloadPath: download_path,
|
64
|
+
eventsEnabled: events_enabled)
|
65
|
+
end
|
66
|
+
|
67
|
+
def cancel_download(guid:, browser_context_id: nil)
|
68
|
+
@devtools.send_cmd('Browser.cancelDownload',
|
69
|
+
guid: guid,
|
70
|
+
browserContextId: browser_context_id)
|
60
71
|
end
|
61
72
|
|
62
73
|
def close
|
@@ -119,6 +130,6 @@ module Selenium
|
|
119
130
|
end
|
120
131
|
|
121
132
|
end # Browser
|
122
|
-
end #
|
133
|
+
end # V94
|
123
134
|
end # DevTools
|
124
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 V94
|
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 # V94
|
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 V94
|
24
24
|
class Cast
|
25
25
|
EVENTS = {
|
26
26
|
sinks_updated: 'sinksUpdated',
|
@@ -61,6 +61,6 @@ module Selenium
|
|
61
61
|
end
|
62
62
|
|
63
63
|
end # Cast
|
64
|
-
end #
|
64
|
+
end # V94
|
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 V94
|
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 # V94
|
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 V94
|
24
24
|
class CSS
|
25
25
|
EVENTS = {
|
26
26
|
fonts_updated: 'fontsUpdated',
|
@@ -134,6 +134,13 @@ module Selenium
|
|
134
134
|
text: text)
|
135
135
|
end
|
136
136
|
|
137
|
+
def set_container_query_text(style_sheet_id:, range:, text:)
|
138
|
+
@devtools.send_cmd('CSS.setContainerQueryText',
|
139
|
+
styleSheetId: style_sheet_id,
|
140
|
+
range: range,
|
141
|
+
text: text)
|
142
|
+
end
|
143
|
+
|
137
144
|
def set_rule_selector(style_sheet_id:, range:, selector:)
|
138
145
|
@devtools.send_cmd('CSS.setRuleSelector',
|
139
146
|
styleSheetId: style_sheet_id,
|
@@ -170,6 +177,6 @@ module Selenium
|
|
170
177
|
end
|
171
178
|
|
172
179
|
end # CSS
|
173
|
-
end #
|
180
|
+
end # V94
|
174
181
|
end # DevTools
|
175
182
|
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 V94
|
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 # V94
|
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 V94
|
24
24
|
class Debugger
|
25
25
|
EVENTS = {
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
@@ -215,6 +215,6 @@ module Selenium
|
|
215
215
|
end
|
216
216
|
|
217
217
|
end # Debugger
|
218
|
-
end #
|
218
|
+
end # V94
|
219
219
|
end # DevTools
|
220
220
|
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 V94
|
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 # V94
|
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 V94
|
24
24
|
class DOM
|
25
25
|
EVENTS = {
|
26
26
|
attribute_modified: 'attributeModified',
|
@@ -317,7 +317,18 @@ module Selenium
|
|
317
317
|
frameId: frame_id)
|
318
318
|
end
|
319
319
|
|
320
|
+
def get_container_for_node(node_id:, container_name: nil)
|
321
|
+
@devtools.send_cmd('DOM.getContainerForNode',
|
322
|
+
nodeId: node_id,
|
323
|
+
containerName: container_name)
|
324
|
+
end
|
325
|
+
|
326
|
+
def get_querying_descendants_for_container(node_id:)
|
327
|
+
@devtools.send_cmd('DOM.getQueryingDescendantsForContainer',
|
328
|
+
nodeId: node_id)
|
329
|
+
end
|
330
|
+
|
320
331
|
end # DOM
|
321
|
-
end #
|
332
|
+
end # V94
|
322
333
|
end # DevTools
|
323
334
|
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 V94
|
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 # V94
|
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 V94
|
24
24
|
class DOMSnapshot
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -48,14 +48,16 @@ module Selenium
|
|
48
48
|
includeUserAgentShadowTree: include_user_agent_shadow_tree)
|
49
49
|
end
|
50
50
|
|
51
|
-
def capture_snapshot(computed_styles:, include_paint_order: nil, include_dom_rects: nil)
|
51
|
+
def capture_snapshot(computed_styles:, include_paint_order: nil, include_dom_rects: nil, include_blended_background_colors: nil, include_text_color_opacities: nil)
|
52
52
|
@devtools.send_cmd('DOMSnapshot.captureSnapshot',
|
53
53
|
computedStyles: computed_styles,
|
54
54
|
includePaintOrder: include_paint_order,
|
55
|
-
includeDOMRects: include_dom_rects
|
55
|
+
includeDOMRects: include_dom_rects,
|
56
|
+
includeBlendedBackgroundColors: include_blended_background_colors,
|
57
|
+
includeTextColorOpacities: include_text_color_opacities)
|
56
58
|
end
|
57
59
|
|
58
60
|
end # DOMSnapshot
|
59
|
-
end #
|
61
|
+
end # V94
|
60
62
|
end # DevTools
|
61
63
|
end # Selenium
|