selenium-devtools 0.136.0 → 0.137.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/{v134 → v137}/accessibility.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/animation.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/audits.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/autofill.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/background_service.rb +2 -2
- data/lib/selenium/devtools/v137/bluetooth_emulation.rb +119 -0
- data/lib/selenium/devtools/{v134 → v137}/browser.rb +10 -2
- data/lib/selenium/devtools/{v134 → v137}/cache_storage.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/cast.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/console.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/css.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/debugger.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/device_access.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/device_orientation.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/dom.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/dom_debugger.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/dom_snapshot.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/dom_storage.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/emulation.rb +27 -4
- data/lib/selenium/devtools/{v134 → v137}/event_breakpoints.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/extensions.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/fed_cm.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/fetch.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/file_system.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/headless_experimental.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/heap_profiler.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/indexed_db.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/input.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/inspector.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/io.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/layer_tree.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/log.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/media.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/memory.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/network.rb +9 -2
- data/lib/selenium/devtools/{v134 → v137}/overlay.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/page.rb +10 -8
- data/lib/selenium/devtools/{v134 → v137}/performance.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/performance_timeline.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/preload.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/profiler.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/pwa.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/runtime.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/schema.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/security.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/service_worker.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/storage.rb +9 -2
- data/lib/selenium/devtools/{v134 → v137}/system_info.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/target.rb +8 -6
- data/lib/selenium/devtools/{v134 → v137}/tethering.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/tracing.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/web_audio.rb +2 -2
- data/lib/selenium/devtools/{v134 → v137}/web_authn.rb +2 -2
- data/lib/selenium/devtools/{v134.rb → v137.rb} +3 -3
- data/lib/selenium/devtools/version.rb +1 -1
- data/selenium-devtools.gemspec +1 -1
- metadata +58 -58
- data/lib/selenium/devtools/v134/bluetooth_emulation.rb +0 -60
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00ba6f67c32896df748ec736e213ebd1fa4d6771f4d1cbecc8fcbea5424582bd
|
4
|
+
data.tar.gz: 34e451121e45c7a2ee652f682c41f2f08c62c459300e42f7c73345ce64ddb496
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1eec57c34383e06f695d6203105138304f05dc83d96ac527a9d57a71acc3c52ffa92de23f8b178ead813df4f6cf884c982c800c7c9706505a6810702a83d68dc
|
7
|
+
data.tar.gz: 0604e7abcb47c6230bd5b37a61fbc579b1ab78272e388ba9c06941d9b56b8718630f5a4b22f6b21b214998760356af7dec1d6b33afa3f9fb3f7f34cc35a436ee
|
@@ -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 V137
|
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 # V137
|
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 V137
|
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 # V137
|
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 V137
|
24
24
|
class Audits
|
25
25
|
EVENTS = {
|
26
26
|
issue_added: 'issueAdded',
|
@@ -61,6 +61,6 @@ module Selenium
|
|
61
61
|
end
|
62
62
|
|
63
63
|
end # Audits
|
64
|
-
end #
|
64
|
+
end # V137
|
65
65
|
end # DevTools
|
66
66
|
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 V137
|
24
24
|
class Autofill
|
25
25
|
EVENTS = {
|
26
26
|
address_form_filled: 'addressFormFilled',
|
@@ -56,6 +56,6 @@ module Selenium
|
|
56
56
|
end
|
57
57
|
|
58
58
|
end # Autofill
|
59
|
-
end #
|
59
|
+
end # V137
|
60
60
|
end # DevTools
|
61
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 V137
|
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 # V137
|
62
62
|
end # DevTools
|
63
63
|
end # Selenium
|
@@ -0,0 +1,119 @@
|
|
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
|
+
# This file is automatically generated. Any changes will be lost!
|
21
|
+
module Selenium
|
22
|
+
module DevTools
|
23
|
+
module V137
|
24
|
+
class BluetoothEmulation
|
25
|
+
EVENTS = {
|
26
|
+
gatt_operation_received: 'gattOperationReceived',
|
27
|
+
characteristic_operation_received: 'characteristicOperationReceived',
|
28
|
+
}.freeze
|
29
|
+
|
30
|
+
def initialize(devtools)
|
31
|
+
@devtools = devtools
|
32
|
+
end
|
33
|
+
|
34
|
+
def on(event, &block)
|
35
|
+
event = EVENTS[event] if event.is_a?(Symbol)
|
36
|
+
@devtools.callbacks["BluetoothEmulation.#{event}"] << block
|
37
|
+
end
|
38
|
+
|
39
|
+
def enable(state:, le_supported:)
|
40
|
+
@devtools.send_cmd('BluetoothEmulation.enable',
|
41
|
+
state: state,
|
42
|
+
leSupported: le_supported)
|
43
|
+
end
|
44
|
+
|
45
|
+
def set_simulated_central_state(state:)
|
46
|
+
@devtools.send_cmd('BluetoothEmulation.setSimulatedCentralState',
|
47
|
+
state: state)
|
48
|
+
end
|
49
|
+
|
50
|
+
def disable
|
51
|
+
@devtools.send_cmd('BluetoothEmulation.disable')
|
52
|
+
end
|
53
|
+
|
54
|
+
def simulate_preconnected_peripheral(address:, name:, manufacturer_data:, known_service_uuids:)
|
55
|
+
@devtools.send_cmd('BluetoothEmulation.simulatePreconnectedPeripheral',
|
56
|
+
address: address,
|
57
|
+
name: name,
|
58
|
+
manufacturerData: manufacturer_data,
|
59
|
+
knownServiceUuids: known_service_uuids)
|
60
|
+
end
|
61
|
+
|
62
|
+
def simulate_advertisement(entry:)
|
63
|
+
@devtools.send_cmd('BluetoothEmulation.simulateAdvertisement',
|
64
|
+
entry: entry)
|
65
|
+
end
|
66
|
+
|
67
|
+
def simulate_gatt_operation_response(address:, type:, code:)
|
68
|
+
@devtools.send_cmd('BluetoothEmulation.simulateGATTOperationResponse',
|
69
|
+
address: address,
|
70
|
+
type: type,
|
71
|
+
code: code)
|
72
|
+
end
|
73
|
+
|
74
|
+
def simulate_characteristic_operation_response(characteristic_id:, type:, code:, data: nil)
|
75
|
+
@devtools.send_cmd('BluetoothEmulation.simulateCharacteristicOperationResponse',
|
76
|
+
characteristicId: characteristic_id,
|
77
|
+
type: type,
|
78
|
+
code: code,
|
79
|
+
data: data)
|
80
|
+
end
|
81
|
+
|
82
|
+
def add_service(address:, service_uuid:)
|
83
|
+
@devtools.send_cmd('BluetoothEmulation.addService',
|
84
|
+
address: address,
|
85
|
+
serviceUuid: service_uuid)
|
86
|
+
end
|
87
|
+
|
88
|
+
def remove_service(service_id:)
|
89
|
+
@devtools.send_cmd('BluetoothEmulation.removeService',
|
90
|
+
serviceId: service_id)
|
91
|
+
end
|
92
|
+
|
93
|
+
def add_characteristic(service_id:, characteristic_uuid:, properties:)
|
94
|
+
@devtools.send_cmd('BluetoothEmulation.addCharacteristic',
|
95
|
+
serviceId: service_id,
|
96
|
+
characteristicUuid: characteristic_uuid,
|
97
|
+
properties: properties)
|
98
|
+
end
|
99
|
+
|
100
|
+
def remove_characteristic(characteristic_id:)
|
101
|
+
@devtools.send_cmd('BluetoothEmulation.removeCharacteristic',
|
102
|
+
characteristicId: characteristic_id)
|
103
|
+
end
|
104
|
+
|
105
|
+
def add_descriptor(characteristic_id:, descriptor_uuid:)
|
106
|
+
@devtools.send_cmd('BluetoothEmulation.addDescriptor',
|
107
|
+
characteristicId: characteristic_id,
|
108
|
+
descriptorUuid: descriptor_uuid)
|
109
|
+
end
|
110
|
+
|
111
|
+
def remove_descriptor(descriptor_id:)
|
112
|
+
@devtools.send_cmd('BluetoothEmulation.removeDescriptor',
|
113
|
+
descriptorId: descriptor_id)
|
114
|
+
end
|
115
|
+
|
116
|
+
end # BluetoothEmulation
|
117
|
+
end # V137
|
118
|
+
end # DevTools
|
119
|
+
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 V137
|
24
24
|
class Browser
|
25
25
|
EVENTS = {
|
26
26
|
download_will_begin: 'downloadWillBegin',
|
@@ -134,7 +134,15 @@ module Selenium
|
|
134
134
|
url: url)
|
135
135
|
end
|
136
136
|
|
137
|
+
def add_privacy_sandbox_coordinator_key_config(api:, coordinator_origin:, key_config:, browser_context_id: nil)
|
138
|
+
@devtools.send_cmd('Browser.addPrivacySandboxCoordinatorKeyConfig',
|
139
|
+
api: api,
|
140
|
+
coordinatorOrigin: coordinator_origin,
|
141
|
+
keyConfig: key_config,
|
142
|
+
browserContextId: browser_context_id)
|
143
|
+
end
|
144
|
+
|
137
145
|
end # Browser
|
138
|
-
end #
|
146
|
+
end # V137
|
139
147
|
end # DevTools
|
140
148
|
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 V137
|
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 # V137
|
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 V137
|
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 # V137
|
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 V137
|
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 # V137
|
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 V137
|
24
24
|
class CSS
|
25
25
|
EVENTS = {
|
26
26
|
fonts_updated: 'fontsUpdated',
|
@@ -244,6 +244,6 @@ module Selenium
|
|
244
244
|
end
|
245
245
|
|
246
246
|
end # CSS
|
247
|
-
end #
|
247
|
+
end # V137
|
248
248
|
end # DevTools
|
249
249
|
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 V137
|
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 # V137
|
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 V137
|
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 # V137
|
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 V137
|
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 # V137
|
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 V137
|
24
24
|
class DOM
|
25
25
|
EVENTS = {
|
26
26
|
attribute_modified: 'attributeModified',
|
@@ -355,6 +355,6 @@ module Selenium
|
|
355
355
|
end
|
356
356
|
|
357
357
|
end # DOM
|
358
|
-
end #
|
358
|
+
end # V137
|
359
359
|
end # DevTools
|
360
360
|
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 V137
|
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 # V137
|
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 V137
|
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 # V137
|
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 V137
|
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 # V137
|
74
74
|
end # DevTools
|
75
75
|
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 V137
|
24
24
|
class Emulation
|
25
25
|
EVENTS = {
|
26
26
|
virtual_time_budget_expired: 'virtualTimeBudgetExpired',
|
@@ -71,6 +71,11 @@ module Selenium
|
|
71
71
|
color: color)
|
72
72
|
end
|
73
73
|
|
74
|
+
def set_safe_area_insets_override(insets:)
|
75
|
+
@devtools.send_cmd('Emulation.setSafeAreaInsetsOverride',
|
76
|
+
insets: insets)
|
77
|
+
end
|
78
|
+
|
74
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)
|
75
80
|
@devtools.send_cmd('Emulation.setDeviceMetricsOverride',
|
76
81
|
width: width,
|
@@ -98,6 +103,15 @@ module Selenium
|
|
98
103
|
@devtools.send_cmd('Emulation.clearDevicePostureOverride')
|
99
104
|
end
|
100
105
|
|
106
|
+
def set_display_features_override(features:)
|
107
|
+
@devtools.send_cmd('Emulation.setDisplayFeaturesOverride',
|
108
|
+
features: features)
|
109
|
+
end
|
110
|
+
|
111
|
+
def clear_display_features_override
|
112
|
+
@devtools.send_cmd('Emulation.clearDisplayFeaturesOverride')
|
113
|
+
end
|
114
|
+
|
101
115
|
def set_scrollbars_hidden(hidden:)
|
102
116
|
@devtools.send_cmd('Emulation.setScrollbarsHidden',
|
103
117
|
hidden: hidden)
|
@@ -125,11 +139,15 @@ module Selenium
|
|
125
139
|
type: type)
|
126
140
|
end
|
127
141
|
|
128
|
-
def set_geolocation_override(latitude: nil, longitude: nil, accuracy: nil)
|
142
|
+
def set_geolocation_override(latitude: nil, longitude: nil, accuracy: nil, altitude: nil, altitude_accuracy: nil, heading: nil, speed: nil)
|
129
143
|
@devtools.send_cmd('Emulation.setGeolocationOverride',
|
130
144
|
latitude: latitude,
|
131
145
|
longitude: longitude,
|
132
|
-
accuracy: accuracy
|
146
|
+
accuracy: accuracy,
|
147
|
+
altitude: altitude,
|
148
|
+
altitudeAccuracy: altitude_accuracy,
|
149
|
+
heading: heading,
|
150
|
+
speed: speed)
|
133
151
|
end
|
134
152
|
|
135
153
|
def get_overridden_sensor_information(type:)
|
@@ -241,7 +259,12 @@ module Selenium
|
|
241
259
|
enabled: enabled)
|
242
260
|
end
|
243
261
|
|
262
|
+
def set_small_viewport_height_difference_override(difference:)
|
263
|
+
@devtools.send_cmd('Emulation.setSmallViewportHeightDifferenceOverride',
|
264
|
+
difference: difference)
|
265
|
+
end
|
266
|
+
|
244
267
|
end # Emulation
|
245
|
-
end #
|
268
|
+
end # V137
|
246
269
|
end # DevTools
|
247
270
|
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 V137
|
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 # V137
|
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 V137
|
24
24
|
class Extensions
|
25
25
|
|
26
26
|
def initialize(devtools)
|
@@ -70,6 +70,6 @@ module Selenium
|
|
70
70
|
end
|
71
71
|
|
72
72
|
end # Extensions
|
73
|
-
end #
|
73
|
+
end # V137
|
74
74
|
end # DevTools
|
75
75
|
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 V137
|
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 # V137
|
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 V137
|
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 # V137
|
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 V137
|
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 # V137
|
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 V137
|
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 # V137
|
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 V137
|
24
24
|
class HeapProfiler
|
25
25
|
EVENTS = {
|
26
26
|
add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
|
@@ -104,6 +104,6 @@ module Selenium
|
|
104
104
|
end
|
105
105
|
|
106
106
|
end # HeapProfiler
|
107
|
-
end #
|
107
|
+
end # V137
|
108
108
|
end # DevTools
|
109
109
|
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 V137
|
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 # V137
|
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 V137
|
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 # V137
|
171
171
|
end # DevTools
|
172
172
|
end # Selenium
|