selenium-devtools 0.151.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/{v149 → v152}/accessibility.rb +2 -2
- data/lib/selenium/devtools/v152/ads.rb +43 -0
- data/lib/selenium/devtools/{v149 → v152}/animation.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/audits.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/browser.rb +2 -10
- data/lib/selenium/devtools/{v149 → v152}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/cast.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/console.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/crash_report_context.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/css.rb +9 -2
- data/lib/selenium/devtools/{v149 → v152}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/v152/digital_credentials.rb +47 -0
- data/lib/selenium/devtools/{v149 → v152}/dom.rb +5 -4
- data/lib/selenium/devtools/{v149 → v152}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/emulation.rb +2 -9
- data/lib/selenium/devtools/{v149 → v152}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/input.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/io.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/log.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/media.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/memory.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/network.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/overlay.rb +7 -2
- data/lib/selenium/devtools/{v149 → v152}/page.rb +5 -4
- data/lib/selenium/devtools/{v149 → v152}/performance.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/preload.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/schema.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/security.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/smart_card_emulation.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/storage.rb +2 -28
- data/lib/selenium/devtools/{v149 → v152}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/target.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/tracing.rb +6 -4
- data/lib/selenium/devtools/{v149 → v152}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v149 → v152}/web_authn.rb +7 -4
- data/lib/selenium/devtools/{v149 → v152}/web_mcp.rb +2 -2
- data/lib/selenium/devtools/{v149.rb → v152.rb} +5 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +61 -59
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32cbf4cb5590131e6c3200bf5a5a773877b283affbcc87e40c2a63a6533e9802
|
|
4
|
+
data.tar.gz: f5783590807bcae7d756b1f1390975ac8562e0094224964561cb6637df42dc08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fda6182ad5ea898ee9a514588871e2802abd34e2a7f942a1901da9b9eae66736530753d48c5711347b261cb4633ed752effebf33eb0a35b4d180a62847c4fc0c
|
|
7
|
+
data.tar.gz: 97f2b91a183a47e4e05e659c3bba34557e36cf464109b2d93e3845777cbb9ea2bbbe3c45aac333747534c7a8bcc93027999b6a0a8ceceda32094c69575efec9f
|
|
@@ -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 V152
|
|
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 # V152
|
|
91
91
|
end # DevTools
|
|
92
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
|
|
@@ -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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
25
25
|
class CSS
|
|
26
26
|
EVENTS = {
|
|
27
27
|
fonts_updated: 'fontsUpdated',
|
|
@@ -198,6 +198,13 @@ module Selenium
|
|
|
198
198
|
text: text)
|
|
199
199
|
end
|
|
200
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
|
+
|
|
201
208
|
def set_supports_text(style_sheet_id:, range:, text:)
|
|
202
209
|
@devtools.send_cmd('CSS.setSupportsText',
|
|
203
210
|
styleSheetId: style_sheet_id,
|
|
@@ -256,6 +263,6 @@ module Selenium
|
|
|
256
263
|
end
|
|
257
264
|
|
|
258
265
|
end # CSS
|
|
259
|
-
end #
|
|
266
|
+
end # V152
|
|
260
267
|
end # DevTools
|
|
261
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 V152
|
|
25
25
|
class Debugger
|
|
26
26
|
EVENTS = {
|
|
27
27
|
breakpoint_resolved: 'breakpointResolved',
|
|
@@ -234,6 +234,6 @@ module Selenium
|
|
|
234
234
|
end
|
|
235
235
|
|
|
236
236
|
end # Debugger
|
|
237
|
-
end #
|
|
237
|
+
end # V152
|
|
238
238
|
end # DevTools
|
|
239
239
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 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
|
|
@@ -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 V152
|
|
25
25
|
class DOM
|
|
26
26
|
EVENTS = {
|
|
27
27
|
attribute_modified: 'attributeModified',
|
|
@@ -360,13 +360,14 @@ 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
365
|
nodeId: node_id,
|
|
366
|
-
enable: enable
|
|
366
|
+
enable: enable,
|
|
367
|
+
invokerNodeId: invoker_node_id)
|
|
367
368
|
end
|
|
368
369
|
|
|
369
370
|
end # DOM
|
|
370
|
-
end #
|
|
371
|
+
end # V152
|
|
371
372
|
end # DevTools
|
|
372
373
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
25
25
|
class Emulation
|
|
26
26
|
EVENTS = {
|
|
27
27
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -190,13 +190,6 @@ module Selenium
|
|
|
190
190
|
state: state)
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
-
def set_pressure_data_override(source:, state:, own_contribution_estimate: nil)
|
|
194
|
-
@devtools.send_cmd('Emulation.setPressureDataOverride',
|
|
195
|
-
source: source,
|
|
196
|
-
state: state,
|
|
197
|
-
ownContributionEstimate: own_contribution_estimate)
|
|
198
|
-
end
|
|
199
|
-
|
|
200
193
|
def set_idle_override(is_user_active:, is_screen_unlocked:)
|
|
201
194
|
@devtools.send_cmd('Emulation.setIdleOverride',
|
|
202
195
|
isUserActive: is_user_active,
|
|
@@ -329,6 +322,6 @@ module Selenium
|
|
|
329
322
|
end
|
|
330
323
|
|
|
331
324
|
end # Emulation
|
|
332
|
-
end #
|
|
325
|
+
end # V152
|
|
333
326
|
end # DevTools
|
|
334
327
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
172
172
|
end # DevTools
|
|
173
173
|
end # Selenium
|