selenium-devtools 0.150.0 → 0.151.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/accessibility.rb +2 -1
- data/lib/selenium/devtools/v149/animation.rb +2 -1
- data/lib/selenium/devtools/v149/audits.rb +2 -1
- data/lib/selenium/devtools/v149/autofill.rb +2 -1
- data/lib/selenium/devtools/v149/background_service.rb +2 -1
- data/lib/selenium/devtools/v149/bluetooth_emulation.rb +2 -1
- data/lib/selenium/devtools/v149/browser.rb +2 -1
- data/lib/selenium/devtools/v149/cache_storage.rb +2 -1
- data/lib/selenium/devtools/v149/cast.rb +2 -1
- data/lib/selenium/devtools/v149/console.rb +2 -1
- data/lib/selenium/devtools/v149/crash_report_context.rb +2 -1
- data/lib/selenium/devtools/v149/css.rb +2 -1
- data/lib/selenium/devtools/v149/debugger.rb +2 -1
- data/lib/selenium/devtools/v149/device_access.rb +2 -1
- data/lib/selenium/devtools/v149/device_orientation.rb +2 -1
- data/lib/selenium/devtools/v149/dom.rb +2 -1
- data/lib/selenium/devtools/v149/dom_debugger.rb +2 -1
- data/lib/selenium/devtools/v149/dom_snapshot.rb +2 -1
- data/lib/selenium/devtools/v149/dom_storage.rb +2 -1
- data/lib/selenium/devtools/v149/emulation.rb +2 -1
- data/lib/selenium/devtools/v149/event_breakpoints.rb +2 -1
- data/lib/selenium/devtools/v149/extensions.rb +2 -1
- data/lib/selenium/devtools/v149/fed_cm.rb +2 -1
- data/lib/selenium/devtools/v149/fetch.rb +2 -1
- data/lib/selenium/devtools/v149/file_system.rb +2 -1
- data/lib/selenium/devtools/v149/headless_experimental.rb +2 -1
- data/lib/selenium/devtools/v149/heap_profiler.rb +2 -1
- data/lib/selenium/devtools/v149/indexed_db.rb +2 -1
- data/lib/selenium/devtools/v149/input.rb +2 -1
- data/lib/selenium/devtools/v149/inspector.rb +2 -1
- data/lib/selenium/devtools/v149/io.rb +2 -1
- data/lib/selenium/devtools/v149/layer_tree.rb +2 -1
- data/lib/selenium/devtools/v149/log.rb +2 -1
- data/lib/selenium/devtools/v149/media.rb +2 -1
- data/lib/selenium/devtools/v149/memory.rb +2 -1
- data/lib/selenium/devtools/v149/network.rb +2 -1
- data/lib/selenium/devtools/v149/overlay.rb +2 -1
- data/lib/selenium/devtools/v149/page.rb +2 -1
- data/lib/selenium/devtools/v149/performance.rb +2 -1
- data/lib/selenium/devtools/v149/performance_timeline.rb +2 -1
- data/lib/selenium/devtools/v149/preload.rb +2 -1
- data/lib/selenium/devtools/v149/profiler.rb +2 -1
- data/lib/selenium/devtools/v149/pwa.rb +2 -1
- data/lib/selenium/devtools/v149/runtime.rb +2 -1
- data/lib/selenium/devtools/v149/schema.rb +2 -1
- data/lib/selenium/devtools/v149/security.rb +2 -1
- data/lib/selenium/devtools/v149/service_worker.rb +2 -1
- data/lib/selenium/devtools/v149/smart_card_emulation.rb +2 -1
- data/lib/selenium/devtools/v149/storage.rb +2 -1
- data/lib/selenium/devtools/v149/system_info.rb +2 -1
- data/lib/selenium/devtools/v149/target.rb +2 -1
- data/lib/selenium/devtools/v149/tethering.rb +2 -1
- data/lib/selenium/devtools/v149/tracing.rb +2 -1
- data/lib/selenium/devtools/v149/web_audio.rb +2 -1
- data/lib/selenium/devtools/v149/web_authn.rb +2 -1
- data/lib/selenium/devtools/v149/web_mcp.rb +2 -1
- data/lib/selenium/devtools/v149.rb +2 -1
- 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/{v148 → v151}/audits.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/autofill.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/background_service.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/bluetooth_emulation.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/browser.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/cache_storage.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/cast.rb +4 -3
- data/lib/selenium/devtools/{v148 → 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/{v148 → v151}/debugger.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/device_access.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/device_orientation.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/dom.rb +7 -5
- data/lib/selenium/devtools/{v148 → v151}/dom_debugger.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/dom_snapshot.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/dom_storage.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/emulation.rb +4 -10
- data/lib/selenium/devtools/{v148 → v151}/event_breakpoints.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/extensions.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/fed_cm.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/fetch.rb +4 -3
- data/lib/selenium/devtools/{v148 → 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/{v148 → v151}/input.rb +4 -3
- data/lib/selenium/devtools/{v148 → 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/{v148 → v151}/network.rb +13 -8
- data/lib/selenium/devtools/{v148 → v151}/overlay.rb +9 -3
- data/lib/selenium/devtools/{v148 → v151}/page.rb +7 -5
- data/lib/selenium/devtools/{v148 → 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/{v148 → v151}/profiler.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/pwa.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/runtime.rb +4 -3
- data/lib/selenium/devtools/{v148 → 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/{v148 → v151}/storage.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/system_info.rb +4 -3
- data/lib/selenium/devtools/{v148 → 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/{v148 → v151}/web_authn.rb +4 -3
- data/lib/selenium/devtools/{v148 → v151}/web_mcp.rb +16 -3
- data/lib/selenium/devtools/{v148.rb → v151.rb} +6 -4
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +60 -59
|
@@ -17,7 +17,8 @@
|
|
|
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
24
|
module V150
|
|
@@ -17,7 +17,8 @@
|
|
|
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
24
|
module V150
|
|
@@ -17,7 +17,8 @@
|
|
|
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
24
|
module V150
|
|
@@ -17,7 +17,8 @@
|
|
|
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
24
|
module V150
|
|
@@ -17,7 +17,8 @@
|
|
|
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
24
|
module V150
|
|
@@ -17,7 +17,8 @@
|
|
|
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
23
|
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v150/*", &method(:require))
|
|
23
24
|
|
|
@@ -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 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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
24
25
|
class Browser
|
|
25
26
|
EVENTS = {
|
|
26
27
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -151,6 +152,6 @@ module Selenium
|
|
|
151
152
|
end
|
|
152
153
|
|
|
153
154
|
end # Browser
|
|
154
|
-
end #
|
|
155
|
+
end # V151
|
|
155
156
|
end # DevTools
|
|
156
157
|
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 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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
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 # V151
|
|
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 V151
|
|
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 # V151
|
|
48
49
|
end # DevTools
|
|
49
50
|
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 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 # V151
|
|
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 V151
|
|
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 # V151
|
|
93
94
|
end # DevTools
|
|
94
95
|
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 DOMSnapshot
|
|
25
26
|
|
|
26
27
|
def initialize(devtools)
|
|
@@ -58,6 +59,6 @@ module Selenium
|
|
|
58
59
|
end
|
|
59
60
|
|
|
60
61
|
end # DOMSnapshot
|
|
61
|
-
end #
|
|
62
|
+
end # V151
|
|
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 V151
|
|
24
25
|
class DOMStorage
|
|
25
26
|
EVENTS = {
|
|
26
27
|
dom_storage_item_added: 'domStorageItemAdded',
|
|
@@ -70,6 +71,6 @@ module Selenium
|
|
|
70
71
|
end
|
|
71
72
|
|
|
72
73
|
end # DOMStorage
|
|
73
|
-
end #
|
|
74
|
+
end # V151
|
|
74
75
|
end # DevTools
|
|
75
76
|
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 Emulation
|
|
25
26
|
EVENTS = {
|
|
26
27
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
@@ -189,13 +190,6 @@ module Selenium
|
|
|
189
190
|
state: state)
|
|
190
191
|
end
|
|
191
192
|
|
|
192
|
-
def set_pressure_data_override(source:, state:, own_contribution_estimate: nil)
|
|
193
|
-
@devtools.send_cmd('Emulation.setPressureDataOverride',
|
|
194
|
-
source: source,
|
|
195
|
-
state: state,
|
|
196
|
-
ownContributionEstimate: own_contribution_estimate)
|
|
197
|
-
end
|
|
198
|
-
|
|
199
193
|
def set_idle_override(is_user_active:, is_screen_unlocked:)
|
|
200
194
|
@devtools.send_cmd('Emulation.setIdleOverride',
|
|
201
195
|
isUserActive: is_user_active,
|
|
@@ -328,6 +322,6 @@ module Selenium
|
|
|
328
322
|
end
|
|
329
323
|
|
|
330
324
|
end # Emulation
|
|
331
|
-
end #
|
|
325
|
+
end # V151
|
|
332
326
|
end # DevTools
|
|
333
327
|
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 EventBreakpoints
|
|
25
26
|
|
|
26
27
|
def initialize(devtools)
|
|
@@ -47,6 +48,6 @@ module Selenium
|
|
|
47
48
|
end
|
|
48
49
|
|
|
49
50
|
end # EventBreakpoints
|
|
50
|
-
end #
|
|
51
|
+
end # V151
|
|
51
52
|
end # DevTools
|
|
52
53
|
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 Extensions
|
|
25
26
|
|
|
26
27
|
def initialize(devtools)
|
|
@@ -81,6 +82,6 @@ module Selenium
|
|
|
81
82
|
end
|
|
82
83
|
|
|
83
84
|
end # Extensions
|
|
84
|
-
end #
|
|
85
|
+
end # V151
|
|
85
86
|
end # DevTools
|
|
86
87
|
end # Selenium
|