selenium-devtools 0.133.0 → 0.134.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.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -0
  3. data/lib/selenium/devtools/{v131 → v134}/accessibility.rb +2 -2
  4. data/lib/selenium/devtools/{v131 → v134}/animation.rb +2 -2
  5. data/lib/selenium/devtools/{v131 → v134}/audits.rb +2 -2
  6. data/lib/selenium/devtools/{v131 → v134}/autofill.rb +2 -2
  7. data/lib/selenium/devtools/{v131 → v134}/background_service.rb +2 -2
  8. data/lib/selenium/devtools/{v131 → v134}/bluetooth_emulation.rb +2 -2
  9. data/lib/selenium/devtools/{v131 → v134}/browser.rb +2 -2
  10. data/lib/selenium/devtools/{v131 → v134}/cache_storage.rb +2 -2
  11. data/lib/selenium/devtools/{v131 → v134}/cast.rb +2 -2
  12. data/lib/selenium/devtools/{v131 → v134}/console.rb +2 -2
  13. data/lib/selenium/devtools/{v131 → v134}/css.rb +37 -4
  14. data/lib/selenium/devtools/{v131 → v134}/debugger.rb +2 -2
  15. data/lib/selenium/devtools/{v131 → v134}/device_access.rb +2 -2
  16. data/lib/selenium/devtools/{v131 → v134}/device_orientation.rb +2 -2
  17. data/lib/selenium/devtools/{v131 → v134}/dom.rb +5 -4
  18. data/lib/selenium/devtools/{v131 → v134}/dom_debugger.rb +2 -2
  19. data/lib/selenium/devtools/{v131 → v134}/dom_snapshot.rb +2 -2
  20. data/lib/selenium/devtools/{v131 → v134}/dom_storage.rb +2 -2
  21. data/lib/selenium/devtools/{v131 → v134}/emulation.rb +2 -2
  22. data/lib/selenium/devtools/{v131 → v134}/event_breakpoints.rb +2 -2
  23. data/lib/selenium/devtools/{v131 → v134}/extensions.rb +7 -2
  24. data/lib/selenium/devtools/{v131 → v134}/fed_cm.rb +2 -2
  25. data/lib/selenium/devtools/{v131 → v134}/fetch.rb +2 -2
  26. data/lib/selenium/devtools/{v131 → v134}/file_system.rb +2 -2
  27. data/lib/selenium/devtools/{v131 → v134}/headless_experimental.rb +2 -2
  28. data/lib/selenium/devtools/{v131 → v134}/heap_profiler.rb +2 -2
  29. data/lib/selenium/devtools/{v131 → v134}/indexed_db.rb +2 -2
  30. data/lib/selenium/devtools/{v131 → v134}/input.rb +2 -2
  31. data/lib/selenium/devtools/{v85 → v134}/inspector.rb +2 -2
  32. data/lib/selenium/devtools/{v85 → v134}/io.rb +2 -2
  33. data/lib/selenium/devtools/{v85 → v134}/layer_tree.rb +2 -2
  34. data/lib/selenium/devtools/{v131 → v134}/log.rb +2 -2
  35. data/lib/selenium/devtools/{v131 → v134}/media.rb +2 -2
  36. data/lib/selenium/devtools/{v131 → v134}/memory.rb +2 -2
  37. data/lib/selenium/devtools/{v131 → v134}/network.rb +9 -2
  38. data/lib/selenium/devtools/{v131 → v134}/overlay.rb +2 -2
  39. data/lib/selenium/devtools/{v131 → v134}/page.rb +3 -2
  40. data/lib/selenium/devtools/{v131 → v134}/performance.rb +2 -2
  41. data/lib/selenium/devtools/{v131 → v134}/performance_timeline.rb +2 -2
  42. data/lib/selenium/devtools/{v131 → v134}/preload.rb +2 -2
  43. data/lib/selenium/devtools/{v131 → v134}/profiler.rb +2 -2
  44. data/lib/selenium/devtools/{v131 → v134}/pwa.rb +2 -2
  45. data/lib/selenium/devtools/{v131 → v134}/runtime.rb +2 -2
  46. data/lib/selenium/devtools/{v85 → v134}/schema.rb +2 -2
  47. data/lib/selenium/devtools/{v85 → v134}/security.rb +2 -2
  48. data/lib/selenium/devtools/{v131 → v134}/service_worker.rb +2 -2
  49. data/lib/selenium/devtools/{v131 → v134}/storage.rb +8 -2
  50. data/lib/selenium/devtools/{v131 → v134}/system_info.rb +2 -2
  51. data/lib/selenium/devtools/{v131 → v134}/target.rb +6 -3
  52. data/lib/selenium/devtools/{v85 → v134}/tethering.rb +2 -2
  53. data/lib/selenium/devtools/{v131 → v134}/tracing.rb +2 -2
  54. data/lib/selenium/devtools/{v131 → v134}/web_audio.rb +2 -2
  55. data/lib/selenium/devtools/{v131 → v134}/web_authn.rb +2 -2
  56. data/lib/selenium/devtools/{v131.rb → v134.rb} +3 -4
  57. data/lib/selenium/devtools/version.rb +1 -1
  58. metadata +56 -103
  59. data/lib/selenium/devtools/v131/database.rb +0 -60
  60. data/lib/selenium/devtools/v131/inspector.rb +0 -51
  61. data/lib/selenium/devtools/v131/io.rb +0 -55
  62. data/lib/selenium/devtools/v131/layer_tree.rb +0 -91
  63. data/lib/selenium/devtools/v131/schema.rb +0 -42
  64. data/lib/selenium/devtools/v131/security.rb +0 -67
  65. data/lib/selenium/devtools/v131/tethering.rb +0 -51
  66. data/lib/selenium/devtools/v85/accessibility.rb +0 -58
  67. data/lib/selenium/devtools/v85/animation.rb +0 -94
  68. data/lib/selenium/devtools/v85/application_cache.rb +0 -60
  69. data/lib/selenium/devtools/v85/audits.rb +0 -57
  70. data/lib/selenium/devtools/v85/background_service.rb +0 -63
  71. data/lib/selenium/devtools/v85/browser.rb +0 -119
  72. data/lib/selenium/devtools/v85/cache_storage.rb +0 -69
  73. data/lib/selenium/devtools/v85/cast.rb +0 -66
  74. data/lib/selenium/devtools/v85/console.rb +0 -53
  75. data/lib/selenium/devtools/v85/css.rb +0 -161
  76. data/lib/selenium/devtools/v85/database.rb +0 -60
  77. data/lib/selenium/devtools/v85/debugger.rb +0 -225
  78. data/lib/selenium/devtools/v85/device_orientation.rb +0 -49
  79. data/lib/selenium/devtools/v85/dom.rb +0 -316
  80. data/lib/selenium/devtools/v85/dom_debugger.rb +0 -89
  81. data/lib/selenium/devtools/v85/dom_snapshot.rb +0 -61
  82. data/lib/selenium/devtools/v85/dom_storage.rb +0 -75
  83. data/lib/selenium/devtools/v85/emulation.rb +0 -176
  84. data/lib/selenium/devtools/v85/fetch.rb +0 -93
  85. data/lib/selenium/devtools/v85/headless_experimental.rb +0 -57
  86. data/lib/selenium/devtools/v85/heap_profiler.rb +0 -103
  87. data/lib/selenium/devtools/v85/indexed_db.rb +0 -96
  88. data/lib/selenium/devtools/v85/input.rb +0 -137
  89. data/lib/selenium/devtools/v85/log.rb +0 -62
  90. data/lib/selenium/devtools/v85/media.rb +0 -53
  91. data/lib/selenium/devtools/v85/memory.rb +0 -82
  92. data/lib/selenium/devtools/v85/network.rb +0 -224
  93. data/lib/selenium/devtools/v85/overlay.rb +0 -154
  94. data/lib/selenium/devtools/v85/page.rb +0 -370
  95. data/lib/selenium/devtools/v85/performance.rb +0 -59
  96. data/lib/selenium/devtools/v85/profiler.rb +0 -107
  97. data/lib/selenium/devtools/v85/runtime.rb +0 -190
  98. data/lib/selenium/devtools/v85/service_worker.rb +0 -112
  99. data/lib/selenium/devtools/v85/storage.rb +0 -91
  100. data/lib/selenium/devtools/v85/system_info.rb +0 -46
  101. data/lib/selenium/devtools/v85/target.rb +0 -139
  102. data/lib/selenium/devtools/v85/tracing.rb +0 -72
  103. data/lib/selenium/devtools/v85/web_audio.rb +0 -66
  104. data/lib/selenium/devtools/v85/web_authn.rb +0 -90
  105. data/lib/selenium/devtools/v85.rb +0 -76
