selenium-devtools 0.0.1.alpha → 0.0.2.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/selenium/devtools/v84.rb +1 -0
- data/lib/selenium/devtools/v84/accessibility.rb +56 -0
- data/lib/selenium/devtools/v84/animation.rb +92 -0
- data/lib/selenium/devtools/v84/application_cache.rb +58 -0
- data/lib/selenium/devtools/v84/audits.rb +55 -0
- data/lib/selenium/devtools/v84/background_service.rb +61 -0
- data/lib/selenium/devtools/v84/browser.rb +117 -0
- data/lib/selenium/devtools/v84/cache_storage.rb +67 -0
- data/lib/selenium/devtools/v84/cast.rb +64 -0
- data/lib/selenium/devtools/v84/console.rb +51 -0
- data/lib/selenium/devtools/v84/css.rb +159 -0
- data/lib/selenium/devtools/v84/database.rb +58 -0
- data/lib/selenium/devtools/v84/debugger.rb +223 -0
- data/lib/selenium/devtools/v84/device_orientation.rb +47 -0
- data/lib/selenium/devtools/v84/dom.rb +314 -0
- data/lib/selenium/devtools/v84/dom_debugger.rb +87 -0
- data/lib/selenium/devtools/v84/dom_snapshot.rb +59 -0
- data/lib/selenium/devtools/v84/dom_storage.rb +73 -0
- data/lib/selenium/devtools/v84/emulation.rb +174 -0
- data/lib/selenium/devtools/v84/fetch.rb +91 -0
- data/lib/selenium/devtools/v84/headless_experimental.rb +55 -0
- data/lib/selenium/devtools/v84/heap_profiler.rb +101 -0
- data/lib/selenium/devtools/v84/indexed_db.rb +94 -0
- data/lib/selenium/devtools/v84/input.rb +134 -0
- data/lib/selenium/devtools/v84/inspector.rb +49 -0
- data/lib/selenium/devtools/v84/io.rb +53 -0
- data/lib/selenium/devtools/v84/layer_tree.rb +89 -0
- data/lib/selenium/devtools/v84/log.rb +60 -0
- data/lib/selenium/devtools/v84/media.rb +51 -0
- data/lib/selenium/devtools/v84/memory.rb +80 -0
- data/lib/selenium/devtools/v84/network.rb +222 -0
- data/lib/selenium/devtools/v84/overlay.rb +151 -0
- data/lib/selenium/devtools/v84/page.rb +368 -0
- data/lib/selenium/devtools/v84/performance.rb +57 -0
- data/lib/selenium/devtools/v84/profiler.rb +105 -0
- data/lib/selenium/devtools/v84/runtime.rb +187 -0
- data/lib/selenium/devtools/v84/schema.rb +40 -0
- data/lib/selenium/devtools/v84/security.rb +65 -0
- data/lib/selenium/devtools/v84/service_worker.rb +110 -0
- data/lib/selenium/devtools/v84/storage.rb +89 -0
- data/lib/selenium/devtools/v84/system_info.rb +44 -0
- data/lib/selenium/devtools/v84/target.rb +135 -0
- data/lib/selenium/devtools/v84/tethering.rb +49 -0
- data/lib/selenium/devtools/v84/tracing.rb +70 -0
- data/lib/selenium/devtools/v84/web_audio.rb +64 -0
- data/lib/selenium/devtools/v84/web_authn.rb +88 -0
- data/lib/selenium/devtools/v85.rb +1 -0
- data/lib/selenium/devtools/v85/accessibility.rb +56 -0
- data/lib/selenium/devtools/v85/animation.rb +92 -0
- data/lib/selenium/devtools/v85/application_cache.rb +58 -0
- data/lib/selenium/devtools/v85/audits.rb +55 -0
- data/lib/selenium/devtools/v85/background_service.rb +61 -0
- data/lib/selenium/devtools/v85/browser.rb +117 -0
- data/lib/selenium/devtools/v85/cache_storage.rb +67 -0
- data/lib/selenium/devtools/v85/cast.rb +64 -0
- data/lib/selenium/devtools/v85/console.rb +51 -0
- data/lib/selenium/devtools/v85/css.rb +159 -0
- data/lib/selenium/devtools/v85/database.rb +58 -0
- data/lib/selenium/devtools/v85/debugger.rb +223 -0
- data/lib/selenium/devtools/v85/device_orientation.rb +47 -0
- data/lib/selenium/devtools/v85/dom.rb +314 -0
- data/lib/selenium/devtools/v85/dom_debugger.rb +87 -0
- data/lib/selenium/devtools/v85/dom_snapshot.rb +59 -0
- data/lib/selenium/devtools/v85/dom_storage.rb +73 -0
- data/lib/selenium/devtools/v85/emulation.rb +174 -0
- data/lib/selenium/devtools/v85/fetch.rb +91 -0
- data/lib/selenium/devtools/v85/headless_experimental.rb +55 -0
- data/lib/selenium/devtools/v85/heap_profiler.rb +101 -0
- data/lib/selenium/devtools/v85/indexed_db.rb +94 -0
- data/lib/selenium/devtools/v85/input.rb +135 -0
- data/lib/selenium/devtools/v85/inspector.rb +49 -0
- data/lib/selenium/devtools/v85/io.rb +53 -0
- data/lib/selenium/devtools/v85/layer_tree.rb +89 -0
- data/lib/selenium/devtools/v85/log.rb +60 -0
- data/lib/selenium/devtools/v85/media.rb +51 -0
- data/lib/selenium/devtools/v85/memory.rb +80 -0
- data/lib/selenium/devtools/v85/network.rb +222 -0
- data/lib/selenium/devtools/v85/overlay.rb +152 -0
- data/lib/selenium/devtools/v85/page.rb +368 -0
- data/lib/selenium/devtools/v85/performance.rb +57 -0
- data/lib/selenium/devtools/v85/profiler.rb +105 -0
- data/lib/selenium/devtools/v85/runtime.rb +188 -0
- data/lib/selenium/devtools/v85/schema.rb +40 -0
- data/lib/selenium/devtools/v85/security.rb +65 -0
- data/lib/selenium/devtools/v85/service_worker.rb +110 -0
- data/lib/selenium/devtools/v85/storage.rb +89 -0
- data/lib/selenium/devtools/v85/system_info.rb +44 -0
- data/lib/selenium/devtools/v85/target.rb +137 -0
- data/lib/selenium/devtools/v85/tethering.rb +49 -0
- data/lib/selenium/devtools/v85/tracing.rb +70 -0
- data/lib/selenium/devtools/v85/web_audio.rb +64 -0
- data/lib/selenium/devtools/v85/web_authn.rb +88 -0
- data/lib/selenium/devtools/v86.rb +1 -0
- data/lib/selenium/devtools/v86/accessibility.rb +56 -0
- data/lib/selenium/devtools/v86/animation.rb +92 -0
- data/lib/selenium/devtools/v86/application_cache.rb +58 -0
- data/lib/selenium/devtools/v86/audits.rb +55 -0
- data/lib/selenium/devtools/v86/background_service.rb +61 -0
- data/lib/selenium/devtools/v86/browser.rb +117 -0
- data/lib/selenium/devtools/v86/cache_storage.rb +67 -0
- data/lib/selenium/devtools/v86/cast.rb +64 -0
- data/lib/selenium/devtools/v86/console.rb +51 -0
- data/lib/selenium/devtools/v86/css.rb +173 -0
- data/lib/selenium/devtools/v86/database.rb +58 -0
- data/lib/selenium/devtools/v86/debugger.rb +225 -0
- data/lib/selenium/devtools/v86/device_orientation.rb +47 -0
- data/lib/selenium/devtools/v86/dom.rb +321 -0
- data/lib/selenium/devtools/v86/dom_debugger.rb +87 -0
- data/lib/selenium/devtools/v86/dom_snapshot.rb +59 -0
- data/lib/selenium/devtools/v86/dom_storage.rb +73 -0
- data/lib/selenium/devtools/v86/emulation.rb +185 -0
- data/lib/selenium/devtools/v86/fetch.rb +91 -0
- data/lib/selenium/devtools/v86/headless_experimental.rb +55 -0
- data/lib/selenium/devtools/v86/heap_profiler.rb +101 -0
- data/lib/selenium/devtools/v86/indexed_db.rb +94 -0
- data/lib/selenium/devtools/v86/input.rb +135 -0
- data/lib/selenium/devtools/v86/inspector.rb +49 -0
- data/lib/selenium/devtools/v86/io.rb +53 -0
- data/lib/selenium/devtools/v86/layer_tree.rb +89 -0
- data/lib/selenium/devtools/v86/log.rb +60 -0
- data/lib/selenium/devtools/v86/media.rb +51 -0
- data/lib/selenium/devtools/v86/memory.rb +80 -0
- data/lib/selenium/devtools/v86/network.rb +227 -0
- data/lib/selenium/devtools/v86/overlay.rb +175 -0
- data/lib/selenium/devtools/v86/page.rb +368 -0
- data/lib/selenium/devtools/v86/performance.rb +57 -0
- data/lib/selenium/devtools/v86/profiler.rb +105 -0
- data/lib/selenium/devtools/v86/runtime.rb +188 -0
- data/lib/selenium/devtools/v86/schema.rb +40 -0
- data/lib/selenium/devtools/v86/security.rb +65 -0
- data/lib/selenium/devtools/v86/service_worker.rb +110 -0
- data/lib/selenium/devtools/v86/storage.rb +89 -0
- data/lib/selenium/devtools/v86/system_info.rb +44 -0
- data/lib/selenium/devtools/v86/target.rb +137 -0
- data/lib/selenium/devtools/v86/tethering.rb +49 -0
- data/lib/selenium/devtools/v86/tracing.rb +70 -0
- data/lib/selenium/devtools/v86/web_audio.rb +64 -0
- data/lib/selenium/devtools/v86/web_authn.rb +94 -0
- data/lib/selenium/devtools/v87.rb +1 -0
- data/lib/selenium/devtools/v87/accessibility.rb +65 -0
- data/lib/selenium/devtools/v87/animation.rb +92 -0
- data/lib/selenium/devtools/v87/application_cache.rb +58 -0
- data/lib/selenium/devtools/v87/audits.rb +55 -0
- data/lib/selenium/devtools/v87/background_service.rb +61 -0
- data/lib/selenium/devtools/v87/browser.rb +117 -0
- data/lib/selenium/devtools/v87/cache_storage.rb +67 -0
- data/lib/selenium/devtools/v87/cast.rb +64 -0
- data/lib/selenium/devtools/v87/console.rb +51 -0
- data/lib/selenium/devtools/v87/css.rb +173 -0
- data/lib/selenium/devtools/v87/database.rb +58 -0
- data/lib/selenium/devtools/v87/debugger.rb +225 -0
- data/lib/selenium/devtools/v87/device_orientation.rb +47 -0
- data/lib/selenium/devtools/v87/dom.rb +321 -0
- data/lib/selenium/devtools/v87/dom_debugger.rb +87 -0
- data/lib/selenium/devtools/v87/dom_snapshot.rb +59 -0
- data/lib/selenium/devtools/v87/dom_storage.rb +73 -0
- data/lib/selenium/devtools/v87/emulation.rb +185 -0
- data/lib/selenium/devtools/v87/fetch.rb +91 -0
- data/lib/selenium/devtools/v87/headless_experimental.rb +55 -0
- data/lib/selenium/devtools/v87/heap_profiler.rb +101 -0
- data/lib/selenium/devtools/v87/indexed_db.rb +94 -0
- data/lib/selenium/devtools/v87/input.rb +135 -0
- data/lib/selenium/devtools/v87/inspector.rb +49 -0
- data/lib/selenium/devtools/v87/io.rb +53 -0
- data/lib/selenium/devtools/v87/layer_tree.rb +89 -0
- data/lib/selenium/devtools/v87/log.rb +60 -0
- data/lib/selenium/devtools/v87/media.rb +51 -0
- data/lib/selenium/devtools/v87/memory.rb +80 -0
- data/lib/selenium/devtools/v87/network.rb +239 -0
- data/lib/selenium/devtools/v87/overlay.rb +175 -0
- data/lib/selenium/devtools/v87/page.rb +368 -0
- data/lib/selenium/devtools/v87/performance.rb +57 -0
- data/lib/selenium/devtools/v87/profiler.rb +117 -0
- data/lib/selenium/devtools/v87/runtime.rb +188 -0
- data/lib/selenium/devtools/v87/schema.rb +40 -0
- data/lib/selenium/devtools/v87/security.rb +65 -0
- data/lib/selenium/devtools/v87/service_worker.rb +110 -0
- data/lib/selenium/devtools/v87/storage.rb +89 -0
- data/lib/selenium/devtools/v87/system_info.rb +44 -0
- data/lib/selenium/devtools/v87/target.rb +137 -0
- data/lib/selenium/devtools/v87/tethering.rb +49 -0
- data/lib/selenium/devtools/v87/tracing.rb +70 -0
- data/lib/selenium/devtools/v87/web_audio.rb +64 -0
- data/lib/selenium/devtools/v87/web_authn.rb +94 -0
- data/lib/selenium/devtools/v88.rb +1 -1
- data/lib/selenium/devtools/v88/accessibility.rb +35 -43
- data/lib/selenium/devtools/v88/animation.rb +57 -65
- data/lib/selenium/devtools/v88/application_cache.rb +29 -37
- data/lib/selenium/devtools/v88/audits.rb +31 -39
- data/lib/selenium/devtools/v88/background_service.rb +32 -40
- data/lib/selenium/devtools/v88/browser.rb +100 -108
- data/lib/selenium/devtools/v88/cache_storage.rb +37 -45
- data/lib/selenium/devtools/v88/cast.rb +34 -42
- data/lib/selenium/devtools/v88/console.rb +27 -35
- data/lib/selenium/devtools/v88/css.rb +151 -159
- data/lib/selenium/devtools/v88/database.rb +29 -37
- data/lib/selenium/devtools/v88/debugger.rb +203 -211
- data/lib/selenium/devtools/v88/device_orientation.rb +20 -28
- data/lib/selenium/devtools/v88/dom.rb +299 -307
- data/lib/selenium/devtools/v88/dom_debugger.rb +53 -61
- data/lib/selenium/devtools/v88/dom_snapshot.rb +30 -38
- data/lib/selenium/devtools/v88/dom_storage.rb +42 -50
- data/lib/selenium/devtools/v88/emulation.rb +168 -176
- data/lib/selenium/devtools/v88/fetch.rb +58 -66
- data/lib/selenium/devtools/v88/headless_experimental.rb +31 -39
- data/lib/selenium/devtools/v88/heap_profiler.rb +77 -85
- data/lib/selenium/devtools/v88/indexed_db.rb +60 -68
- data/lib/selenium/devtools/v88/input.rb +106 -114
- data/lib/selenium/devtools/v88/inspector.rb +22 -30
- data/lib/selenium/devtools/v88/io.rb +29 -37
- data/lib/selenium/devtools/v88/layer_tree.rb +55 -63
- data/lib/selenium/devtools/v88/log.rb +30 -38
- data/lib/selenium/devtools/v88/media.rb +24 -32
- data/lib/selenium/devtools/v88/memory.rb +45 -53
- data/lib/selenium/devtools/v88/network.rb +217 -225
- data/lib/selenium/devtools/v88/overlay.rb +153 -161
- data/lib/selenium/devtools/v88/page.rb +346 -354
- data/lib/selenium/devtools/v88/performance.rb +28 -36
- data/lib/selenium/devtools/v88/profiler.rb +95 -103
- data/lib/selenium/devtools/v88/runtime.rb +167 -175
- data/lib/selenium/devtools/v88/schema.rb +14 -22
- data/lib/selenium/devtools/v88/security.rb +35 -43
- data/lib/selenium/devtools/v88/service_worker.rb +86 -94
- data/lib/selenium/devtools/v88/storage.rb +60 -68
- data/lib/selenium/devtools/v88/system_info.rb +17 -25
- data/lib/selenium/devtools/v88/target.rb +115 -123
- data/lib/selenium/devtools/v88/tethering.rb +22 -30
- data/lib/selenium/devtools/v88/tracing.rb +41 -49
- data/lib/selenium/devtools/v88/web_audio.rb +36 -44
- data/lib/selenium/devtools/v88/web_authn.rb +70 -78
- data/lib/selenium/devtools/version.rb +1 -1
- metadata +185 -1
@@ -19,54 +19,46 @@
|
|
19
19
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
|
-
module
|
23
|
-
class
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
audio_param_will_be_destroyed: 'audioParamWillBeDestroyed',
|
40
|
-
nodes_connected: 'nodesConnected',
|
41
|
-
nodes_disconnected: 'nodesDisconnected',
|
42
|
-
node_param_connected: 'nodeParamConnected',
|
43
|
-
node_param_disconnected: 'nodeParamDisconnected',
|
44
|
-
}.freeze
|
22
|
+
module DevTools
|
23
|
+
class WebAudio
|
24
|
+
EVENTS = {
|
25
|
+
context_created: 'contextCreated',
|
26
|
+
context_will_be_destroyed: 'contextWillBeDestroyed',
|
27
|
+
context_changed: 'contextChanged',
|
28
|
+
audio_listener_created: 'audioListenerCreated',
|
29
|
+
audio_listener_will_be_destroyed: 'audioListenerWillBeDestroyed',
|
30
|
+
audio_node_created: 'audioNodeCreated',
|
31
|
+
audio_node_will_be_destroyed: 'audioNodeWillBeDestroyed',
|
32
|
+
audio_param_created: 'audioParamCreated',
|
33
|
+
audio_param_will_be_destroyed: 'audioParamWillBeDestroyed',
|
34
|
+
nodes_connected: 'nodesConnected',
|
35
|
+
nodes_disconnected: 'nodesDisconnected',
|
36
|
+
node_param_connected: 'nodeParamConnected',
|
37
|
+
node_param_disconnected: 'nodeParamDisconnected',
|
38
|
+
}.freeze
|
45
39
|
|
46
|
-
|
47
|
-
|
48
|
-
|
40
|
+
def initialize(devtools)
|
41
|
+
@devtools = devtools
|
42
|
+
end
|
49
43
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
44
|
+
def on(event, &block)
|
45
|
+
event = EVENTS[event] if event.is_a?(Symbol)
|
46
|
+
@devtools.callbacks["WebAudio.#{event}"] << block
|
47
|
+
end
|
54
48
|
|
55
|
-
|
56
|
-
|
57
|
-
|
49
|
+
def enable
|
50
|
+
@devtools.send_cmd('WebAudio.enable')
|
51
|
+
end
|
58
52
|
|
59
|
-
|
60
|
-
|
61
|
-
|
53
|
+
def disable
|
54
|
+
@devtools.send_cmd('WebAudio.disable')
|
55
|
+
end
|
62
56
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
57
|
+
def get_realtime_data(context_id:)
|
58
|
+
@devtools.send_cmd('WebAudio.getRealtimeData',
|
59
|
+
contextId: context_id)
|
60
|
+
end
|
67
61
|
|
68
|
-
|
69
|
-
|
70
|
-
end # DevTools
|
71
|
-
end # WebDriver
|
62
|
+
end # WebAudio
|
63
|
+
end # DevTools
|
72
64
|
end # Selenium
|
@@ -19,84 +19,76 @@
|
|
19
19
|
|
20
20
|
# This file is automatically generated. Any changes will be lost!
|
21
21
|
module Selenium
|
22
|
-
module
|
23
|
-
class
|
24
|
-
|
25
|
-
|
22
|
+
module DevTools
|
23
|
+
class WebAuthn
|
24
|
+
|
25
|
+
def initialize(devtools)
|
26
|
+
@devtools = devtools
|
27
|
+
end
|
28
|
+
|
29
|
+
def on(event, &block)
|
30
|
+
event = EVENTS[event] if event.is_a?(Symbol)
|
31
|
+
@devtools.callbacks["WebAuthn.#{event}"] << block
|
32
|
+
end
|
33
|
+
|
34
|
+
def enable
|
35
|
+
@devtools.send_cmd('WebAuthn.enable')
|
36
|
+
end
|
37
|
+
|
38
|
+
def disable
|
39
|
+
@devtools.send_cmd('WebAuthn.disable')
|
40
|
+
end
|
41
|
+
|
42
|
+
def add_virtual_authenticator(options:)
|
43
|
+
@devtools.send_cmd('WebAuthn.addVirtualAuthenticator',
|
44
|
+
options: options)
|
45
|
+
end
|
46
|
+
|
47
|
+
def remove_virtual_authenticator(authenticator_id:)
|
48
|
+
@devtools.send_cmd('WebAuthn.removeVirtualAuthenticator',
|
49
|
+
authenticatorId: authenticator_id)
|
50
|
+
end
|
51
|
+
|
52
|
+
def add_credential(authenticator_id:, credential:)
|
53
|
+
@devtools.send_cmd('WebAuthn.addCredential',
|
54
|
+
authenticatorId: authenticator_id,
|
55
|
+
credential: credential)
|
56
|
+
end
|
57
|
+
|
58
|
+
def get_credential(authenticator_id:, credential_id:)
|
59
|
+
@devtools.send_cmd('WebAuthn.getCredential',
|
60
|
+
authenticatorId: authenticator_id,
|
61
|
+
credentialId: credential_id)
|
62
|
+
end
|
63
|
+
|
64
|
+
def get_credentials(authenticator_id:)
|
65
|
+
@devtools.send_cmd('WebAuthn.getCredentials',
|
66
|
+
authenticatorId: authenticator_id)
|
67
|
+
end
|
68
|
+
|
69
|
+
def remove_credential(authenticator_id:, credential_id:)
|
70
|
+
@devtools.send_cmd('WebAuthn.removeCredential',
|
71
|
+
authenticatorId: authenticator_id,
|
72
|
+
credentialId: credential_id)
|
73
|
+
end
|
74
|
+
|
75
|
+
def clear_credentials(authenticator_id:)
|
76
|
+
@devtools.send_cmd('WebAuthn.clearCredentials',
|
77
|
+
authenticatorId: authenticator_id)
|
78
|
+
end
|
79
|
+
|
80
|
+
def set_user_verified(authenticator_id:, is_user_verified:)
|
81
|
+
@devtools.send_cmd('WebAuthn.setUserVerified',
|
82
|
+
authenticatorId: authenticator_id,
|
83
|
+
isUserVerified: is_user_verified)
|
84
|
+
end
|
85
|
+
|
86
|
+
def set_automatic_presence_simulation(authenticator_id:, enabled:)
|
87
|
+
@devtools.send_cmd('WebAuthn.setAutomaticPresenceSimulation',
|
88
|
+
authenticatorId: authenticator_id,
|
89
|
+
enabled: enabled)
|
26
90
|
end
|
27
91
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
def initialize(devtools)
|
32
|
-
@devtools = devtools
|
33
|
-
end
|
34
|
-
|
35
|
-
def on(event, &block)
|
36
|
-
event = EVENTS[event] if event.is_a?(Symbol)
|
37
|
-
@devtools.callbacks["WebAuthn.#{event}"] << block
|
38
|
-
end
|
39
|
-
|
40
|
-
def enable
|
41
|
-
@devtools.send_cmd('WebAuthn.enable')
|
42
|
-
end
|
43
|
-
|
44
|
-
def disable
|
45
|
-
@devtools.send_cmd('WebAuthn.disable')
|
46
|
-
end
|
47
|
-
|
48
|
-
def add_virtual_authenticator(options:)
|
49
|
-
@devtools.send_cmd('WebAuthn.addVirtualAuthenticator',
|
50
|
-
options: options)
|
51
|
-
end
|
52
|
-
|
53
|
-
def remove_virtual_authenticator(authenticator_id:)
|
54
|
-
@devtools.send_cmd('WebAuthn.removeVirtualAuthenticator',
|
55
|
-
authenticatorId: authenticator_id)
|
56
|
-
end
|
57
|
-
|
58
|
-
def add_credential(authenticator_id:, credential:)
|
59
|
-
@devtools.send_cmd('WebAuthn.addCredential',
|
60
|
-
authenticatorId: authenticator_id,
|
61
|
-
credential: credential)
|
62
|
-
end
|
63
|
-
|
64
|
-
def get_credential(authenticator_id:, credential_id:)
|
65
|
-
@devtools.send_cmd('WebAuthn.getCredential',
|
66
|
-
authenticatorId: authenticator_id,
|
67
|
-
credentialId: credential_id)
|
68
|
-
end
|
69
|
-
|
70
|
-
def get_credentials(authenticator_id:)
|
71
|
-
@devtools.send_cmd('WebAuthn.getCredentials',
|
72
|
-
authenticatorId: authenticator_id)
|
73
|
-
end
|
74
|
-
|
75
|
-
def remove_credential(authenticator_id:, credential_id:)
|
76
|
-
@devtools.send_cmd('WebAuthn.removeCredential',
|
77
|
-
authenticatorId: authenticator_id,
|
78
|
-
credentialId: credential_id)
|
79
|
-
end
|
80
|
-
|
81
|
-
def clear_credentials(authenticator_id:)
|
82
|
-
@devtools.send_cmd('WebAuthn.clearCredentials',
|
83
|
-
authenticatorId: authenticator_id)
|
84
|
-
end
|
85
|
-
|
86
|
-
def set_user_verified(authenticator_id:, is_user_verified:)
|
87
|
-
@devtools.send_cmd('WebAuthn.setUserVerified',
|
88
|
-
authenticatorId: authenticator_id,
|
89
|
-
isUserVerified: is_user_verified)
|
90
|
-
end
|
91
|
-
|
92
|
-
def set_automatic_presence_simulation(authenticator_id:, enabled:)
|
93
|
-
@devtools.send_cmd('WebAuthn.setAutomaticPresenceSimulation',
|
94
|
-
authenticatorId: authenticator_id,
|
95
|
-
enabled: enabled)
|
96
|
-
end
|
97
|
-
|
98
|
-
end # V88
|
99
|
-
end # WebAuthn
|
100
|
-
end # DevTools
|
101
|
-
end # WebDriver
|
92
|
+
end # WebAuthn
|
93
|
+
end # DevTools
|
102
94
|
end # Selenium
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: selenium-devtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Rodionov
|
@@ -23,6 +23,190 @@ executables: []
|
|
23
23
|
extensions: []
|
24
24
|
extra_rdoc_files: []
|
25
25
|
files:
|
26
|
+
- lib/selenium/devtools/v84.rb
|
27
|
+
- lib/selenium/devtools/v84/accessibility.rb
|
28
|
+
- lib/selenium/devtools/v84/animation.rb
|
29
|
+
- lib/selenium/devtools/v84/application_cache.rb
|
30
|
+
- lib/selenium/devtools/v84/audits.rb
|
31
|
+
- lib/selenium/devtools/v84/background_service.rb
|
32
|
+
- lib/selenium/devtools/v84/browser.rb
|
33
|
+
- lib/selenium/devtools/v84/cache_storage.rb
|
34
|
+
- lib/selenium/devtools/v84/cast.rb
|
35
|
+
- lib/selenium/devtools/v84/console.rb
|
36
|
+
- lib/selenium/devtools/v84/css.rb
|
37
|
+
- lib/selenium/devtools/v84/database.rb
|
38
|
+
- lib/selenium/devtools/v84/debugger.rb
|
39
|
+
- lib/selenium/devtools/v84/device_orientation.rb
|
40
|
+
- lib/selenium/devtools/v84/dom.rb
|
41
|
+
- lib/selenium/devtools/v84/dom_debugger.rb
|
42
|
+
- lib/selenium/devtools/v84/dom_snapshot.rb
|
43
|
+
- lib/selenium/devtools/v84/dom_storage.rb
|
44
|
+
- lib/selenium/devtools/v84/emulation.rb
|
45
|
+
- lib/selenium/devtools/v84/fetch.rb
|
46
|
+
- lib/selenium/devtools/v84/headless_experimental.rb
|
47
|
+
- lib/selenium/devtools/v84/heap_profiler.rb
|
48
|
+
- lib/selenium/devtools/v84/indexed_db.rb
|
49
|
+
- lib/selenium/devtools/v84/input.rb
|
50
|
+
- lib/selenium/devtools/v84/inspector.rb
|
51
|
+
- lib/selenium/devtools/v84/io.rb
|
52
|
+
- lib/selenium/devtools/v84/layer_tree.rb
|
53
|
+
- lib/selenium/devtools/v84/log.rb
|
54
|
+
- lib/selenium/devtools/v84/media.rb
|
55
|
+
- lib/selenium/devtools/v84/memory.rb
|
56
|
+
- lib/selenium/devtools/v84/network.rb
|
57
|
+
- lib/selenium/devtools/v84/overlay.rb
|
58
|
+
- lib/selenium/devtools/v84/page.rb
|
59
|
+
- lib/selenium/devtools/v84/performance.rb
|
60
|
+
- lib/selenium/devtools/v84/profiler.rb
|
61
|
+
- lib/selenium/devtools/v84/runtime.rb
|
62
|
+
- lib/selenium/devtools/v84/schema.rb
|
63
|
+
- lib/selenium/devtools/v84/security.rb
|
64
|
+
- lib/selenium/devtools/v84/service_worker.rb
|
65
|
+
- lib/selenium/devtools/v84/storage.rb
|
66
|
+
- lib/selenium/devtools/v84/system_info.rb
|
67
|
+
- lib/selenium/devtools/v84/target.rb
|
68
|
+
- lib/selenium/devtools/v84/tethering.rb
|
69
|
+
- lib/selenium/devtools/v84/tracing.rb
|
70
|
+
- lib/selenium/devtools/v84/web_audio.rb
|
71
|
+
- lib/selenium/devtools/v84/web_authn.rb
|
72
|
+
- lib/selenium/devtools/v85.rb
|
73
|
+
- lib/selenium/devtools/v85/accessibility.rb
|
74
|
+
- lib/selenium/devtools/v85/animation.rb
|
75
|
+
- lib/selenium/devtools/v85/application_cache.rb
|
76
|
+
- lib/selenium/devtools/v85/audits.rb
|
77
|
+
- lib/selenium/devtools/v85/background_service.rb
|
78
|
+
- lib/selenium/devtools/v85/browser.rb
|
79
|
+
- lib/selenium/devtools/v85/cache_storage.rb
|
80
|
+
- lib/selenium/devtools/v85/cast.rb
|
81
|
+
- lib/selenium/devtools/v85/console.rb
|
82
|
+
- lib/selenium/devtools/v85/css.rb
|
83
|
+
- lib/selenium/devtools/v85/database.rb
|
84
|
+
- lib/selenium/devtools/v85/debugger.rb
|
85
|
+
- lib/selenium/devtools/v85/device_orientation.rb
|
86
|
+
- lib/selenium/devtools/v85/dom.rb
|
87
|
+
- lib/selenium/devtools/v85/dom_debugger.rb
|
88
|
+
- lib/selenium/devtools/v85/dom_snapshot.rb
|
89
|
+
- lib/selenium/devtools/v85/dom_storage.rb
|
90
|
+
- lib/selenium/devtools/v85/emulation.rb
|
91
|
+
- lib/selenium/devtools/v85/fetch.rb
|
92
|
+
- lib/selenium/devtools/v85/headless_experimental.rb
|
93
|
+
- lib/selenium/devtools/v85/heap_profiler.rb
|
94
|
+
- lib/selenium/devtools/v85/indexed_db.rb
|
95
|
+
- lib/selenium/devtools/v85/input.rb
|
96
|
+
- lib/selenium/devtools/v85/inspector.rb
|
97
|
+
- lib/selenium/devtools/v85/io.rb
|
98
|
+
- lib/selenium/devtools/v85/layer_tree.rb
|
99
|
+
- lib/selenium/devtools/v85/log.rb
|
100
|
+
- lib/selenium/devtools/v85/media.rb
|
101
|
+
- lib/selenium/devtools/v85/memory.rb
|
102
|
+
- lib/selenium/devtools/v85/network.rb
|
103
|
+
- lib/selenium/devtools/v85/overlay.rb
|
104
|
+
- lib/selenium/devtools/v85/page.rb
|
105
|
+
- lib/selenium/devtools/v85/performance.rb
|
106
|
+
- lib/selenium/devtools/v85/profiler.rb
|
107
|
+
- lib/selenium/devtools/v85/runtime.rb
|
108
|
+
- lib/selenium/devtools/v85/schema.rb
|
109
|
+
- lib/selenium/devtools/v85/security.rb
|
110
|
+
- lib/selenium/devtools/v85/service_worker.rb
|
111
|
+
- lib/selenium/devtools/v85/storage.rb
|
112
|
+
- lib/selenium/devtools/v85/system_info.rb
|
113
|
+
- lib/selenium/devtools/v85/target.rb
|
114
|
+
- lib/selenium/devtools/v85/tethering.rb
|
115
|
+
- lib/selenium/devtools/v85/tracing.rb
|
116
|
+
- lib/selenium/devtools/v85/web_audio.rb
|
117
|
+
- lib/selenium/devtools/v85/web_authn.rb
|
118
|
+
- lib/selenium/devtools/v86.rb
|
119
|
+
- lib/selenium/devtools/v86/accessibility.rb
|
120
|
+
- lib/selenium/devtools/v86/animation.rb
|
121
|
+
- lib/selenium/devtools/v86/application_cache.rb
|
122
|
+
- lib/selenium/devtools/v86/audits.rb
|
123
|
+
- lib/selenium/devtools/v86/background_service.rb
|
124
|
+
- lib/selenium/devtools/v86/browser.rb
|
125
|
+
- lib/selenium/devtools/v86/cache_storage.rb
|
126
|
+
- lib/selenium/devtools/v86/cast.rb
|
127
|
+
- lib/selenium/devtools/v86/console.rb
|
128
|
+
- lib/selenium/devtools/v86/css.rb
|
129
|
+
- lib/selenium/devtools/v86/database.rb
|
130
|
+
- lib/selenium/devtools/v86/debugger.rb
|
131
|
+
- lib/selenium/devtools/v86/device_orientation.rb
|
132
|
+
- lib/selenium/devtools/v86/dom.rb
|
133
|
+
- lib/selenium/devtools/v86/dom_debugger.rb
|
134
|
+
- lib/selenium/devtools/v86/dom_snapshot.rb
|
135
|
+
- lib/selenium/devtools/v86/dom_storage.rb
|
136
|
+
- lib/selenium/devtools/v86/emulation.rb
|
137
|
+
- lib/selenium/devtools/v86/fetch.rb
|
138
|
+
- lib/selenium/devtools/v86/headless_experimental.rb
|
139
|
+
- lib/selenium/devtools/v86/heap_profiler.rb
|
140
|
+
- lib/selenium/devtools/v86/indexed_db.rb
|
141
|
+
- lib/selenium/devtools/v86/input.rb
|
142
|
+
- lib/selenium/devtools/v86/inspector.rb
|
143
|
+
- lib/selenium/devtools/v86/io.rb
|
144
|
+
- lib/selenium/devtools/v86/layer_tree.rb
|
145
|
+
- lib/selenium/devtools/v86/log.rb
|
146
|
+
- lib/selenium/devtools/v86/media.rb
|
147
|
+
- lib/selenium/devtools/v86/memory.rb
|
148
|
+
- lib/selenium/devtools/v86/network.rb
|
149
|
+
- lib/selenium/devtools/v86/overlay.rb
|
150
|
+
- lib/selenium/devtools/v86/page.rb
|
151
|
+
- lib/selenium/devtools/v86/performance.rb
|
152
|
+
- lib/selenium/devtools/v86/profiler.rb
|
153
|
+
- lib/selenium/devtools/v86/runtime.rb
|
154
|
+
- lib/selenium/devtools/v86/schema.rb
|
155
|
+
- lib/selenium/devtools/v86/security.rb
|
156
|
+
- lib/selenium/devtools/v86/service_worker.rb
|
157
|
+
- lib/selenium/devtools/v86/storage.rb
|
158
|
+
- lib/selenium/devtools/v86/system_info.rb
|
159
|
+
- lib/selenium/devtools/v86/target.rb
|
160
|
+
- lib/selenium/devtools/v86/tethering.rb
|
161
|
+
- lib/selenium/devtools/v86/tracing.rb
|
162
|
+
- lib/selenium/devtools/v86/web_audio.rb
|
163
|
+
- lib/selenium/devtools/v86/web_authn.rb
|
164
|
+
- lib/selenium/devtools/v87.rb
|
165
|
+
- lib/selenium/devtools/v87/accessibility.rb
|
166
|
+
- lib/selenium/devtools/v87/animation.rb
|
167
|
+
- lib/selenium/devtools/v87/application_cache.rb
|
168
|
+
- lib/selenium/devtools/v87/audits.rb
|
169
|
+
- lib/selenium/devtools/v87/background_service.rb
|
170
|
+
- lib/selenium/devtools/v87/browser.rb
|
171
|
+
- lib/selenium/devtools/v87/cache_storage.rb
|
172
|
+
- lib/selenium/devtools/v87/cast.rb
|
173
|
+
- lib/selenium/devtools/v87/console.rb
|
174
|
+
- lib/selenium/devtools/v87/css.rb
|
175
|
+
- lib/selenium/devtools/v87/database.rb
|
176
|
+
- lib/selenium/devtools/v87/debugger.rb
|
177
|
+
- lib/selenium/devtools/v87/device_orientation.rb
|
178
|
+
- lib/selenium/devtools/v87/dom.rb
|
179
|
+
- lib/selenium/devtools/v87/dom_debugger.rb
|
180
|
+
- lib/selenium/devtools/v87/dom_snapshot.rb
|
181
|
+
- lib/selenium/devtools/v87/dom_storage.rb
|
182
|
+
- lib/selenium/devtools/v87/emulation.rb
|
183
|
+
- lib/selenium/devtools/v87/fetch.rb
|
184
|
+
- lib/selenium/devtools/v87/headless_experimental.rb
|
185
|
+
- lib/selenium/devtools/v87/heap_profiler.rb
|
186
|
+
- lib/selenium/devtools/v87/indexed_db.rb
|
187
|
+
- lib/selenium/devtools/v87/input.rb
|
188
|
+
- lib/selenium/devtools/v87/inspector.rb
|
189
|
+
- lib/selenium/devtools/v87/io.rb
|
190
|
+
- lib/selenium/devtools/v87/layer_tree.rb
|
191
|
+
- lib/selenium/devtools/v87/log.rb
|
192
|
+
- lib/selenium/devtools/v87/media.rb
|
193
|
+
- lib/selenium/devtools/v87/memory.rb
|
194
|
+
- lib/selenium/devtools/v87/network.rb
|
195
|
+
- lib/selenium/devtools/v87/overlay.rb
|
196
|
+
- lib/selenium/devtools/v87/page.rb
|
197
|
+
- lib/selenium/devtools/v87/performance.rb
|
198
|
+
- lib/selenium/devtools/v87/profiler.rb
|
199
|
+
- lib/selenium/devtools/v87/runtime.rb
|
200
|
+
- lib/selenium/devtools/v87/schema.rb
|
201
|
+
- lib/selenium/devtools/v87/security.rb
|
202
|
+
- lib/selenium/devtools/v87/service_worker.rb
|
203
|
+
- lib/selenium/devtools/v87/storage.rb
|
204
|
+
- lib/selenium/devtools/v87/system_info.rb
|
205
|
+
- lib/selenium/devtools/v87/target.rb
|
206
|
+
- lib/selenium/devtools/v87/tethering.rb
|
207
|
+
- lib/selenium/devtools/v87/tracing.rb
|
208
|
+
- lib/selenium/devtools/v87/web_audio.rb
|
209
|
+
- lib/selenium/devtools/v87/web_authn.rb
|
26
210
|
- lib/selenium/devtools/v88.rb
|
27
211
|
- lib/selenium/devtools/v88/accessibility.rb
|
28
212
|
- lib/selenium/devtools/v88/animation.rb
|