selenium-devtools 0.96.0 → 0.97.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/NOTICE +1 -1
  4. data/lib/selenium/devtools/README.md +7 -0
  5. data/lib/selenium/devtools/{v94 → v97}/accessibility.rb +4 -3
  6. data/lib/selenium/devtools/{v94 → v97}/animation.rb +2 -2
  7. data/lib/selenium/devtools/{v93 → v97}/audits.rb +2 -2
  8. data/lib/selenium/devtools/{v93 → v97}/background_service.rb +2 -2
  9. data/lib/selenium/devtools/{v93 → v97}/browser.rb +2 -2
  10. data/lib/selenium/devtools/{v94 → v97}/cache_storage.rb +2 -2
  11. data/lib/selenium/devtools/{v94 → v97}/cast.rb +2 -2
  12. data/lib/selenium/devtools/{v94 → v97}/console.rb +2 -2
  13. data/lib/selenium/devtools/{v94 → v97}/css.rb +2 -2
  14. data/lib/selenium/devtools/{v93 → v97}/database.rb +2 -2
  15. data/lib/selenium/devtools/{v94 → v97}/debugger.rb +2 -2
  16. data/lib/selenium/devtools/{v94 → v97}/device_orientation.rb +2 -2
  17. data/lib/selenium/devtools/{v94 → v97}/dom.rb +2 -2
  18. data/lib/selenium/devtools/{v93 → v97}/dom_debugger.rb +2 -2
  19. data/lib/selenium/devtools/{v94 → v97}/dom_snapshot.rb +2 -2
  20. data/lib/selenium/devtools/{v93 → v97}/dom_storage.rb +2 -2
  21. data/lib/selenium/devtools/{v94 → v97}/emulation.rb +7 -2
  22. data/lib/selenium/devtools/{v93/console.rb → v97/event_breakpoints.rb} +11 -16
  23. data/lib/selenium/devtools/{v94 → v97}/fetch.rb +11 -2
  24. data/lib/selenium/devtools/{v94 → v97}/headless_experimental.rb +2 -2
  25. data/lib/selenium/devtools/{v93 → v97}/heap_profiler.rb +2 -2
  26. data/lib/selenium/devtools/{v93 → v97}/indexed_db.rb +2 -2
  27. data/lib/selenium/devtools/{v94 → v97}/input.rb +2 -2
  28. data/lib/selenium/devtools/{v93 → v97}/inspector.rb +2 -2
  29. data/lib/selenium/devtools/{v93 → v97}/io.rb +2 -2
  30. data/lib/selenium/devtools/{v93 → v97}/layer_tree.rb +2 -2
  31. data/lib/selenium/devtools/{v94 → v97}/log.rb +2 -2
  32. data/lib/selenium/devtools/{v94 → v97}/media.rb +2 -2
  33. data/lib/selenium/devtools/{v93 → v97}/memory.rb +2 -2
  34. data/lib/selenium/devtools/{v94 → v97}/network.rb +9 -2
  35. data/lib/selenium/devtools/{v93 → v97}/overlay.rb +7 -2
  36. data/lib/selenium/devtools/{v94 → v97}/page.rb +11 -7
  37. data/lib/selenium/devtools/{v93 → v97}/performance.rb +2 -2
  38. data/lib/selenium/devtools/{v94 → v97}/performance_timeline.rb +2 -2
  39. data/lib/selenium/devtools/{v93 → v97}/profiler.rb +2 -26
  40. data/lib/selenium/devtools/{v94 → v97}/runtime.rb +5 -4
  41. data/lib/selenium/devtools/{v94 → v97}/schema.rb +2 -2
  42. data/lib/selenium/devtools/{v93 → v97}/security.rb +2 -2
  43. data/lib/selenium/devtools/{v93 → v97}/service_worker.rb +2 -2
  44. data/lib/selenium/devtools/{v93 → v97}/storage.rb +2 -2
  45. data/lib/selenium/devtools/{v93 → v97}/system_info.rb +2 -2
  46. data/lib/selenium/devtools/{v93 → v97}/target.rb +8 -2
  47. data/lib/selenium/devtools/{v93 → v97}/tethering.rb +2 -2
  48. data/lib/selenium/devtools/{v93 → v97}/tracing.rb +2 -2
  49. data/lib/selenium/devtools/{v93 → v97}/web_audio.rb +2 -2
  50. data/lib/selenium/devtools/{v93 → v97}/web_authn.rb +2 -2
  51. data/lib/selenium/devtools/v97.rb +1 -0
  52. data/lib/selenium/devtools/version.rb +1 -1
  53. metadata +50 -96
  54. data/lib/selenium/devtools/v93/accessibility.rb +0 -73
  55. data/lib/selenium/devtools/v93/animation.rb +0 -94
  56. data/lib/selenium/devtools/v93/application_cache.rb +0 -60
  57. data/lib/selenium/devtools/v93/cache_storage.rb +0 -69
  58. data/lib/selenium/devtools/v93/cast.rb +0 -66
  59. data/lib/selenium/devtools/v93/css.rb +0 -182
  60. data/lib/selenium/devtools/v93/debugger.rb +0 -220
  61. data/lib/selenium/devtools/v93/device_orientation.rb +0 -49
  62. data/lib/selenium/devtools/v93/dom.rb +0 -329
  63. data/lib/selenium/devtools/v93/dom_snapshot.rb +0 -63
  64. data/lib/selenium/devtools/v93/emulation.rb +0 -192
  65. data/lib/selenium/devtools/v93/fetch.rb +0 -93
  66. data/lib/selenium/devtools/v93/headless_experimental.rb +0 -57
  67. data/lib/selenium/devtools/v93/input.rb +0 -159
  68. data/lib/selenium/devtools/v93/log.rb +0 -62
  69. data/lib/selenium/devtools/v93/media.rb +0 -53
  70. data/lib/selenium/devtools/v93/network.rb +0 -255
  71. data/lib/selenium/devtools/v93/page.rb +0 -384
  72. data/lib/selenium/devtools/v93/performance_timeline.rb +0 -46
  73. data/lib/selenium/devtools/v93/runtime.rb +0 -193
  74. data/lib/selenium/devtools/v93/schema.rb +0 -42
  75. data/lib/selenium/devtools/v93.rb +0 -1
  76. data/lib/selenium/devtools/v94/application_cache.rb +0 -60
  77. data/lib/selenium/devtools/v94/audits.rb +0 -62
  78. data/lib/selenium/devtools/v94/background_service.rb +0 -63
  79. data/lib/selenium/devtools/v94/browser.rb +0 -135
  80. data/lib/selenium/devtools/v94/database.rb +0 -60
  81. data/lib/selenium/devtools/v94/dom_debugger.rb +0 -94
  82. data/lib/selenium/devtools/v94/dom_storage.rb +0 -75
  83. data/lib/selenium/devtools/v94/heap_profiler.rb +0 -105
  84. data/lib/selenium/devtools/v94/indexed_db.rb +0 -96
  85. data/lib/selenium/devtools/v94/inspector.rb +0 -51
  86. data/lib/selenium/devtools/v94/io.rb +0 -55
  87. data/lib/selenium/devtools/v94/layer_tree.rb +0 -91
  88. data/lib/selenium/devtools/v94/memory.rb +0 -82
  89. data/lib/selenium/devtools/v94/overlay.rb +0 -197
  90. data/lib/selenium/devtools/v94/performance.rb +0 -59
  91. data/lib/selenium/devtools/v94/profiler.rb +0 -119
  92. data/lib/selenium/devtools/v94/security.rb +0 -67
  93. data/lib/selenium/devtools/v94/service_worker.rb +0 -112
  94. data/lib/selenium/devtools/v94/storage.rb +0 -106
  95. data/lib/selenium/devtools/v94/system_info.rb +0 -46
  96. data/lib/selenium/devtools/v94/target.rb +0 -139
  97. data/lib/selenium/devtools/v94/tethering.rb +0 -51
  98. data/lib/selenium/devtools/v94/tracing.rb +0 -75
  99. data/lib/selenium/devtools/v94/web_audio.rb +0 -66
  100. data/lib/selenium/devtools/v94/web_authn.rb +0 -96
  101. data/lib/selenium/devtools/v94.rb +0 -1
