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 V152
|
|
24
25
|
class Runtime
|
|
25
26
|
EVENTS = {
|
|
26
27
|
binding_called: 'bindingCalled',
|
|
@@ -197,6 +198,6 @@ module Selenium
|
|
|
197
198
|
end
|
|
198
199
|
|
|
199
200
|
end # Runtime
|
|
200
|
-
end #
|
|
201
|
+
end # V152
|
|
201
202
|
end # DevTools
|
|
202
203
|
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 Schema
|
|
25
26
|
|
|
26
27
|
def initialize(devtools)
|
|
@@ -37,6 +38,6 @@ module Selenium
|
|
|
37
38
|
end
|
|
38
39
|
|
|
39
40
|
end # Schema
|
|
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 Security
|
|
25
26
|
EVENTS = {
|
|
26
27
|
certificate_error: 'certificateError',
|
|
@@ -62,6 +63,6 @@ module Selenium
|
|
|
62
63
|
end
|
|
63
64
|
|
|
64
65
|
end # Security
|
|
65
|
-
end #
|
|
66
|
+
end # V152
|
|
66
67
|
end # DevTools
|
|
67
68
|
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 ServiceWorker
|
|
25
26
|
EVENTS = {
|
|
26
27
|
worker_error_reported: 'workerErrorReported',
|
|
@@ -102,6 +103,6 @@ module Selenium
|
|
|
102
103
|
end
|
|
103
104
|
|
|
104
105
|
end # ServiceWorker
|
|
105
|
-
end #
|
|
106
|
+
end # V152
|
|
106
107
|
end # DevTools
|
|
107
108
|
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 SmartCardEmulation
|
|
25
26
|
EVENTS = {
|
|
26
27
|
establish_context_requested: 'establishContextRequested',
|
|
@@ -119,6 +120,6 @@ module Selenium
|
|
|
119
120
|
end
|
|
120
121
|
|
|
121
122
|
end # SmartCardEmulation
|
|
122
|
-
end #
|
|
123
|
+
end # V152
|
|
123
124
|
end # DevTools
|
|
124
125
|
end # Selenium
|
|
@@ -17,19 +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
|
module Selenium
|
|
22
23
|
module DevTools
|
|
23
|
-
module
|
|
24
|
+
module V152
|
|
24
25
|
class Storage
|
|
25
26
|
EVENTS = {
|
|
26
27
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
27
28
|
cache_storage_list_updated: 'cacheStorageListUpdated',
|
|
28
29
|
indexed_db_content_updated: 'indexedDBContentUpdated',
|
|
29
30
|
indexed_db_list_updated: 'indexedDBListUpdated',
|
|
30
|
-
interest_group_accessed: 'interestGroupAccessed',
|
|
31
|
-
interest_group_auction_event_occurred: 'interestGroupAuctionEventOccurred',
|
|
32
|
-
interest_group_auction_network_request_created: 'interestGroupAuctionNetworkRequestCreated',
|
|
33
31
|
shared_storage_accessed: 'sharedStorageAccessed',
|
|
34
32
|
shared_storage_worklet_operation_execution_finished: 'sharedStorageWorkletOperationExecutionFinished',
|
|
35
33
|
storage_bucket_created_or_updated: 'storageBucketCreatedOrUpdated',
|
|
@@ -143,22 +141,6 @@ module Selenium
|
|
|
143
141
|
issuerOrigin: issuer_origin)
|
|
144
142
|
end
|
|
145
143
|
|
|
146
|
-
def get_interest_group_details(owner_origin:, name:)
|
|
147
|
-
@devtools.send_cmd('Storage.getInterestGroupDetails',
|
|
148
|
-
ownerOrigin: owner_origin,
|
|
149
|
-
name: name)
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
def set_interest_group_tracking(enable:)
|
|
153
|
-
@devtools.send_cmd('Storage.setInterestGroupTracking',
|
|
154
|
-
enable: enable)
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
def set_interest_group_auction_tracking(enable:)
|
|
158
|
-
@devtools.send_cmd('Storage.setInterestGroupAuctionTracking',
|
|
159
|
-
enable: enable)
|
|
160
|
-
end
|
|
161
|
-
|
|
162
144
|
def get_shared_storage_metadata(owner_origin:)
|
|
163
145
|
@devtools.send_cmd('Storage.getSharedStorageMetadata',
|
|
164
146
|
ownerOrigin: owner_origin)
|
|
@@ -217,14 +199,7 @@ module Selenium
|
|
|
217
199
|
@devtools.send_cmd('Storage.getRelatedWebsiteSets')
|
|
218
200
|
end
|
|
219
201
|
|
|
220
|
-
def set_protected_audience_k_anonymity(owner:, name:, hashes:)
|
|
221
|
-
@devtools.send_cmd('Storage.setProtectedAudienceKAnonymity',
|
|
222
|
-
owner: owner,
|
|
223
|
-
name: name,
|
|
224
|
-
hashes: hashes)
|
|
225
|
-
end
|
|
226
|
-
|
|
227
202
|
end # Storage
|
|
228
|
-
end #
|
|
203
|
+
end # V152
|
|
229
204
|
end # DevTools
|
|
230
205
|
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 SystemInfo
|
|
25
26
|
|
|
26
27
|
def initialize(devtools)
|
|
@@ -46,6 +47,6 @@ module Selenium
|
|
|
46
47
|
end
|
|
47
48
|
|
|
48
49
|
end # SystemInfo
|
|
49
|
-
end #
|
|
50
|
+
end # V152
|
|
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 V152
|
|
24
25
|
class Target
|
|
25
26
|
EVENTS = {
|
|
26
27
|
attached_to_target: 'attachedToTarget',
|
|
@@ -163,6 +164,6 @@ module Selenium
|
|
|
163
164
|
end
|
|
164
165
|
|
|
165
166
|
end # Target
|
|
166
|
-
end #
|
|
167
|
+
end # V152
|
|
167
168
|
end # DevTools
|
|
168
169
|
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 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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
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 # V152
|
|
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 V152
|
|
24
25
|
class WebAuthn
|
|
25
26
|
EVENTS = {
|
|
26
27
|
credential_added: 'credentialAdded',
|
|
@@ -105,15 +106,18 @@ module Selenium
|
|
|
105
106
|
enabled: enabled)
|
|
106
107
|
end
|
|
107
108
|
|
|
108
|
-
def set_credential_properties(authenticator_id:, credential_id:, backup_eligibility: nil, backup_state: nil)
|
|
109
|
+
def set_credential_properties(authenticator_id:, credential_id:, backup_eligibility: nil, backup_state: nil, active_cmtg_key_index: nil, generate_cmtg_key_on_next_operation: nil, sign_count: nil)
|
|
109
110
|
@devtools.send_cmd('WebAuthn.setCredentialProperties',
|
|
110
111
|
authenticatorId: authenticator_id,
|
|
111
112
|
credentialId: credential_id,
|
|
112
113
|
backupEligibility: backup_eligibility,
|
|
113
|
-
backupState: backup_state
|
|
114
|
+
backupState: backup_state,
|
|
115
|
+
activeCmtgKeyIndex: active_cmtg_key_index,
|
|
116
|
+
generateCmtgKeyOnNextOperation: generate_cmtg_key_on_next_operation,
|
|
117
|
+
signCount: sign_count)
|
|
114
118
|
end
|
|
115
119
|
|
|
116
120
|
end # WebAuthn
|
|
117
|
-
end #
|
|
121
|
+
end # V152
|
|
118
122
|
end # DevTools
|
|
119
123
|
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 WebMCP
|
|
25
26
|
EVENTS = {
|
|
26
27
|
tools_added: 'toolsAdded',
|
|
@@ -46,7 +47,19 @@ module Selenium
|
|
|
46
47
|
@devtools.send_cmd('WebMCP.disable')
|
|
47
48
|
end
|
|
48
49
|
|
|
50
|
+
def invoke_tool(frame_id:, tool_name:, input:)
|
|
51
|
+
@devtools.send_cmd('WebMCP.invokeTool',
|
|
52
|
+
frameId: frame_id,
|
|
53
|
+
toolName: tool_name,
|
|
54
|
+
input: input)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def cancel_invocation(invocation_id:)
|
|
58
|
+
@devtools.send_cmd('WebMCP.cancelInvocation',
|
|
59
|
+
invocationId: invocation_id)
|
|
60
|
+
end
|
|
61
|
+
|
|
49
62
|
end # WebMCP
|
|
50
|
-
end #
|
|
63
|
+
end # V152
|
|
51
64
|
end # DevTools
|
|
52
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__))}/v152/*", &method(:require))
|
|
23
24
|
|
|
24
25
|
module Selenium
|
|
25
26
|
module DevTools
|
|
26
|
-
module
|
|
27
|
+
module V152
|
|
27
28
|
METHODS_TO_CLASSES = {
|
|
28
29
|
accessibility: 'Accessibility',
|
|
30
|
+
ads: 'Ads',
|
|
29
31
|
animation: 'Animation',
|
|
30
32
|
audits: 'Audits',
|
|
31
33
|
autofill: 'Autofill',
|
|
@@ -42,6 +44,7 @@ module Selenium
|
|
|
42
44
|
dom_storage: 'DOMStorage',
|
|
43
45
|
device_access: 'DeviceAccess',
|
|
44
46
|
device_orientation: 'DeviceOrientation',
|
|
47
|
+
digital_credentials: 'DigitalCredentials',
|
|
45
48
|
emulation: 'Emulation',
|
|
46
49
|
event_breakpoints: 'EventBreakpoints',
|
|
47
50
|
extensions: 'Extensions',
|
|
@@ -82,6 +85,6 @@ module Selenium
|
|
|
82
85
|
runtime: 'Runtime',
|
|
83
86
|
schema: 'Schema',
|
|
84
87
|
}.freeze
|
|
85
|
-
end #
|
|
88
|
+
end # V152
|
|
86
89
|
end # DevTools
|
|
87
90
|
end # Selenium
|