selenium-devtools 0.150.0 → 0.152.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/v150/accessibility.rb +2 -1
- data/lib/selenium/devtools/v150/ads.rb +2 -1
- data/lib/selenium/devtools/v150/animation.rb +2 -1
- data/lib/selenium/devtools/v150/audits.rb +2 -1
- data/lib/selenium/devtools/v150/autofill.rb +2 -1
- data/lib/selenium/devtools/v150/background_service.rb +2 -1
- data/lib/selenium/devtools/v150/bluetooth_emulation.rb +2 -1
- data/lib/selenium/devtools/v150/browser.rb +2 -1
- data/lib/selenium/devtools/v150/cache_storage.rb +2 -1
- data/lib/selenium/devtools/v150/cast.rb +2 -1
- data/lib/selenium/devtools/v150/console.rb +2 -1
- data/lib/selenium/devtools/v150/crash_report_context.rb +2 -1
- data/lib/selenium/devtools/v150/css.rb +2 -1
- data/lib/selenium/devtools/v150/debugger.rb +2 -1
- data/lib/selenium/devtools/v150/device_access.rb +2 -1
- data/lib/selenium/devtools/v150/device_orientation.rb +2 -1
- data/lib/selenium/devtools/v150/dom.rb +2 -1
- data/lib/selenium/devtools/v150/dom_debugger.rb +2 -1
- data/lib/selenium/devtools/v150/dom_snapshot.rb +2 -1
- data/lib/selenium/devtools/v150/dom_storage.rb +2 -1
- data/lib/selenium/devtools/v150/emulation.rb +2 -1
- data/lib/selenium/devtools/v150/event_breakpoints.rb +2 -1
- data/lib/selenium/devtools/v150/extensions.rb +2 -1
- data/lib/selenium/devtools/v150/fed_cm.rb +2 -1
- data/lib/selenium/devtools/v150/fetch.rb +2 -1
- data/lib/selenium/devtools/v150/file_system.rb +2 -1
- data/lib/selenium/devtools/v150/headless_experimental.rb +2 -1
- data/lib/selenium/devtools/v150/heap_profiler.rb +2 -1
- data/lib/selenium/devtools/v150/indexed_db.rb +2 -1
- data/lib/selenium/devtools/v150/input.rb +2 -1
- data/lib/selenium/devtools/v150/inspector.rb +2 -1
- data/lib/selenium/devtools/v150/io.rb +2 -1
- data/lib/selenium/devtools/v150/layer_tree.rb +2 -1
- data/lib/selenium/devtools/v150/log.rb +2 -1
- data/lib/selenium/devtools/v150/media.rb +2 -1
- data/lib/selenium/devtools/v150/memory.rb +2 -1
- data/lib/selenium/devtools/v150/network.rb +2 -1
- data/lib/selenium/devtools/v150/overlay.rb +2 -1
- data/lib/selenium/devtools/v150/page.rb +2 -1
- data/lib/selenium/devtools/v150/performance.rb +2 -1
- data/lib/selenium/devtools/v150/performance_timeline.rb +2 -1
- data/lib/selenium/devtools/v150/preload.rb +2 -1
- data/lib/selenium/devtools/v150/profiler.rb +2 -1
- data/lib/selenium/devtools/v150/pwa.rb +2 -1
- data/lib/selenium/devtools/v150/runtime.rb +2 -1
- data/lib/selenium/devtools/v150/schema.rb +2 -1
- data/lib/selenium/devtools/v150/security.rb +2 -1
- data/lib/selenium/devtools/v150/service_worker.rb +2 -1
- data/lib/selenium/devtools/v150/smart_card_emulation.rb +2 -1
- data/lib/selenium/devtools/v150/storage.rb +2 -1
- data/lib/selenium/devtools/v150/system_info.rb +2 -1
- data/lib/selenium/devtools/v150/target.rb +2 -1
- data/lib/selenium/devtools/v150/tethering.rb +2 -1
- data/lib/selenium/devtools/v150/tracing.rb +2 -1
- data/lib/selenium/devtools/v150/web_audio.rb +2 -1
- data/lib/selenium/devtools/v150/web_authn.rb +2 -1
- data/lib/selenium/devtools/v150/web_mcp.rb +2 -1
- data/lib/selenium/devtools/v150.rb +2 -1
- data/lib/selenium/devtools/{v148 → v151}/accessibility.rb +4 -3
- data/lib/selenium/devtools/v151/ads.rb +43 -0
- data/lib/selenium/devtools/{v148 → v151}/animation.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/audits.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/autofill.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/background_service.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/bluetooth_emulation.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/browser.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/cache_storage.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/cast.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/console.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/crash_report_context.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/css.rb +11 -3
- data/lib/selenium/devtools/{v149 → v151}/debugger.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/device_access.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/device_orientation.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/dom.rb +7 -5
- data/lib/selenium/devtools/{v149 → v151}/dom_debugger.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/dom_snapshot.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/dom_storage.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/emulation.rb +4 -10
- data/lib/selenium/devtools/{v149 → v151}/event_breakpoints.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/extensions.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/fed_cm.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/fetch.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/file_system.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/headless_experimental.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/heap_profiler.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/indexed_db.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/input.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/inspector.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/io.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/layer_tree.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/log.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/media.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/memory.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/network.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/overlay.rb +9 -3
- data/lib/selenium/devtools/{v149 → v151}/page.rb +7 -5
- data/lib/selenium/devtools/{v149 → v151}/performance.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/performance_timeline.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/preload.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/profiler.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/pwa.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/runtime.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/schema.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/security.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/service_worker.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/smart_card_emulation.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/storage.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/system_info.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/target.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/tethering.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/tracing.rb +8 -5
- data/lib/selenium/devtools/{v148 → v151}/web_audio.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/web_authn.rb +4 -3
- data/lib/selenium/devtools/{v149 → v151}/web_mcp.rb +4 -3
- data/lib/selenium/devtools/{v148.rb → v151.rb} +6 -4
- data/lib/selenium/devtools/{v149 → v152}/accessibility.rb +4 -3
- data/lib/selenium/devtools/v152/ads.rb +43 -0
- data/lib/selenium/devtools/{v149 → v152}/animation.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/audits.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/autofill.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/background_service.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/bluetooth_emulation.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/browser.rb +4 -11
- data/lib/selenium/devtools/{v148 → v152}/cache_storage.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/cast.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/console.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/crash_report_context.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/css.rb +11 -3
- data/lib/selenium/devtools/{v148 → v152}/debugger.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/device_access.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/device_orientation.rb +4 -3
- data/lib/selenium/devtools/v152/digital_credentials.rb +47 -0
- data/lib/selenium/devtools/{v148 → v152}/dom.rb +7 -5
- data/lib/selenium/devtools/{v148 → v152}/dom_debugger.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/dom_snapshot.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/dom_storage.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/emulation.rb +4 -10
- data/lib/selenium/devtools/{v148 → v152}/event_breakpoints.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/extensions.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/fed_cm.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/fetch.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/file_system.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/headless_experimental.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/heap_profiler.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/indexed_db.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/input.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/inspector.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/io.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/layer_tree.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/log.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/media.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/memory.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/network.rb +13 -8
- data/lib/selenium/devtools/{v149 → v152}/overlay.rb +9 -3
- data/lib/selenium/devtools/{v148 → v152}/page.rb +7 -5
- data/lib/selenium/devtools/{v148 → v152}/performance.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/performance_timeline.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/preload.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/profiler.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/pwa.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/runtime.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/schema.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/security.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/service_worker.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/smart_card_emulation.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/storage.rb +4 -29
- data/lib/selenium/devtools/{v149 → v152}/system_info.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/target.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/tethering.rb +4 -3
- data/lib/selenium/devtools/{v149 → v152}/tracing.rb +8 -5
- data/lib/selenium/devtools/{v149 → v152}/web_audio.rb +4 -3
- data/lib/selenium/devtools/{v148 → v152}/web_authn.rb +9 -5
- data/lib/selenium/devtools/{v148 → v152}/web_mcp.rb +16 -3
- data/lib/selenium/devtools/{v149.rb → v152.rb} +7 -4
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +119 -116
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V151
|
|
24
25
|
class Tethering
|
|
25
26
|
EVENTS = {
|
|
26
27
|
accepted: 'accepted',
|
|
@@ -46,6 +47,6 @@ module Selenium
|
|
|
46
47
|
end
|
|
47
48
|
|
|
48
49
|
end # Tethering
|
|
49
|
-
end #
|
|
50
|
+
end # V151
|
|
50
51
|
end # DevTools
|
|
51
52
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V151
|
|
24
25
|
class Tracing
|
|
25
26
|
EVENTS = {
|
|
26
27
|
buffer_usage: 'bufferUsage',
|
|
@@ -60,7 +61,7 @@ module Selenium
|
|
|
60
61
|
levelOfDetail: level_of_detail)
|
|
61
62
|
end
|
|
62
63
|
|
|
63
|
-
def start(categories: nil, options: nil, buffer_usage_reporting_interval: nil, transfer_mode: nil, stream_format: nil, stream_compression: nil, trace_config: nil, perfetto_config: nil, tracing_backend: nil)
|
|
64
|
+
def start(categories: nil, options: nil, buffer_usage_reporting_interval: nil, transfer_mode: nil, stream_format: nil, stream_compression: nil, trace_config: nil, perfetto_config: nil, tracing_backend: nil, screenshot_max_size: nil, screenshot_max_count: nil)
|
|
64
65
|
@devtools.send_cmd('Tracing.start',
|
|
65
66
|
categories: categories,
|
|
66
67
|
options: options,
|
|
@@ -70,10 +71,12 @@ module Selenium
|
|
|
70
71
|
streamCompression: stream_compression,
|
|
71
72
|
traceConfig: trace_config,
|
|
72
73
|
perfettoConfig: perfetto_config,
|
|
73
|
-
tracingBackend: tracing_backend
|
|
74
|
+
tracingBackend: tracing_backend,
|
|
75
|
+
screenshotMaxSize: screenshot_max_size,
|
|
76
|
+
screenshotMaxCount: screenshot_max_count)
|
|
74
77
|
end
|
|
75
78
|
|
|
76
79
|
end # Tracing
|
|
77
|
-
end #
|
|
80
|
+
end # V151
|
|
78
81
|
end # DevTools
|
|
79
82
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V151
|
|
24
25
|
class WebAudio
|
|
25
26
|
EVENTS = {
|
|
26
27
|
context_created: 'contextCreated',
|
|
@@ -61,6 +62,6 @@ module Selenium
|
|
|
61
62
|
end
|
|
62
63
|
|
|
63
64
|
end # WebAudio
|
|
64
|
-
end #
|
|
65
|
+
end # V151
|
|
65
66
|
end # DevTools
|
|
66
67
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V151
|
|
24
25
|
class WebAuthn
|
|
25
26
|
EVENTS = {
|
|
26
27
|
credential_added: 'credentialAdded',
|
|
@@ -114,6 +115,6 @@ module Selenium
|
|
|
114
115
|
end
|
|
115
116
|
|
|
116
117
|
end # WebAuthn
|
|
117
|
-
end #
|
|
118
|
+
end # V151
|
|
118
119
|
end # DevTools
|
|
119
120
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V151
|
|
24
25
|
class WebMCP
|
|
25
26
|
EVENTS = {
|
|
26
27
|
tools_added: 'toolsAdded',
|
|
@@ -59,6 +60,6 @@ module Selenium
|
|
|
59
60
|
end
|
|
60
61
|
|
|
61
62
|
end # WebMCP
|
|
62
|
-
end #
|
|
63
|
+
end # V151
|
|
63
64
|
end # DevTools
|
|
64
65
|
end # Selenium
|
|
@@ -17,15 +17,17 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
|
|
22
|
-
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/
|
|
23
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v151/*", &method(:require))
|
|
23
24
|
|
|
24
25
|
module Selenium
|
|
25
26
|
module DevTools
|
|
26
|
-
module
|
|
27
|
+
module V151
|
|
27
28
|
METHODS_TO_CLASSES = {
|
|
28
29
|
accessibility: 'Accessibility',
|
|
30
|
+
ads: 'Ads',
|
|
29
31
|
animation: 'Animation',
|
|
30
32
|
audits: 'Audits',
|
|
31
33
|
autofill: 'Autofill',
|
|
@@ -82,6 +84,6 @@ module Selenium
|
|
|
82
84
|
runtime: 'Runtime',
|
|
83
85
|
schema: 'Schema',
|
|
84
86
|
}.freeze
|
|
85
|
-
end #
|
|
87
|
+
end # V151
|
|
86
88
|
end # DevTools
|
|
87
89
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class Accessibility
|
|
25
26
|
EVENTS = {
|
|
26
27
|
load_complete: 'loadComplete',
|
|
@@ -86,6 +87,6 @@ module Selenium
|
|
|
86
87
|
end
|
|
87
88
|
|
|
88
89
|
end # Accessibility
|
|
89
|
-
end #
|
|
90
|
+
end # V152
|
|
90
91
|
end # DevTools
|
|
91
92
|
end # Selenium
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
|
+
module Selenium
|
|
23
|
+
module DevTools
|
|
24
|
+
module V152
|
|
25
|
+
class Ads
|
|
26
|
+
|
|
27
|
+
def initialize(devtools)
|
|
28
|
+
@devtools = devtools
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
def on(event, &block)
|
|
32
|
+
event = EVENTS[event] if event.is_a?(Symbol)
|
|
33
|
+
@devtools.callbacks["Ads.#{event}"] << block
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def get_ad_metrics
|
|
37
|
+
@devtools.send_cmd('Ads.getAdMetrics')
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end # Ads
|
|
41
|
+
end # V152
|
|
42
|
+
end # DevTools
|
|
43
|
+
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class Animation
|
|
25
26
|
EVENTS = {
|
|
26
27
|
animation_canceled: 'animationCanceled',
|
|
@@ -90,6 +91,6 @@ module Selenium
|
|
|
90
91
|
end
|
|
91
92
|
|
|
92
93
|
end # Animation
|
|
93
|
-
end #
|
|
94
|
+
end # V152
|
|
94
95
|
end # DevTools
|
|
95
96
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class Audits
|
|
25
26
|
EVENTS = {
|
|
26
27
|
issue_added: 'issueAdded',
|
|
@@ -56,6 +57,6 @@ module Selenium
|
|
|
56
57
|
end
|
|
57
58
|
|
|
58
59
|
end # Audits
|
|
59
|
-
end #
|
|
60
|
+
end # V152
|
|
60
61
|
end # DevTools
|
|
61
62
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class Autofill
|
|
25
26
|
EVENTS = {
|
|
26
27
|
address_form_filled: 'addressFormFilled',
|
|
@@ -57,6 +58,6 @@ module Selenium
|
|
|
57
58
|
end
|
|
58
59
|
|
|
59
60
|
end # Autofill
|
|
60
|
-
end #
|
|
61
|
+
end # V152
|
|
61
62
|
end # DevTools
|
|
62
63
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class BackgroundService
|
|
25
26
|
EVENTS = {
|
|
26
27
|
recording_state_changed: 'recordingStateChanged',
|
|
@@ -58,6 +59,6 @@ module Selenium
|
|
|
58
59
|
end
|
|
59
60
|
|
|
60
61
|
end # BackgroundService
|
|
61
|
-
end #
|
|
62
|
+
end # V152
|
|
62
63
|
end # DevTools
|
|
63
64
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class BluetoothEmulation
|
|
25
26
|
EVENTS = {
|
|
26
27
|
gatt_operation_received: 'gattOperationReceived',
|
|
@@ -128,6 +129,6 @@ module Selenium
|
|
|
128
129
|
end
|
|
129
130
|
|
|
130
131
|
end # BluetoothEmulation
|
|
131
|
-
end #
|
|
132
|
+
end # V152
|
|
132
133
|
end # DevTools
|
|
133
134
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class Browser
|
|
25
26
|
EVENTS = {
|
|
26
27
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -142,15 +143,7 @@ module Selenium
|
|
|
142
143
|
url: url)
|
|
143
144
|
end
|
|
144
145
|
|
|
145
|
-
def add_privacy_sandbox_coordinator_key_config(api:, coordinator_origin:, key_config:, browser_context_id: nil)
|
|
146
|
-
@devtools.send_cmd('Browser.addPrivacySandboxCoordinatorKeyConfig',
|
|
147
|
-
api: api,
|
|
148
|
-
coordinatorOrigin: coordinator_origin,
|
|
149
|
-
keyConfig: key_config,
|
|
150
|
-
browserContextId: browser_context_id)
|
|
151
|
-
end
|
|
152
|
-
|
|
153
146
|
end # Browser
|
|
154
|
-
end #
|
|
147
|
+
end # V152
|
|
155
148
|
end # DevTools
|
|
156
149
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class CacheStorage
|
|
25
26
|
|
|
26
27
|
def initialize(devtools)
|
|
@@ -66,6 +67,6 @@ module Selenium
|
|
|
66
67
|
end
|
|
67
68
|
|
|
68
69
|
end # CacheStorage
|
|
69
|
-
end #
|
|
70
|
+
end # V152
|
|
70
71
|
end # DevTools
|
|
71
72
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class Cast
|
|
25
26
|
EVENTS = {
|
|
26
27
|
sinks_updated: 'sinksUpdated',
|
|
@@ -66,6 +67,6 @@ module Selenium
|
|
|
66
67
|
end
|
|
67
68
|
|
|
68
69
|
end # Cast
|
|
69
|
-
end #
|
|
70
|
+
end # V152
|
|
70
71
|
end # DevTools
|
|
71
72
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class Console
|
|
25
26
|
EVENTS = {
|
|
26
27
|
message_added: 'messageAdded',
|
|
@@ -48,6 +49,6 @@ module Selenium
|
|
|
48
49
|
end
|
|
49
50
|
|
|
50
51
|
end # Console
|
|
51
|
-
end #
|
|
52
|
+
end # V152
|
|
52
53
|
end # DevTools
|
|
53
54
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class CrashReportContext
|
|
25
26
|
|
|
26
27
|
def initialize(devtools)
|
|
@@ -37,6 +38,6 @@ module Selenium
|
|
|
37
38
|
end
|
|
38
39
|
|
|
39
40
|
end # CrashReportContext
|
|
40
|
-
end #
|
|
41
|
+
end # V152
|
|
41
42
|
end # DevTools
|
|
42
43
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class CSS
|
|
25
26
|
EVENTS = {
|
|
26
27
|
fonts_updated: 'fontsUpdated',
|
|
@@ -197,6 +198,13 @@ module Selenium
|
|
|
197
198
|
text: text)
|
|
198
199
|
end
|
|
199
200
|
|
|
201
|
+
def set_container_query_condition_text(style_sheet_id:, range:, text:)
|
|
202
|
+
@devtools.send_cmd('CSS.setContainerQueryConditionText',
|
|
203
|
+
styleSheetId: style_sheet_id,
|
|
204
|
+
range: range,
|
|
205
|
+
text: text)
|
|
206
|
+
end
|
|
207
|
+
|
|
200
208
|
def set_supports_text(style_sheet_id:, range:, text:)
|
|
201
209
|
@devtools.send_cmd('CSS.setSupportsText',
|
|
202
210
|
styleSheetId: style_sheet_id,
|
|
@@ -255,6 +263,6 @@ module Selenium
|
|
|
255
263
|
end
|
|
256
264
|
|
|
257
265
|
end # CSS
|
|
258
|
-
end #
|
|
266
|
+
end # V152
|
|
259
267
|
end # DevTools
|
|
260
268
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class Debugger
|
|
25
26
|
EVENTS = {
|
|
26
27
|
breakpoint_resolved: 'breakpointResolved',
|
|
@@ -233,6 +234,6 @@ module Selenium
|
|
|
233
234
|
end
|
|
234
235
|
|
|
235
236
|
end # Debugger
|
|
236
|
-
end #
|
|
237
|
+
end # V152
|
|
237
238
|
end # DevTools
|
|
238
239
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class DeviceAccess
|
|
25
26
|
EVENTS = {
|
|
26
27
|
device_request_prompted: 'deviceRequestPrompted',
|
|
@@ -55,6 +56,6 @@ module Selenium
|
|
|
55
56
|
end
|
|
56
57
|
|
|
57
58
|
end # DeviceAccess
|
|
58
|
-
end #
|
|
59
|
+
end # V152
|
|
59
60
|
end # DevTools
|
|
60
61
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class DeviceOrientation
|
|
25
26
|
|
|
26
27
|
def initialize(devtools)
|
|
@@ -44,6 +45,6 @@ module Selenium
|
|
|
44
45
|
end
|
|
45
46
|
|
|
46
47
|
end # DeviceOrientation
|
|
47
|
-
end #
|
|
48
|
+
end # V152
|
|
48
49
|
end # DevTools
|
|
49
50
|
end # Selenium
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
|
+
module Selenium
|
|
23
|
+
module DevTools
|
|
24
|
+
module V152
|
|
25
|
+
class DigitalCredentials
|
|
26
|
+
|
|
27
|
+
def initialize(devtools)
|
|
28
|
+
@devtools = devtools
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
def on(event, &block)
|
|
32
|
+
event = EVENTS[event] if event.is_a?(Symbol)
|
|
33
|
+
@devtools.callbacks["DigitalCredentials.#{event}"] << block
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def set_virtual_wallet_behavior(action:, protocol: nil, response: nil, frame_id: nil)
|
|
37
|
+
@devtools.send_cmd('DigitalCredentials.setVirtualWalletBehavior',
|
|
38
|
+
action: action,
|
|
39
|
+
protocol: protocol,
|
|
40
|
+
response: response,
|
|
41
|
+
frameId: frame_id)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
end # DigitalCredentials
|
|
45
|
+
end # V152
|
|
46
|
+
end # DevTools
|
|
47
|
+
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class DOM
|
|
25
26
|
EVENTS = {
|
|
26
27
|
attribute_modified: 'attributeModified',
|
|
@@ -359,13 +360,14 @@ module Selenium
|
|
|
359
360
|
anchorSpecifier: anchor_specifier)
|
|
360
361
|
end
|
|
361
362
|
|
|
362
|
-
def force_show_popover(node_id:, enable:)
|
|
363
|
+
def force_show_popover(node_id:, enable:, invoker_node_id: nil)
|
|
363
364
|
@devtools.send_cmd('DOM.forceShowPopover',
|
|
364
365
|
nodeId: node_id,
|
|
365
|
-
enable: enable
|
|
366
|
+
enable: enable,
|
|
367
|
+
invokerNodeId: invoker_node_id)
|
|
366
368
|
end
|
|
367
369
|
|
|
368
370
|
end # DOM
|
|
369
|
-
end #
|
|
371
|
+
end # V152
|
|
370
372
|
end # DevTools
|
|
371
373
|
end # Selenium
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
# specific language governing permissions and limitations
|
|
18
18
|
# under the License.
|
|
19
19
|
|
|
20
|
-
# This file is
|
|
20
|
+
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
|
+
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
21
22
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class DOMDebugger
|
|
25
26
|
|
|
26
27
|
def initialize(devtools)
|
|
@@ -89,6 +90,6 @@ module Selenium
|
|
|
89
90
|
end
|
|
90
91
|
|
|
91
92
|
end # DOMDebugger
|
|
92
|
-
end #
|
|
93
|
+
end # V152
|
|
93
94
|
end # DevTools
|
|
94
95
|
end # Selenium
|