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
|
@@ -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 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 # 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 IO
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -51,6 +51,6 @@ module Selenium
|
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
end # IO
|
|
54
|
-
end #
|
|
54
|
+
end # V152
|
|
55
55
|
end # DevTools
|
|
56
56
|
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 LayerTree
|
|
26
26
|
EVENTS = {
|
|
27
27
|
layer_painted: 'layerPainted',
|
|
@@ -87,6 +87,6 @@ module Selenium
|
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
end # LayerTree
|
|
90
|
-
end #
|
|
90
|
+
end # V152
|
|
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 V152
|
|
25
25
|
class Log
|
|
26
26
|
EVENTS = {
|
|
27
27
|
entry_added: 'entryAdded',
|
|
@@ -58,6 +58,6 @@ module Selenium
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
end # Log
|
|
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 Media
|
|
26
26
|
EVENTS = {
|
|
27
27
|
player_properties_changed: 'playerPropertiesChanged',
|
|
@@ -49,6 +49,6 @@ module Selenium
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
end # Media
|
|
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 Memory
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -82,6 +82,6 @@ module Selenium
|
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
end # Memory
|
|
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 Network
|
|
26
26
|
EVENTS = {
|
|
27
27
|
data_received: 'dataReceived',
|
|
@@ -327,6 +327,6 @@ module Selenium
|
|
|
327
327
|
end
|
|
328
328
|
|
|
329
329
|
end # Network
|
|
330
|
-
end #
|
|
330
|
+
end # V152
|
|
331
331
|
end # DevTools
|
|
332
332
|
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 Overlay
|
|
26
26
|
EVENTS = {
|
|
27
27
|
inspect_node_requested: 'inspectNodeRequested',
|
|
@@ -199,6 +199,11 @@ module Selenium
|
|
|
199
199
|
hingeConfig: hinge_config)
|
|
200
200
|
end
|
|
201
201
|
|
|
202
|
+
def set_show_display_cutout(display_cutout_config: nil)
|
|
203
|
+
@devtools.send_cmd('Overlay.setShowDisplayCutout',
|
|
204
|
+
displayCutoutConfig: display_cutout_config)
|
|
205
|
+
end
|
|
206
|
+
|
|
202
207
|
def set_show_isolated_elements(isolated_element_highlight_configs:)
|
|
203
208
|
@devtools.send_cmd('Overlay.setShowIsolatedElements',
|
|
204
209
|
isolatedElementHighlightConfigs: isolated_element_highlight_configs)
|
|
@@ -210,6 +215,6 @@ module Selenium
|
|
|
210
215
|
end
|
|
211
216
|
|
|
212
217
|
end # Overlay
|
|
213
|
-
end #
|
|
218
|
+
end # V152
|
|
214
219
|
end # DevTools
|
|
215
220
|
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 Page
|
|
26
26
|
EVENTS = {
|
|
27
27
|
dom_content_event_fired: 'domContentEventFired',
|
|
@@ -107,11 +107,12 @@ module Selenium
|
|
|
107
107
|
@devtools.send_cmd('Page.clearGeolocationOverride')
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
def create_isolated_world(frame_id:, world_name: nil, grant_univeral_access: nil)
|
|
110
|
+
def create_isolated_world(frame_id:, world_name: nil, grant_univeral_access: nil, content_security_policy: nil)
|
|
111
111
|
@devtools.send_cmd('Page.createIsolatedWorld',
|
|
112
112
|
frameId: frame_id,
|
|
113
113
|
worldName: world_name,
|
|
114
|
-
grantUniveralAccess: grant_univeral_access
|
|
114
|
+
grantUniveralAccess: grant_univeral_access,
|
|
115
|
+
contentSecurityPolicy: content_security_policy)
|
|
115
116
|
end
|
|
116
117
|
|
|
117
118
|
def delete_cookie(cookie_name:, url:)
|
|
@@ -415,6 +416,6 @@ module Selenium
|
|
|
415
416
|
end
|
|
416
417
|
|
|
417
418
|
end # Page
|
|
418
|
-
end #
|
|
419
|
+
end # V152
|
|
419
420
|
end # DevTools
|
|
420
421
|
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 Performance
|
|
26
26
|
EVENTS = {
|
|
27
27
|
metrics: 'metrics',
|
|
@@ -55,6 +55,6 @@ module Selenium
|
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
end # Performance
|
|
58
|
-
end #
|
|
58
|
+
end # V152
|
|
59
59
|
end # DevTools
|
|
60
60
|
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 PerformanceTimeline
|
|
26
26
|
EVENTS = {
|
|
27
27
|
timeline_event_added: 'timelineEventAdded',
|
|
@@ -42,6 +42,6 @@ module Selenium
|
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
end # PerformanceTimeline
|
|
45
|
-
end #
|
|
45
|
+
end # V152
|
|
46
46
|
end # DevTools
|
|
47
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 Preload
|
|
26
26
|
EVENTS = {
|
|
27
27
|
rule_set_updated: 'ruleSetUpdated',
|
|
@@ -50,6 +50,6 @@ module Selenium
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
end # Preload
|
|
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 Profiler
|
|
26
26
|
EVENTS = {
|
|
27
27
|
console_profile_finished: 'consoleProfileFinished',
|
|
@@ -79,6 +79,6 @@ module Selenium
|
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
end # Profiler
|
|
82
|
-
end #
|
|
82
|
+
end # V152
|
|
83
83
|
end # DevTools
|
|
84
84
|
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 PWA
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -74,6 +74,6 @@ module Selenium
|
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
end # PWA
|
|
77
|
-
end #
|
|
77
|
+
end # V152
|
|
78
78
|
end # DevTools
|
|
79
79
|
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 Runtime
|
|
26
26
|
EVENTS = {
|
|
27
27
|
binding_called: 'bindingCalled',
|
|
@@ -198,6 +198,6 @@ module Selenium
|
|
|
198
198
|
end
|
|
199
199
|
|
|
200
200
|
end # Runtime
|
|
201
|
-
end #
|
|
201
|
+
end # V152
|
|
202
202
|
end # DevTools
|
|
203
203
|
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 Schema
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -38,6 +38,6 @@ module Selenium
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
end # Schema
|
|
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 Security
|
|
26
26
|
EVENTS = {
|
|
27
27
|
certificate_error: 'certificateError',
|
|
@@ -63,6 +63,6 @@ module Selenium
|
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
end # Security
|
|
66
|
-
end #
|
|
66
|
+
end # V152
|
|
67
67
|
end # DevTools
|
|
68
68
|
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 ServiceWorker
|
|
26
26
|
EVENTS = {
|
|
27
27
|
worker_error_reported: 'workerErrorReported',
|
|
@@ -103,6 +103,6 @@ module Selenium
|
|
|
103
103
|
end
|
|
104
104
|
|
|
105
105
|
end # ServiceWorker
|
|
106
|
-
end #
|
|
106
|
+
end # V152
|
|
107
107
|
end # DevTools
|
|
108
108
|
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 SmartCardEmulation
|
|
26
26
|
EVENTS = {
|
|
27
27
|
establish_context_requested: 'establishContextRequested',
|
|
@@ -120,6 +120,6 @@ module Selenium
|
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
end # SmartCardEmulation
|
|
123
|
-
end #
|
|
123
|
+
end # V152
|
|
124
124
|
end # DevTools
|
|
125
125
|
end # Selenium
|
|
@@ -21,16 +21,13 @@
|
|
|
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 Storage
|
|
26
26
|
EVENTS = {
|
|
27
27
|
cache_storage_content_updated: 'cacheStorageContentUpdated',
|
|
28
28
|
cache_storage_list_updated: 'cacheStorageListUpdated',
|
|
29
29
|
indexed_db_content_updated: 'indexedDBContentUpdated',
|
|
30
30
|
indexed_db_list_updated: 'indexedDBListUpdated',
|
|
31
|
-
interest_group_accessed: 'interestGroupAccessed',
|
|
32
|
-
interest_group_auction_event_occurred: 'interestGroupAuctionEventOccurred',
|
|
33
|
-
interest_group_auction_network_request_created: 'interestGroupAuctionNetworkRequestCreated',
|
|
34
31
|
shared_storage_accessed: 'sharedStorageAccessed',
|
|
35
32
|
shared_storage_worklet_operation_execution_finished: 'sharedStorageWorkletOperationExecutionFinished',
|
|
36
33
|
storage_bucket_created_or_updated: 'storageBucketCreatedOrUpdated',
|
|
@@ -144,22 +141,6 @@ module Selenium
|
|
|
144
141
|
issuerOrigin: issuer_origin)
|
|
145
142
|
end
|
|
146
143
|
|
|
147
|
-
def get_interest_group_details(owner_origin:, name:)
|
|
148
|
-
@devtools.send_cmd('Storage.getInterestGroupDetails',
|
|
149
|
-
ownerOrigin: owner_origin,
|
|
150
|
-
name: name)
|
|
151
|
-
end
|
|
152
|
-
|
|
153
|
-
def set_interest_group_tracking(enable:)
|
|
154
|
-
@devtools.send_cmd('Storage.setInterestGroupTracking',
|
|
155
|
-
enable: enable)
|
|
156
|
-
end
|
|
157
|
-
|
|
158
|
-
def set_interest_group_auction_tracking(enable:)
|
|
159
|
-
@devtools.send_cmd('Storage.setInterestGroupAuctionTracking',
|
|
160
|
-
enable: enable)
|
|
161
|
-
end
|
|
162
|
-
|
|
163
144
|
def get_shared_storage_metadata(owner_origin:)
|
|
164
145
|
@devtools.send_cmd('Storage.getSharedStorageMetadata',
|
|
165
146
|
ownerOrigin: owner_origin)
|
|
@@ -218,14 +199,7 @@ module Selenium
|
|
|
218
199
|
@devtools.send_cmd('Storage.getRelatedWebsiteSets')
|
|
219
200
|
end
|
|
220
201
|
|
|
221
|
-
def set_protected_audience_k_anonymity(owner:, name:, hashes:)
|
|
222
|
-
@devtools.send_cmd('Storage.setProtectedAudienceKAnonymity',
|
|
223
|
-
owner: owner,
|
|
224
|
-
name: name,
|
|
225
|
-
hashes: hashes)
|
|
226
|
-
end
|
|
227
|
-
|
|
228
202
|
end # Storage
|
|
229
|
-
end #
|
|
203
|
+
end # V152
|
|
230
204
|
end # DevTools
|
|
231
205
|
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 SystemInfo
|
|
26
26
|
|
|
27
27
|
def initialize(devtools)
|
|
@@ -47,6 +47,6 @@ module Selenium
|
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
end # SystemInfo
|
|
50
|
-
end #
|
|
50
|
+
end # V152
|
|
51
51
|
end # DevTools
|
|
52
52
|
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 Target
|
|
26
26
|
EVENTS = {
|
|
27
27
|
attached_to_target: 'attachedToTarget',
|
|
@@ -164,6 +164,6 @@ module Selenium
|
|
|
164
164
|
end
|
|
165
165
|
|
|
166
166
|
end # Target
|
|
167
|
-
end #
|
|
167
|
+
end # V152
|
|
168
168
|
end # DevTools
|
|
169
169
|
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 Tethering
|
|
26
26
|
EVENTS = {
|
|
27
27
|
accepted: 'accepted',
|
|
@@ -47,6 +47,6 @@ module Selenium
|
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
end # Tethering
|
|
50
|
-
end #
|
|
50
|
+
end # V152
|
|
51
51
|
end # DevTools
|
|
52
52
|
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 Tracing
|
|
26
26
|
EVENTS = {
|
|
27
27
|
buffer_usage: 'bufferUsage',
|
|
@@ -61,7 +61,7 @@ module Selenium
|
|
|
61
61
|
levelOfDetail: level_of_detail)
|
|
62
62
|
end
|
|
63
63
|
|
|
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)
|
|
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)
|
|
65
65
|
@devtools.send_cmd('Tracing.start',
|
|
66
66
|
categories: categories,
|
|
67
67
|
options: options,
|
|
@@ -71,10 +71,12 @@ module Selenium
|
|
|
71
71
|
streamCompression: stream_compression,
|
|
72
72
|
traceConfig: trace_config,
|
|
73
73
|
perfettoConfig: perfetto_config,
|
|
74
|
-
tracingBackend: tracing_backend
|
|
74
|
+
tracingBackend: tracing_backend,
|
|
75
|
+
screenshotMaxSize: screenshot_max_size,
|
|
76
|
+
screenshotMaxCount: screenshot_max_count)
|
|
75
77
|
end
|
|
76
78
|
|
|
77
79
|
end # Tracing
|
|
78
|
-
end #
|
|
80
|
+
end # V152
|
|
79
81
|
end # DevTools
|
|
80
82
|
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 WebAudio
|
|
26
26
|
EVENTS = {
|
|
27
27
|
context_created: 'contextCreated',
|
|
@@ -62,6 +62,6 @@ module Selenium
|
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
end # WebAudio
|
|
65
|
-
end #
|
|
65
|
+
end # V152
|
|
66
66
|
end # DevTools
|
|
67
67
|
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 WebAuthn
|
|
26
26
|
EVENTS = {
|
|
27
27
|
credential_added: 'credentialAdded',
|
|
@@ -106,15 +106,18 @@ module Selenium
|
|
|
106
106
|
enabled: enabled)
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
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)
|
|
110
110
|
@devtools.send_cmd('WebAuthn.setCredentialProperties',
|
|
111
111
|
authenticatorId: authenticator_id,
|
|
112
112
|
credentialId: credential_id,
|
|
113
113
|
backupEligibility: backup_eligibility,
|
|
114
|
-
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)
|
|
115
118
|
end
|
|
116
119
|
|
|
117
120
|
end # WebAuthn
|
|
118
|
-
end #
|
|
121
|
+
end # V152
|
|
119
122
|
end # DevTools
|
|
120
123
|
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 WebMCP
|
|
26
26
|
EVENTS = {
|
|
27
27
|
tools_added: 'toolsAdded',
|
|
@@ -60,6 +60,6 @@ module Selenium
|
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
end # WebMCP
|
|
63
|
-
end #
|
|
63
|
+
end # V152
|
|
64
64
|
end # DevTools
|
|
65
65
|
end # Selenium
|
|
@@ -20,13 +20,14 @@
|
|
|
20
20
|
# DO NOT EDIT! This file is generated by rb/lib/selenium/devtools/support/cdp_client_generator.rb.
|
|
21
21
|
# Regenerate with: `bazel build //rb/lib/selenium/devtools:all`
|
|
22
22
|
|
|
23
|
-
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/
|
|
23
|
+
Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v152/*", &method(:require))
|
|
24
24
|
|
|
25
25
|
module Selenium
|
|
26
26
|
module DevTools
|
|
27
|
-
module
|
|
27
|
+
module V152
|
|
28
28
|
METHODS_TO_CLASSES = {
|
|
29
29
|
accessibility: 'Accessibility',
|
|
30
|
+
ads: 'Ads',
|
|
30
31
|
animation: 'Animation',
|
|
31
32
|
audits: 'Audits',
|
|
32
33
|
autofill: 'Autofill',
|
|
@@ -43,6 +44,7 @@ module Selenium
|
|
|
43
44
|
dom_storage: 'DOMStorage',
|
|
44
45
|
device_access: 'DeviceAccess',
|
|
45
46
|
device_orientation: 'DeviceOrientation',
|
|
47
|
+
digital_credentials: 'DigitalCredentials',
|
|
46
48
|
emulation: 'Emulation',
|
|
47
49
|
event_breakpoints: 'EventBreakpoints',
|
|
48
50
|
extensions: 'Extensions',
|
|
@@ -83,6 +85,6 @@ module Selenium
|
|
|
83
85
|
runtime: 'Runtime',
|
|
84
86
|
schema: 'Schema',
|
|
85
87
|
}.freeze
|
|
86
|
-
end #
|
|
88
|
+
end # V152
|
|
87
89
|
end # DevTools
|
|
88
90
|
end # Selenium
|