@@ -1,60 +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 V131
24
- class Database
25
- EVENTS = {
26
- add_database: 'addDatabase',
27
- }.freeze
28
-
29
- def initialize(devtools)
30
- @devtools = devtools
31
- end
32
-
33
- def on(event, &block)
34
- event = EVENTS[event] if event.is_a?(Symbol)
35
- @devtools.callbacks["Database.#{event}"] << block
36
- end
37
-
38
- def disable
39
- @devtools.send_cmd('Database.disable')
40
- end
41
-
42
- def enable
43
- @devtools.send_cmd('Database.enable')
44
- end
45
-
46
- def execute_sql(database_id:, query:)
47
- @devtools.send_cmd('Database.executeSQL',
48
- databaseId: database_id,
49
- query: query)
50
- end
51
-
52
- def get_database_table_names(database_id:)
53
- @devtools.send_cmd('Database.getDatabaseTableNames',
54
- databaseId: database_id)
55
- end
56
-
57
- end # Database
58
- end # V131
59
- end # DevTools
60
- end # Selenium
@@ -1,51 +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 V131
24
- class Inspector
25
- EVENTS = {
26
- detached: 'detached',
27
- target_crashed: 'targetCrashed',
28
- target_reloaded_after_crash: 'targetReloadedAfterCrash',
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["Inspector.#{event}"] << block
38
- end
39
-
40
- def disable
41
- @devtools.send_cmd('Inspector.disable')
42
- end
43
-
44
- def enable
45
- @devtools.send_cmd('Inspector.enable')
46
- end
47
-
48
- end # Inspector
49
- end # V131
50
- end # DevTools
51
- end # Selenium
@@ -1,55 +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 V131
24
- class IO
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["IO.#{event}"] << block
33
- end
34
-
35
- def close(handle:)
36
- @devtools.send_cmd('IO.close',
37
- handle: handle)
38
- end
39
-
40
- def read(handle:, offset: nil, size: nil)
41
- @devtools.send_cmd('IO.read',
42
- handle: handle,
43
- offset: offset,
44
- size: size)
45
- end
46
-
47
- def resolve_blob(object_id:)
48
- @devtools.send_cmd('IO.resolveBlob',
49
- objectId: object_id)
50
- end
51
-
52
- end # IO
53
- end # V131
54
- end # DevTools
55
- end # Selenium
@@ -1,91 +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 V131
24
- class LayerTree
25
- EVENTS = {
26
- layer_painted: 'layerPainted',
27
- layer_tree_did_change: 'layerTreeDidChange',
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["LayerTree.#{event}"] << block
37
- end
38
-
39
- def compositing_reasons(layer_id:)
40
- @devtools.send_cmd('LayerTree.compositingReasons',
41
- layerId: layer_id)
42
- end
43
-
44
- def disable
45
- @devtools.send_cmd('LayerTree.disable')
46
- end
47
-
48
- def enable
49
- @devtools.send_cmd('LayerTree.enable')
50
- end
51
-
52
- def load_snapshot(tiles:)
53
- @devtools.send_cmd('LayerTree.loadSnapshot',
54
- tiles: tiles)
55
- end
56
-
57
- def make_snapshot(layer_id:)
58
- @devtools.send_cmd('LayerTree.makeSnapshot',
59
- layerId: layer_id)
60
- end
61
-
62
- def profile_snapshot(snapshot_id:, min_repeat_count: nil, min_duration: nil, clip_rect: nil)
63
- @devtools.send_cmd('LayerTree.profileSnapshot',
64
- snapshotId: snapshot_id,
65
- minRepeatCount: min_repeat_count,
66
- minDuration: min_duration,
67
- clipRect: clip_rect)
68
- end
69
-
70
- def release_snapshot(snapshot_id:)
71
- @devtools.send_cmd('LayerTree.releaseSnapshot',
72
- snapshotId: snapshot_id)
73
- end
74
-
75
- def replay_snapshot(snapshot_id:, from_step: nil, to_step: nil, scale: nil)
76
- @devtools.send_cmd('LayerTree.replaySnapshot',
77
- snapshotId: snapshot_id,
78
- fromStep: from_step,
79
- toStep: to_step,
80
- scale: scale)
81
- end
82
-
83
- def snapshot_command_log(snapshot_id:)
84
- @devtools.send_cmd('LayerTree.snapshotCommandLog',
85
- snapshotId: snapshot_id)
86
- end
87
-
88
- end # LayerTree
89
- end # V131
90
- end # DevTools
91
- end # Selenium
@@ -1,42 +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 V131
24
- class Schema
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["Schema.#{event}"] << block
33
- end
34
-
35
- def get_domains
36
- @devtools.send_cmd('Schema.getDomains')
37
- end
38
-
39
- end # Schema
40
- end # V131
41
- end # DevTools
42
- end # Selenium
@@ -1,67 +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 V131
24
- class Security
25
- EVENTS = {
26
- certificate_error: 'certificateError',
27
- visible_security_state_changed: 'visibleSecurityStateChanged',
28
- security_state_changed: 'securityStateChanged',
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["Security.#{event}"] << block
38
- end
39
-
40
- def disable
41
- @devtools.send_cmd('Security.disable')
42
- end
43
-
44
- def enable
45
- @devtools.send_cmd('Security.enable')
46
- end
47
-
48
- def set_ignore_certificate_errors(ignore:)
49
- @devtools.send_cmd('Security.setIgnoreCertificateErrors',
50
- ignore: ignore)
51
- end
52
-
53
- def handle_certificate_error(event_id:, action:)
54
- @devtools.send_cmd('Security.handleCertificateError',
55
- eventId: event_id,
56
- action: action)
57
- end
58
-
59
- def set_override_certificate_errors(override:)
60
- @devtools.send_cmd('Security.setOverrideCertificateErrors',
61
- override: override)
62
- end
63
-
64
- end # Security
65
- end # V131
66
- end # DevTools
67
- end # Selenium
@@ -1,51 +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 V131
24
- class Tethering
25
- EVENTS = {
26
- accepted: 'accepted',
27
- }.freeze
28
-
29
- def initialize(devtools)
30
- @devtools = devtools
31
- end
32
-
33
- def on(event, &block)
34
- event = EVENTS[event] if event.is_a?(Symbol)
35
- @devtools.callbacks["Tethering.#{event}"] << block
36
- end
37
-
38
- def bind(port:)
39
- @devtools.send_cmd('Tethering.bind',
40
- port: port)
41
- end
42
-
43
- def unbind(port:)
44
- @devtools.send_cmd('Tethering.unbind',
45
- port: port)
46
- end
47
-
48
- end # Tethering
49
- end # V131
50
- end # DevTools
51
- end # Selenium
@@ -1,58 +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 V85
24
- class Accessibility
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["Accessibility.#{event}"] << block
33
- end
34
-
35
- def disable
36
- @devtools.send_cmd('Accessibility.disable')
37
- end
38
-
39
- def enable
40
- @devtools.send_cmd('Accessibility.enable')
41
- end
42
-
43
- def get_partial_ax_tree(node_id: nil, backend_node_id: nil, object_id: nil, fetch_relatives: nil)
44
- @devtools.send_cmd('Accessibility.getPartialAXTree',
45
- nodeId: node_id,
46
- backendNodeId: backend_node_id,
47
- objectId: object_id,
48
- fetchRelatives: fetch_relatives)
49
- end
50
-
51
- def get_full_ax_tree
52
- @devtools.send_cmd('Accessibility.getFullAXTree')
53
- end
54
-
55
- end # Accessibility
56
- end # V85
57
- end # DevTools
58
- end # Selenium
@@ -1,94 +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 V85
24
- class Animation
25
- EVENTS = {
26
- animation_canceled: 'animationCanceled',
27
- animation_created: 'animationCreated',
28
- animation_started: 'animationStarted',
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["Animation.#{event}"] << block
38
- end
39
-
40
- def disable
41
- @devtools.send_cmd('Animation.disable')
42
- end
43
-
44
- def enable
45
- @devtools.send_cmd('Animation.enable')
46
- end
47
-
48
- def get_current_time(id:)
49
- @devtools.send_cmd('Animation.getCurrentTime',
50
- id: id)
51
- end
52
-
53
- def get_playback_rate
54
- @devtools.send_cmd('Animation.getPlaybackRate')
55
- end
56
-
57
- def release_animations(animations:)
58
- @devtools.send_cmd('Animation.releaseAnimations',
59
- animations: animations)
60
- end
61
-
62
- def resolve_animation(animation_id:)
63
- @devtools.send_cmd('Animation.resolveAnimation',
64
- animationId: animation_id)
65
- end
66
-
67
- def seek_animations(animations:, current_time:)
68
- @devtools.send_cmd('Animation.seekAnimations',
69
- animations: animations,
70
- currentTime: current_time)
71
- end
72
-
73
- def set_paused(animations:, paused:)
74
- @devtools.send_cmd('Animation.setPaused',
75
- animations: animations,
76
- paused: paused)
77
- end
78
-
79
- def set_playback_rate(playback_rate:)
80
- @devtools.send_cmd('Animation.setPlaybackRate',
81
- playbackRate: playback_rate)
82
- end
83
-
84
- def set_timing(animation_id:, duration:, delay:)
85
- @devtools.send_cmd('Animation.setTiming',
86
- animationId: animation_id,
87
- duration: duration,
88
- delay: delay)
89
- end
90
-
91
- end # Animation
92
- end # V85
93
- end # DevTools
94
- end # Selenium
@@ -1,60 +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 V85
24
- class ApplicationCache
25
- EVENTS = {
26
- application_cache_status_updated: 'applicationCacheStatusUpdated',
27
- network_state_updated: 'networkStateUpdated',
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["ApplicationCache.#{event}"] << block
37
- end
38
-
39
- def enable
40
- @devtools.send_cmd('ApplicationCache.enable')
41
- end
42
-
43
- def get_application_cache_for_frame(frame_id:)
44
- @devtools.send_cmd('ApplicationCache.getApplicationCacheForFrame',
45
- frameId: frame_id)
46
- end
47
-
48
- def get_frames_with_manifests
49
- @devtools.send_cmd('ApplicationCache.getFramesWithManifests')
50
- end
51
-
52
- def get_manifest_for_frame(frame_id:)
53
- @devtools.send_cmd('ApplicationCache.getManifestForFrame',
54
- frameId: frame_id)
55
- end
56
-
57
- end # ApplicationCache
58
- end # V85
59
- end # DevTools
60
- end # Selenium
@@ -1,57 +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 V85
24
- class Audits
25
- EVENTS = {
26
- issue_added: 'issueAdded',
27
- }.freeze
28
-
29
- def initialize(devtools)
30
- @devtools = devtools
31
- end
32
-
33
- def on(event, &block)
34
- event = EVENTS[event] if event.is_a?(Symbol)
35
- @devtools.callbacks["Audits.#{event}"] << block
36
- end
37
-
38
- def get_encoded_response(request_id:, encoding:, quality: nil, size_only: nil)
39
- @devtools.send_cmd('Audits.getEncodedResponse',
40
- requestId: request_id,
41
- encoding: encoding,
42
- quality: quality,
43
- sizeOnly: size_only)
44
- end
45
-
46
- def disable
47
- @devtools.send_cmd('Audits.disable')
48
- end
49
-
50
- def enable
51
- @devtools.send_cmd('Audits.enable')
52
- end
53
-
54
- end # Audits
55
- end # V85
56
- end # DevTools
57
- end # Selenium