selenium-devtools 0.152.0 → 0.153.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 → v153}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/ads.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/animation.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/audits.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/browser.rb +2 -10
- data/lib/selenium/devtools/{v150 → v153}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/cast.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/console.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/crash_report_context.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/css.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/debugger.rb +5 -4
- data/lib/selenium/devtools/{v150 → v153}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/v153/digital_credentials.rb +47 -0
- data/lib/selenium/devtools/{v150 → v153}/dom.rb +10 -3
- data/lib/selenium/devtools/{v150 → v153}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/emulation.rb +12 -2
- data/lib/selenium/devtools/{v150 → v153}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/input.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/io.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/log.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/media.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/memory.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/network.rb +2 -39
- data/lib/selenium/devtools/{v150 → v153}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v150 → v153}/page.rb +17 -4
- data/lib/selenium/devtools/{v150 → v153}/performance.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/preload.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/schema.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/security.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/smart_card_emulation.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/storage.rb +2 -28
- data/lib/selenium/devtools/{v150 → v153}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/target.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/tracing.rb +6 -4
- data/lib/selenium/devtools/{v150 → v153}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v150 → v153}/web_authn.rb +7 -4
- data/lib/selenium/devtools/{v150 → v153}/web_mcp.rb +2 -2
- data/lib/selenium/devtools/{v150.rb → v153.rb} +4 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +61 -60
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3584f176235d9675508817c8868370c7d6489d1f7f2d0c3010f3364688d2655
|
|
4
|
+
data.tar.gz: 92fbf206ccf138faa5dd95ae65d0a915a4bba58d555a69c60e285b5d38f1d281
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59691c90bf229d0ee4109189b0759757862f9977f2d3a1d7e6584c8ca7aebe06abd76eafd0625fdf4013e377140635f6c82e9f6724cdbf4291fa6931f9c4c972
|
|
7
|
+
data.tar.gz: cb6fdbf48594a5a545ae92028c792af0dc2131456cb84b8e98ac705fe4b5801d3b4fbe6d838bab61044be04e9ce2ec48e01085560cbd273e2a191cecda16afbb
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Accessibility
|
|
26
26
|
EVENTS = {
|
|
27
27
|
load_complete: 'loadComplete',
|
|
@@ -87,6 +87,6 @@ module Selenium
|
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
end # Accessibility
|
|
90
|
-
end #
|
|
90
|
+
end # V153
|
|
91
91
|
end # DevTools
|
|
92
92
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Ads
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -38,6 +38,6 @@ module Selenium
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
end # Ads
|
|
41
|
-
end #
|
|
41
|
+
end # V153
|
|
42
42
|
end # DevTools
|
|
43
43
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Animation
|
|
26
26
|
EVENTS = {
|
|
27
27
|
animation_canceled: 'animationCanceled',
|
|
@@ -91,6 +91,6 @@ module Selenium
|
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
end # Animation
|
|
94
|
-
end #
|
|
94
|
+
end # V153
|
|
95
95
|
end # DevTools
|
|
96
96
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Audits
|
|
26
26
|
EVENTS = {
|
|
27
27
|
issue_added: 'issueAdded',
|
|
@@ -57,6 +57,6 @@ module Selenium
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
end # Audits
|
|
60
|
-
end #
|
|
60
|
+
end # V153
|
|
61
61
|
end # DevTools
|
|
62
62
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Autofill
|
|
26
26
|
EVENTS = {
|
|
27
27
|
address_form_filled: 'addressFormFilled',
|
|
@@ -58,6 +58,6 @@ module Selenium
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
end # Autofill
|
|
61
|
-
end #
|
|
61
|
+
end # V153
|
|
62
62
|
end # DevTools
|
|
63
63
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class BackgroundService
|
|
26
26
|
EVENTS = {
|
|
27
27
|
recording_state_changed: 'recordingStateChanged',
|
|
@@ -59,6 +59,6 @@ module Selenium
|
|
|
59
59
|
end
|
|
60
60
|
|
|
61
61
|
end # BackgroundService
|
|
62
|
-
end #
|
|
62
|
+
end # V153
|
|
63
63
|
end # DevTools
|
|
64
64
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class BluetoothEmulation
|
|
26
26
|
EVENTS = {
|
|
27
27
|
gatt_operation_received: 'gattOperationReceived',
|
|
@@ -129,6 +129,6 @@ module Selenium
|
|
|
129
129
|
end
|
|
130
130
|
|
|
131
131
|
end # BluetoothEmulation
|
|
132
|
-
end #
|
|
132
|
+
end # V153
|
|
133
133
|
end # DevTools
|
|
134
134
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Browser
|
|
26
26
|
EVENTS = {
|
|
27
27
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -143,15 +143,7 @@ module Selenium
|
|
|
143
143
|
url: url)
|
|
144
144
|
end
|
|
145
145
|
|
|
146
|
-
def add_privacy_sandbox_coordinator_key_config(api:, coordinator_origin:, key_config:, browser_context_id: nil)
|
|
147
|
-
@devtools.send_cmd('Browser.addPrivacySandboxCoordinatorKeyConfig',
|
|
148
|
-
api: api,
|
|
149
|
-
coordinatorOrigin: coordinator_origin,
|
|
150
|
-
keyConfig: key_config,
|
|
151
|
-
browserContextId: browser_context_id)
|
|
152
|
-
end
|
|
153
|
-
|
|
154
146
|
end # Browser
|
|
155
|
-
end #
|
|
147
|
+
end # V153
|
|
156
148
|
end # DevTools
|
|
157
149
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class CacheStorage
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -67,6 +67,6 @@ module Selenium
|
|
|
67
67
|
end
|
|
68
68
|
|
|
69
69
|
end # CacheStorage
|
|
70
|
-
end #
|
|
70
|
+
end # V153
|
|
71
71
|
end # DevTools
|
|
72
72
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Cast
|
|
26
26
|
EVENTS = {
|
|
27
27
|
sinks_updated: 'sinksUpdated',
|
|
@@ -67,6 +67,6 @@ module Selenium
|
|
|
67
67
|
end
|
|
68
68
|
|
|
69
69
|
end # Cast
|
|
70
|
-
end #
|
|
70
|
+
end # V153
|
|
71
71
|
end # DevTools
|
|
72
72
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Console
|
|
26
26
|
EVENTS = {
|
|
27
27
|
message_added: 'messageAdded',
|
|
@@ -49,6 +49,6 @@ module Selenium
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
end # Console
|
|
52
|
-
end #
|
|
52
|
+
end # V153
|
|
53
53
|
end # DevTools
|
|
54
54
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class CrashReportContext
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -38,6 +38,6 @@ module Selenium
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
end # CrashReportContext
|
|
41
|
-
end #
|
|
41
|
+
end # V153
|
|
42
42
|
end # DevTools
|
|
43
43
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class CSS
|
|
26
26
|
EVENTS = {
|
|
27
27
|
fonts_updated: 'fontsUpdated',
|
|
@@ -263,6 +263,6 @@ module Selenium
|
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
end # CSS
|
|
266
|
-
end #
|
|
266
|
+
end # V153
|
|
267
267
|
end # DevTools
|
|
268
268
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Debugger
|
|
26
26
|
EVENTS = {
|
|
27
27
|
breakpoint_resolved: 'breakpointResolved',
|
|
@@ -55,7 +55,7 @@ module Selenium
|
|
|
55
55
|
maxScriptsCacheSize: max_scripts_cache_size)
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
def evaluate_on_call_frame(call_frame_id:, expression:, object_group: nil, include_command_line_api: nil, silent: nil, return_by_value: nil, generate_preview: nil, throw_on_side_effect: nil, timeout: nil)
|
|
58
|
+
def evaluate_on_call_frame(call_frame_id:, expression:, object_group: nil, include_command_line_api: nil, silent: nil, return_by_value: nil, generate_preview: nil, throw_on_side_effect: nil, timeout: nil, scope_number: nil)
|
|
59
59
|
@devtools.send_cmd('Debugger.evaluateOnCallFrame',
|
|
60
60
|
callFrameId: call_frame_id,
|
|
61
61
|
expression: expression,
|
|
@@ -65,7 +65,8 @@ module Selenium
|
|
|
65
65
|
returnByValue: return_by_value,
|
|
66
66
|
generatePreview: generate_preview,
|
|
67
67
|
throwOnSideEffect: throw_on_side_effect,
|
|
68
|
-
timeout: timeout
|
|
68
|
+
timeout: timeout,
|
|
69
|
+
scopeNumber: scope_number)
|
|
69
70
|
end
|
|
70
71
|
|
|
71
72
|
def get_possible_breakpoints(start:, _end: nil, restrict_to_function: nil)
|
|
@@ -234,6 +235,6 @@ module Selenium
|
|
|
234
235
|
end
|
|
235
236
|
|
|
236
237
|
end # Debugger
|
|
237
|
-
end #
|
|
238
|
+
end # V153
|
|
238
239
|
end # DevTools
|
|
239
240
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class DeviceAccess
|
|
26
26
|
EVENTS = {
|
|
27
27
|
device_request_prompted: 'deviceRequestPrompted',
|
|
@@ -56,6 +56,6 @@ module Selenium
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
end # DeviceAccess
|
|
59
|
-
end #
|
|
59
|
+
end # V153
|
|
60
60
|
end # DevTools
|
|
61
61
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class DeviceOrientation
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -45,6 +45,6 @@ module Selenium
|
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
end # DeviceOrientation
|
|
48
|
-
end #
|
|
48
|
+
end # V153
|
|
49
49
|
end # DevTools
|
|
50
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 V153
|
|
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 # V153
|
|
46
|
+
end # DevTools
|
|
47
|
+
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class DOM
|
|
26
26
|
EVENTS = {
|
|
27
27
|
attribute_modified: 'attributeModified',
|
|
@@ -360,13 +360,20 @@ module Selenium
|
|
|
360
360
|
anchorSpecifier: anchor_specifier)
|
|
361
361
|
end
|
|
362
362
|
|
|
363
|
-
def force_show_popover(node_id:, enable:)
|
|
363
|
+
def force_show_popover(node_id:, enable:, invoker_node_id: nil)
|
|
364
364
|
@devtools.send_cmd('DOM.forceShowPopover',
|
|
365
|
+
nodeId: node_id,
|
|
366
|
+
enable: enable,
|
|
367
|
+
invokerNodeId: invoker_node_id)
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
def force_show_interest(node_id:, enable:)
|
|
371
|
+
@devtools.send_cmd('DOM.forceShowInterest',
|
|
365
372
|
nodeId: node_id,
|
|
366
373
|
enable: enable)
|
|
367
374
|
end
|
|
368
375
|
|
|
369
376
|
end # DOM
|
|
370
|
-
end #
|
|
377
|
+
end # V153
|
|
371
378
|
end # DevTools
|
|
372
379
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class DOMDebugger
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -90,6 +90,6 @@ module Selenium
|
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
end # DOMDebugger
|
|
93
|
-
end #
|
|
93
|
+
end # V153
|
|
94
94
|
end # DevTools
|
|
95
95
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class DOMSnapshot
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -59,6 +59,6 @@ module Selenium
|
|
|
59
59
|
end
|
|
60
60
|
|
|
61
61
|
end # DOMSnapshot
|
|
62
|
-
end #
|
|
62
|
+
end # V153
|
|
63
63
|
end # DevTools
|
|
64
64
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class DOMStorage
|
|
26
26
|
EVENTS = {
|
|
27
27
|
dom_storage_item_added: 'domStorageItemAdded',
|
|
@@ -71,6 +71,6 @@ module Selenium
|
|
|
71
71
|
end
|
|
72
72
|
|
|
73
73
|
end # DOMStorage
|
|
74
|
-
end #
|
|
74
|
+
end # V153
|
|
75
75
|
end # DevTools
|
|
76
76
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Emulation
|
|
26
26
|
EVENTS = {
|
|
27
27
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -78,6 +78,11 @@ module Selenium
|
|
|
78
78
|
insets: insets)
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
+
def set_virtual_keyboard_geometry_override(keyboard_rect: nil)
|
|
82
|
+
@devtools.send_cmd('Emulation.setVirtualKeyboardGeometryOverride',
|
|
83
|
+
keyboardRect: keyboard_rect)
|
|
84
|
+
end
|
|
85
|
+
|
|
81
86
|
def set_device_metrics_override(width:, height:, device_scale_factor:, mobile:, scale: nil, screen_width: nil, screen_height: nil, position_x: nil, position_y: nil, dont_set_visible_size: nil, screen_orientation: nil, viewport: nil, display_feature: nil, device_posture: nil, scrollbar_type: nil, screen_orientation_lock_emulation: nil)
|
|
82
87
|
@devtools.send_cmd('Emulation.setDeviceMetricsOverride',
|
|
83
88
|
width: width,
|
|
@@ -260,6 +265,11 @@ module Selenium
|
|
|
260
265
|
hardwareConcurrency: hardware_concurrency)
|
|
261
266
|
end
|
|
262
267
|
|
|
268
|
+
def set_cpu_performance_override(performance_tier: nil)
|
|
269
|
+
@devtools.send_cmd('Emulation.setCPUPerformanceOverride',
|
|
270
|
+
performanceTier: performance_tier)
|
|
271
|
+
end
|
|
272
|
+
|
|
263
273
|
def set_user_agent_override(user_agent:, accept_language: nil, platform: nil, user_agent_metadata: nil)
|
|
264
274
|
@devtools.send_cmd('Emulation.setUserAgentOverride',
|
|
265
275
|
userAgent: user_agent,
|
|
@@ -322,6 +332,6 @@ module Selenium
|
|
|
322
332
|
end
|
|
323
333
|
|
|
324
334
|
end # Emulation
|
|
325
|
-
end #
|
|
335
|
+
end # V153
|
|
326
336
|
end # DevTools
|
|
327
337
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class EventBreakpoints
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -48,6 +48,6 @@ module Selenium
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
end # EventBreakpoints
|
|
51
|
-
end #
|
|
51
|
+
end # V153
|
|
52
52
|
end # DevTools
|
|
53
53
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Extensions
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -82,6 +82,6 @@ module Selenium
|
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
end # Extensions
|
|
85
|
-
end #
|
|
85
|
+
end # V153
|
|
86
86
|
end # DevTools
|
|
87
87
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class FedCm
|
|
26
26
|
EVENTS = {
|
|
27
27
|
dialog_shown: 'dialogShown',
|
|
@@ -76,6 +76,6 @@ module Selenium
|
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
end # FedCm
|
|
79
|
-
end #
|
|
79
|
+
end # V153
|
|
80
80
|
end # DevTools
|
|
81
81
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Fetch
|
|
26
26
|
EVENTS = {
|
|
27
27
|
request_paused: 'requestPaused',
|
|
@@ -99,6 +99,6 @@ module Selenium
|
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
end # Fetch
|
|
102
|
-
end #
|
|
102
|
+
end # V153
|
|
103
103
|
end # DevTools
|
|
104
104
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class FileSystem
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -39,6 +39,6 @@ module Selenium
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
end # FileSystem
|
|
42
|
-
end #
|
|
42
|
+
end # V153
|
|
43
43
|
end # DevTools
|
|
44
44
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class HeadlessExperimental
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -50,6 +50,6 @@ module Selenium
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
end # HeadlessExperimental
|
|
53
|
-
end #
|
|
53
|
+
end # V153
|
|
54
54
|
end # DevTools
|
|
55
55
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class HeapProfiler
|
|
26
26
|
EVENTS = {
|
|
27
27
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
|
@@ -106,6 +106,6 @@ module Selenium
|
|
|
106
106
|
end
|
|
107
107
|
|
|
108
108
|
end # HeapProfiler
|
|
109
|
-
end #
|
|
109
|
+
end # V153
|
|
110
110
|
end # DevTools
|
|
111
111
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class IndexedDB
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -106,6 +106,6 @@ module Selenium
|
|
|
106
106
|
end
|
|
107
107
|
|
|
108
108
|
end # IndexedDB
|
|
109
|
-
end #
|
|
109
|
+
end # V153
|
|
110
110
|
end # DevTools
|
|
111
111
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Input
|
|
26
26
|
EVENTS = {
|
|
27
27
|
drag_intercepted: 'dragIntercepted',
|
|
@@ -168,6 +168,6 @@ module Selenium
|
|
|
168
168
|
end
|
|
169
169
|
|
|
170
170
|
end # Input
|
|
171
|
-
end #
|
|
171
|
+
end # V153
|
|
172
172
|
end # DevTools
|
|
173
173
|
end # Selenium
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
module Selenium
|
|
23
23
|
module DevTools
|
|
24
|
-
module
|
|
24
|
+
module V153
|
|
25
25
|
class Inspector
|
|
26
26
|
EVENTS = {
|
|
27
27
|
detached: 'detached',
|
|
@@ -48,6 +48,6 @@ module Selenium
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
end # Inspector
|
|
51
|
-
end #
|
|
51
|
+
end # V153
|
|
52
52
|
end # DevTools
|
|
53
53
|
end # Selenium
|