selenium-devtools 0.146.0 → 0.147.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/{v144 → v147}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/animation.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/audits.rb +2 -7
- data/lib/selenium/devtools/{v144 → v147}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/background_service.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/bluetooth_emulation.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/browser.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/cast.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/console.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/css.rb +9 -2
- data/lib/selenium/devtools/{v144 → v147}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/dom.rb +3 -2
- data/lib/selenium/devtools/{v144 → v147}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/emulation.rb +27 -4
- data/lib/selenium/devtools/{v144 → v147}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/extensions.rb +15 -4
- data/lib/selenium/devtools/{v144 → v147}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/input.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/io.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/log.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/media.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/memory.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/network.rb +21 -4
- data/lib/selenium/devtools/{v144 → v147}/overlay.rb +9 -2
- data/lib/selenium/devtools/{v144 → v147}/page.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/performance.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/preload.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/schema.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/security.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/service_worker.rb +2 -2
- data/lib/selenium/devtools/v147/smart_card_emulation.rb +124 -0
- data/lib/selenium/devtools/{v144 → v147}/storage.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/target.rb +5 -4
- data/lib/selenium/devtools/{v144 → v147}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/tracing.rb +6 -2
- data/lib/selenium/devtools/{v144 → v147}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v144 → v147}/web_authn.rb +2 -2
- data/lib/selenium/devtools/v147/web_mcp.rb +46 -0
- data/lib/selenium/devtools/{v144.rb → v147.rb} +5 -3
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +58 -56
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ebdc00abba02a02d697da5211a66ddac9c241adc4c2be5d8be3e7f91102f3eb
|
|
4
|
+
data.tar.gz: b9839d461dd1c3403425eec61dbc1d0ff52479bbe5c9957422071a8f6cab240b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb1adec7e506eaf0675f409400aae36b434634ce6c8dfd101564f4dad83b140037b89b1a73f2a3c7b65730036b03de66054abc51604f8ecfcba1b048657f75a8
|
|
7
|
+
data.tar.gz: 3eccaf440a734a67281096ec2c7f886b8ede2e946128941c814532e4d6e06f889d9b5909cc0eed85f17181489aef21dd537fcfcf3659773736ecf2a585248efd
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Accessibility
|
|
25
25
|
EVENTS = {
|
|
26
26
|
load_complete: 'loadComplete',
|
|
@@ -86,6 +86,6 @@ module Selenium
|
|
|
86
86
|
end
|
|
87
87
|
|
|
88
88
|
end # Accessibility
|
|
89
|
-
end #
|
|
89
|
+
end # V147
|
|
90
90
|
end # DevTools
|
|
91
91
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Animation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
animation_canceled: 'animationCanceled',
|
|
@@ -90,6 +90,6 @@ module Selenium
|
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
end # Animation
|
|
93
|
-
end #
|
|
93
|
+
end # V147
|
|
94
94
|
end # DevTools
|
|
95
95
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Audits
|
|
25
25
|
EVENTS = {
|
|
26
26
|
issue_added: 'issueAdded',
|
|
@@ -51,16 +51,11 @@ module Selenium
|
|
|
51
51
|
@devtools.send_cmd('Audits.enable')
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
def check_contrast(report_aaa: nil)
|
|
55
|
-
@devtools.send_cmd('Audits.checkContrast',
|
|
56
|
-
reportAAA: report_aaa)
|
|
57
|
-
end
|
|
58
|
-
|
|
59
54
|
def check_forms_issues
|
|
60
55
|
@devtools.send_cmd('Audits.checkFormsIssues')
|
|
61
56
|
end
|
|
62
57
|
|
|
63
58
|
end # Audits
|
|
64
|
-
end #
|
|
59
|
+
end # V147
|
|
65
60
|
end # DevTools
|
|
66
61
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Autofill
|
|
25
25
|
EVENTS = {
|
|
26
26
|
address_form_filled: 'addressFormFilled',
|
|
@@ -57,6 +57,6 @@ module Selenium
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
end # Autofill
|
|
60
|
-
end #
|
|
60
|
+
end # V147
|
|
61
61
|
end # DevTools
|
|
62
62
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class BackgroundService
|
|
25
25
|
EVENTS = {
|
|
26
26
|
recording_state_changed: 'recordingStateChanged',
|
|
@@ -58,6 +58,6 @@ module Selenium
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
end # BackgroundService
|
|
61
|
-
end #
|
|
61
|
+
end # V147
|
|
62
62
|
end # DevTools
|
|
63
63
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class BluetoothEmulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
gatt_operation_received: 'gattOperationReceived',
|
|
@@ -128,6 +128,6 @@ module Selenium
|
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
end # BluetoothEmulation
|
|
131
|
-
end #
|
|
131
|
+
end # V147
|
|
132
132
|
end # DevTools
|
|
133
133
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Browser
|
|
25
25
|
EVENTS = {
|
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
|
@@ -151,6 +151,6 @@ module Selenium
|
|
|
151
151
|
end
|
|
152
152
|
|
|
153
153
|
end # Browser
|
|
154
|
-
end #
|
|
154
|
+
end # V147
|
|
155
155
|
end # DevTools
|
|
156
156
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class CacheStorage
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -66,6 +66,6 @@ module Selenium
|
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
end # CacheStorage
|
|
69
|
-
end #
|
|
69
|
+
end # V147
|
|
70
70
|
end # DevTools
|
|
71
71
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Cast
|
|
25
25
|
EVENTS = {
|
|
26
26
|
sinks_updated: 'sinksUpdated',
|
|
@@ -66,6 +66,6 @@ module Selenium
|
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
end # Cast
|
|
69
|
-
end #
|
|
69
|
+
end # V147
|
|
70
70
|
end # DevTools
|
|
71
71
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Console
|
|
25
25
|
EVENTS = {
|
|
26
26
|
message_added: 'messageAdded',
|
|
@@ -48,6 +48,6 @@ module Selenium
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
end # Console
|
|
51
|
-
end #
|
|
51
|
+
end # V147
|
|
52
52
|
end # DevTools
|
|
53
53
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class CSS
|
|
25
25
|
EVENTS = {
|
|
26
26
|
fonts_updated: 'fontsUpdated',
|
|
@@ -204,6 +204,13 @@ module Selenium
|
|
|
204
204
|
text: text)
|
|
205
205
|
end
|
|
206
206
|
|
|
207
|
+
def set_navigation_text(style_sheet_id:, range:, text:)
|
|
208
|
+
@devtools.send_cmd('CSS.setNavigationText',
|
|
209
|
+
styleSheetId: style_sheet_id,
|
|
210
|
+
range: range,
|
|
211
|
+
text: text)
|
|
212
|
+
end
|
|
213
|
+
|
|
207
214
|
def set_scope_text(style_sheet_id:, range:, text:)
|
|
208
215
|
@devtools.send_cmd('CSS.setScopeText',
|
|
209
216
|
styleSheetId: style_sheet_id,
|
|
@@ -248,6 +255,6 @@ module Selenium
|
|
|
248
255
|
end
|
|
249
256
|
|
|
250
257
|
end # CSS
|
|
251
|
-
end #
|
|
258
|
+
end # V147
|
|
252
259
|
end # DevTools
|
|
253
260
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Debugger
|
|
25
25
|
EVENTS = {
|
|
26
26
|
breakpoint_resolved: 'breakpointResolved',
|
|
@@ -233,6 +233,6 @@ module Selenium
|
|
|
233
233
|
end
|
|
234
234
|
|
|
235
235
|
end # Debugger
|
|
236
|
-
end #
|
|
236
|
+
end # V147
|
|
237
237
|
end # DevTools
|
|
238
238
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class DeviceAccess
|
|
25
25
|
EVENTS = {
|
|
26
26
|
device_request_prompted: 'deviceRequestPrompted',
|
|
@@ -55,6 +55,6 @@ module Selenium
|
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
end # DeviceAccess
|
|
58
|
-
end #
|
|
58
|
+
end # V147
|
|
59
59
|
end # DevTools
|
|
60
60
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class DeviceOrientation
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -44,6 +44,6 @@ module Selenium
|
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
end # DeviceOrientation
|
|
47
|
-
end #
|
|
47
|
+
end # V147
|
|
48
48
|
end # DevTools
|
|
49
49
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class DOM
|
|
25
25
|
EVENTS = {
|
|
26
26
|
attribute_modified: 'attributeModified',
|
|
@@ -36,6 +36,7 @@ module Selenium
|
|
|
36
36
|
pseudo_element_added: 'pseudoElementAdded',
|
|
37
37
|
top_layer_elements_updated: 'topLayerElementsUpdated',
|
|
38
38
|
scrollable_flag_updated: 'scrollableFlagUpdated',
|
|
39
|
+
ad_related_state_updated: 'adRelatedStateUpdated',
|
|
39
40
|
affected_by_starting_styles_flag_updated: 'affectedByStartingStylesFlagUpdated',
|
|
40
41
|
pseudo_element_removed: 'pseudoElementRemoved',
|
|
41
42
|
set_child_nodes: 'setChildNodes',
|
|
@@ -365,6 +366,6 @@ module Selenium
|
|
|
365
366
|
end
|
|
366
367
|
|
|
367
368
|
end # DOM
|
|
368
|
-
end #
|
|
369
|
+
end # V147
|
|
369
370
|
end # DevTools
|
|
370
371
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class DOMDebugger
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -89,6 +89,6 @@ module Selenium
|
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
end # DOMDebugger
|
|
92
|
-
end #
|
|
92
|
+
end # V147
|
|
93
93
|
end # DevTools
|
|
94
94
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class DOMSnapshot
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -58,6 +58,6 @@ module Selenium
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
end # DOMSnapshot
|
|
61
|
-
end #
|
|
61
|
+
end # V147
|
|
62
62
|
end # DevTools
|
|
63
63
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class DOMStorage
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dom_storage_item_added: 'domStorageItemAdded',
|
|
@@ -70,6 +70,6 @@ module Selenium
|
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
end # DOMStorage
|
|
73
|
-
end #
|
|
73
|
+
end # V147
|
|
74
74
|
end # DevTools
|
|
75
75
|
end # Selenium
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Emulation
|
|
25
25
|
EVENTS = {
|
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
|
27
|
+
screen_orientation_lock_changed: 'screenOrientationLockChanged',
|
|
27
28
|
}.freeze
|
|
28
29
|
|
|
29
30
|
def initialize(devtools)
|
|
@@ -76,7 +77,7 @@ module Selenium
|
|
|
76
77
|
insets: insets)
|
|
77
78
|
end
|
|
78
79
|
|
|
79
|
-
def set_device_metrics_override(width:, height:, device_scale_factor:, mobile:, scale: nil, screen_width: nil, screen_height: nil, position_x: nil, position_y: nil, dont_set_visible_size: nil, screen_orientation: nil, viewport: nil, display_feature: nil, device_posture: nil)
|
|
80
|
+
def set_device_metrics_override(width:, height:, device_scale_factor:, mobile:, scale: nil, screen_width: nil, screen_height: nil, position_x: nil, position_y: nil, dont_set_visible_size: nil, screen_orientation: nil, viewport: nil, display_feature: nil, device_posture: nil, scrollbar_type: nil, screen_orientation_lock_emulation: nil)
|
|
80
81
|
@devtools.send_cmd('Emulation.setDeviceMetricsOverride',
|
|
81
82
|
width: width,
|
|
82
83
|
height: height,
|
|
@@ -91,7 +92,9 @@ module Selenium
|
|
|
91
92
|
screenOrientation: screen_orientation,
|
|
92
93
|
viewport: viewport,
|
|
93
94
|
displayFeature: display_feature,
|
|
94
|
-
devicePosture: device_posture
|
|
95
|
+
devicePosture: device_posture,
|
|
96
|
+
scrollbarType: scrollbar_type,
|
|
97
|
+
screenOrientationLockEmulation: screen_orientation_lock_emulation)
|
|
95
98
|
end
|
|
96
99
|
|
|
97
100
|
def set_device_posture_override(posture:)
|
|
@@ -299,12 +302,32 @@ module Selenium
|
|
|
299
302
|
isInternal: is_internal)
|
|
300
303
|
end
|
|
301
304
|
|
|
305
|
+
def update_screen(screen_id:, left: nil, top: nil, width: nil, height: nil, work_area_insets: nil, device_pixel_ratio: nil, rotation: nil, color_depth: nil, label: nil, is_internal: nil)
|
|
306
|
+
@devtools.send_cmd('Emulation.updateScreen',
|
|
307
|
+
screenId: screen_id,
|
|
308
|
+
left: left,
|
|
309
|
+
top: top,
|
|
310
|
+
width: width,
|
|
311
|
+
height: height,
|
|
312
|
+
workAreaInsets: work_area_insets,
|
|
313
|
+
devicePixelRatio: device_pixel_ratio,
|
|
314
|
+
rotation: rotation,
|
|
315
|
+
colorDepth: color_depth,
|
|
316
|
+
label: label,
|
|
317
|
+
isInternal: is_internal)
|
|
318
|
+
end
|
|
319
|
+
|
|
302
320
|
def remove_screen(screen_id:)
|
|
303
321
|
@devtools.send_cmd('Emulation.removeScreen',
|
|
304
322
|
screenId: screen_id)
|
|
305
323
|
end
|
|
306
324
|
|
|
325
|
+
def set_primary_screen(screen_id:)
|
|
326
|
+
@devtools.send_cmd('Emulation.setPrimaryScreen',
|
|
327
|
+
screenId: screen_id)
|
|
328
|
+
end
|
|
329
|
+
|
|
307
330
|
end # Emulation
|
|
308
|
-
end #
|
|
331
|
+
end # V147
|
|
309
332
|
end # DevTools
|
|
310
333
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class EventBreakpoints
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -47,6 +47,6 @@ module Selenium
|
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
end # EventBreakpoints
|
|
50
|
-
end #
|
|
50
|
+
end # V147
|
|
51
51
|
end # DevTools
|
|
52
52
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Extensions
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -32,9 +32,20 @@ module Selenium
|
|
|
32
32
|
@devtools.callbacks["Extensions.#{event}"] << block
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
def
|
|
35
|
+
def trigger_action(id:, target_id:)
|
|
36
|
+
@devtools.send_cmd('Extensions.triggerAction',
|
|
37
|
+
id: id,
|
|
38
|
+
targetId: target_id)
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def load_unpacked(path:, enable_in_incognito: nil)
|
|
36
42
|
@devtools.send_cmd('Extensions.loadUnpacked',
|
|
37
|
-
path: path
|
|
43
|
+
path: path,
|
|
44
|
+
enableInIncognito: enable_in_incognito)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def get_extensions
|
|
48
|
+
@devtools.send_cmd('Extensions.getExtensions')
|
|
38
49
|
end
|
|
39
50
|
|
|
40
51
|
def uninstall(id:)
|
|
@@ -70,6 +81,6 @@ module Selenium
|
|
|
70
81
|
end
|
|
71
82
|
|
|
72
83
|
end # Extensions
|
|
73
|
-
end #
|
|
84
|
+
end # V147
|
|
74
85
|
end # DevTools
|
|
75
86
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class FedCm
|
|
25
25
|
EVENTS = {
|
|
26
26
|
dialog_shown: 'dialogShown',
|
|
@@ -75,6 +75,6 @@ module Selenium
|
|
|
75
75
|
end
|
|
76
76
|
|
|
77
77
|
end # FedCm
|
|
78
|
-
end #
|
|
78
|
+
end # V147
|
|
79
79
|
end # DevTools
|
|
80
80
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Fetch
|
|
25
25
|
EVENTS = {
|
|
26
26
|
request_paused: 'requestPaused',
|
|
@@ -98,6 +98,6 @@ module Selenium
|
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
end # Fetch
|
|
101
|
-
end #
|
|
101
|
+
end # V147
|
|
102
102
|
end # DevTools
|
|
103
103
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class FileSystem
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -38,6 +38,6 @@ module Selenium
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
end # FileSystem
|
|
41
|
-
end #
|
|
41
|
+
end # V147
|
|
42
42
|
end # DevTools
|
|
43
43
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class HeadlessExperimental
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -49,6 +49,6 @@ module Selenium
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
end # HeadlessExperimental
|
|
52
|
-
end #
|
|
52
|
+
end # V147
|
|
53
53
|
end # DevTools
|
|
54
54
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class HeapProfiler
|
|
25
25
|
EVENTS = {
|
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
|
@@ -105,6 +105,6 @@ module Selenium
|
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
end # HeapProfiler
|
|
108
|
-
end #
|
|
108
|
+
end # V147
|
|
109
109
|
end # DevTools
|
|
110
110
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class IndexedDB
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -105,6 +105,6 @@ module Selenium
|
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
end # IndexedDB
|
|
108
|
-
end #
|
|
108
|
+
end # V147
|
|
109
109
|
end # DevTools
|
|
110
110
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Input
|
|
25
25
|
EVENTS = {
|
|
26
26
|
drag_intercepted: 'dragIntercepted',
|
|
@@ -167,6 +167,6 @@ module Selenium
|
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
end # Input
|
|
170
|
-
end #
|
|
170
|
+
end # V147
|
|
171
171
|
end # DevTools
|
|
172
172
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class Inspector
|
|
25
25
|
EVENTS = {
|
|
26
26
|
detached: 'detached',
|
|
@@ -47,6 +47,6 @@ module Selenium
|
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
end # Inspector
|
|
50
|
-
end #
|
|
50
|
+
end # V147
|
|
51
51
|
end # DevTools
|
|
52
52
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class IO
|
|
25
25
|
|
|
26
26
|
def initialize(devtools)
|
|
@@ -50,6 +50,6 @@ module Selenium
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
end # IO
|
|
53
|
-
end #
|
|
53
|
+
end # V147
|
|
54
54
|
end # DevTools
|
|
55
55
|
end # Selenium
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
|
21
21
|
module Selenium
|
|
22
22
|
module DevTools
|
|
23
|
-
module
|
|
23
|
+
module V147
|
|
24
24
|
class LayerTree
|
|
25
25
|
EVENTS = {
|
|
26
26
|
layer_painted: 'layerPainted',
|
|
@@ -86,6 +86,6 @@ module Selenium
|
|
|
86
86
|
end
|
|
87
87
|
|
|
88
88
|
end # LayerTree
|
|
89
|
-
end #
|
|
89
|
+
end # V147
|
|
90
90
|
end # DevTools
|
|
91
91
|
end # Selenium
|