@@ -1,75 +0,0 @@
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 V94
24
- class Tracing
25
- EVENTS = {
26
- buffer_usage: 'bufferUsage',
27
- data_collected: 'dataCollected',
28
- tracing_complete: 'tracingComplete',
29
- }.freeze
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["Tracing.#{event}"] << block
38
- end
39
-
40
- def _end
41
- @devtools.send_cmd('Tracing.end')
42
- end
43
-
44
- def get_categories
45
- @devtools.send_cmd('Tracing.getCategories')
46
- end
47
-
48
- def record_clock_sync_marker(sync_id:)
49
- @devtools.send_cmd('Tracing.recordClockSyncMarker',
50
- syncId: sync_id)
51
- end
52
-
53
- def request_memory_dump(deterministic: nil, level_of_detail: nil)
54
- @devtools.send_cmd('Tracing.requestMemoryDump',
55
- deterministic: deterministic,
56
- levelOfDetail: level_of_detail)
57
- end
58
-
59
- 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)
60
- @devtools.send_cmd('Tracing.start',
61
- categories: categories,
62
- options: options,
63
- bufferUsageReportingInterval: buffer_usage_reporting_interval,
64
- transferMode: transfer_mode,
65
- streamFormat: stream_format,
66
- streamCompression: stream_compression,
67
- traceConfig: trace_config,
68
- perfettoConfig: perfetto_config,
69
- tracingBackend: tracing_backend)
70
- end
71
-
72
- end # Tracing
73
- end # V94
74
- end # DevTools
75
- end # Selenium
@@ -1,66 +0,0 @@
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 V94
24
- class WebAudio
25
- EVENTS = {
26
- context_created: 'contextCreated',
27
- context_will_be_destroyed: 'contextWillBeDestroyed',
28
- context_changed: 'contextChanged',
29
- audio_listener_created: 'audioListenerCreated',
30
- audio_listener_will_be_destroyed: 'audioListenerWillBeDestroyed',
31
- audio_node_created: 'audioNodeCreated',
32
- audio_node_will_be_destroyed: 'audioNodeWillBeDestroyed',
33
- audio_param_created: 'audioParamCreated',
34
- audio_param_will_be_destroyed: 'audioParamWillBeDestroyed',
35
- nodes_connected: 'nodesConnected',
36
- nodes_disconnected: 'nodesDisconnected',
37
- node_param_connected: 'nodeParamConnected',
38
- node_param_disconnected: 'nodeParamDisconnected',
39
- }.freeze
40
-
41
- def initialize(devtools)
42
- @devtools = devtools
43
- end
44
-
45
- def on(event, &block)
46
- event = EVENTS[event] if event.is_a?(Symbol)
47
- @devtools.callbacks["WebAudio.#{event}"] << block
48
- end
49
-
50
- def enable
51
- @devtools.send_cmd('WebAudio.enable')
52
- end
53
-
54
- def disable
55
- @devtools.send_cmd('WebAudio.disable')
56
- end
57
-
58
- def get_realtime_data(context_id:)
59
- @devtools.send_cmd('WebAudio.getRealtimeData',
60
- contextId: context_id)
61
- end
62
-
63
- end # WebAudio
64
- end # V94
65
- end # DevTools
66
- end # Selenium
@@ -1,96 +0,0 @@
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 V94
24
- class WebAuthn
25
-
26
- def initialize(devtools)
27
- @devtools = devtools
28
- end
29
-
30
- def on(event, &block)
31
- event = EVENTS[event] if event.is_a?(Symbol)
32
- @devtools.callbacks["WebAuthn.#{event}"] << block
33
- end
34
-
35
- def enable
36
- @devtools.send_cmd('WebAuthn.enable')
37
- end
38
-
39
- def disable
40
- @devtools.send_cmd('WebAuthn.disable')
41
- end
42
-
43
- def add_virtual_authenticator(options:)
44
- @devtools.send_cmd('WebAuthn.addVirtualAuthenticator',
45
- options: options)
46
- end
47
-
48
- def remove_virtual_authenticator(authenticator_id:)
49
- @devtools.send_cmd('WebAuthn.removeVirtualAuthenticator',
50
- authenticatorId: authenticator_id)
51
- end
52
-
53
- def add_credential(authenticator_id:, credential:)
54
- @devtools.send_cmd('WebAuthn.addCredential',
55
- authenticatorId: authenticator_id,
56
- credential: credential)
57
- end
58
-
59
- def get_credential(authenticator_id:, credential_id:)
60
- @devtools.send_cmd('WebAuthn.getCredential',
61
- authenticatorId: authenticator_id,
62
- credentialId: credential_id)
63
- end
64
-
65
- def get_credentials(authenticator_id:)
66
- @devtools.send_cmd('WebAuthn.getCredentials',
67
- authenticatorId: authenticator_id)
68
- end
69
-
70
- def remove_credential(authenticator_id:, credential_id:)
71
- @devtools.send_cmd('WebAuthn.removeCredential',
72
- authenticatorId: authenticator_id,
73
- credentialId: credential_id)
74
- end
75
-
76
- def clear_credentials(authenticator_id:)
77
- @devtools.send_cmd('WebAuthn.clearCredentials',
78
- authenticatorId: authenticator_id)
79
- end
80
-
81
- def set_user_verified(authenticator_id:, is_user_verified:)
82
- @devtools.send_cmd('WebAuthn.setUserVerified',
83
- authenticatorId: authenticator_id,
84
- isUserVerified: is_user_verified)
85
- end
86
-
87
- def set_automatic_presence_simulation(authenticator_id:, enabled:)
88
- @devtools.send_cmd('WebAuthn.setAutomaticPresenceSimulation',
89
- authenticatorId: authenticator_id,
90
- enabled: enabled)
91
- end
92
-
93
- end # WebAuthn
94
- end # V94
95
- end # DevTools
96
- end # Selenium
@@ -1 +0,0 @@
1
- Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v94/*", &method(:require))