selenium-devtools 0.134.0 → 0.135.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 (58) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v132 → v135}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v132 → v135}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v132 → v135}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v132 → v135}/autofill.rb +2 -2
  6. data/lib/selenium/devtools/{v132 → v135}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/{v132 → v135}/bluetooth_emulation.rb +2 -2
  8. data/lib/selenium/devtools/{v132 → v135}/browser.rb +2 -2
  9. data/lib/selenium/devtools/{v132 → v135}/cache_storage.rb +2 -2
  10. data/lib/selenium/devtools/{v132 → v135}/cast.rb +2 -2
  11. data/lib/selenium/devtools/{v132 → v135}/console.rb +2 -2
  12. data/lib/selenium/devtools/{v132 → v135}/css.rb +31 -4
  13. data/lib/selenium/devtools/{v132 → v135}/debugger.rb +2 -2
  14. data/lib/selenium/devtools/{v132 → v135}/device_access.rb +2 -2
  15. data/lib/selenium/devtools/{v132 → v135}/device_orientation.rb +2 -2
  16. data/lib/selenium/devtools/{v132 → v135}/dom.rb +2 -2
  17. data/lib/selenium/devtools/{v132 → v135}/dom_debugger.rb +2 -2
  18. data/lib/selenium/devtools/{v132 → v135}/dom_snapshot.rb +2 -2
  19. data/lib/selenium/devtools/{v132 → v135}/dom_storage.rb +2 -2
  20. data/lib/selenium/devtools/{v132 → v135}/emulation.rb +2 -2
  21. data/lib/selenium/devtools/{v132 → v135}/event_breakpoints.rb +2 -2
  22. data/lib/selenium/devtools/{v132 → v135}/extensions.rb +7 -2
  23. data/lib/selenium/devtools/{v132 → v135}/fed_cm.rb +2 -2
  24. data/lib/selenium/devtools/{v132 → v135}/fetch.rb +2 -2
  25. data/lib/selenium/devtools/{v132 → v135}/file_system.rb +2 -2
  26. data/lib/selenium/devtools/{v132 → v135}/headless_experimental.rb +2 -2
  27. data/lib/selenium/devtools/{v132 → v135}/heap_profiler.rb +2 -2
  28. data/lib/selenium/devtools/{v132 → v135}/indexed_db.rb +2 -2
  29. data/lib/selenium/devtools/{v132 → v135}/input.rb +2 -2
  30. data/lib/selenium/devtools/{v132 → v135}/inspector.rb +2 -2
  31. data/lib/selenium/devtools/{v132 → v135}/io.rb +2 -2
  32. data/lib/selenium/devtools/{v132 → v135}/layer_tree.rb +2 -2
  33. data/lib/selenium/devtools/{v132 → v135}/log.rb +2 -2
  34. data/lib/selenium/devtools/{v132 → v135}/media.rb +2 -2
  35. data/lib/selenium/devtools/{v132 → v135}/memory.rb +2 -2
  36. data/lib/selenium/devtools/{v132 → v135}/network.rb +9 -2
  37. data/lib/selenium/devtools/{v132 → v135}/overlay.rb +2 -2
  38. data/lib/selenium/devtools/{v132 → v135}/page.rb +6 -4
  39. data/lib/selenium/devtools/{v132 → v135}/performance.rb +2 -2
  40. data/lib/selenium/devtools/{v132 → v135}/performance_timeline.rb +2 -2
  41. data/lib/selenium/devtools/{v132 → v135}/preload.rb +2 -2
  42. data/lib/selenium/devtools/{v132 → v135}/profiler.rb +2 -2
  43. data/lib/selenium/devtools/{v132 → v135}/pwa.rb +2 -2
  44. data/lib/selenium/devtools/{v132 → v135}/runtime.rb +2 -2
  45. data/lib/selenium/devtools/{v132 → v135}/schema.rb +2 -2
  46. data/lib/selenium/devtools/{v132 → v135}/security.rb +2 -2
  47. data/lib/selenium/devtools/{v132 → v135}/service_worker.rb +2 -2
  48. data/lib/selenium/devtools/{v132 → v135}/storage.rb +8 -2
  49. data/lib/selenium/devtools/{v132 → v135}/system_info.rb +2 -2
  50. data/lib/selenium/devtools/{v132 → v135}/target.rb +9 -5
  51. data/lib/selenium/devtools/{v132 → v135}/tethering.rb +2 -2
  52. data/lib/selenium/devtools/{v132 → v135}/tracing.rb +2 -2
  53. data/lib/selenium/devtools/{v132 → v135}/web_audio.rb +2 -2
  54. data/lib/selenium/devtools/{v132 → v135}/web_authn.rb +2 -2
  55. data/lib/selenium/devtools/{v132.rb → v135.rb} +3 -4
  56. data/lib/selenium/devtools/version.rb +1 -1
  57. metadata +56 -57
  58. data/lib/selenium/devtools/v132/database.rb +0 -60
@@ -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 V132
23
+ module V135
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -269,7 +269,14 @@ module Selenium
269
269
  options: options)
270
270
  end
271
271
 
272
+ def set_cookie_controls(enable_third_party_cookie_restriction:, disable_third_party_cookie_metadata:, disable_third_party_cookie_heuristics:)
273
+ @devtools.send_cmd('Network.setCookieControls',
274
+ enableThirdPartyCookieRestriction: enable_third_party_cookie_restriction,
275
+ disableThirdPartyCookieMetadata: disable_third_party_cookie_metadata,
276
+ disableThirdPartyCookieHeuristics: disable_third_party_cookie_heuristics)
277
+ end
278
+
272
279
  end # Network
273
- end # V132
280
+ end # V135
274
281
  end # DevTools
275
282
  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 V132
23
+ module V135
24
24
  class Overlay
25
25
  EVENTS = {
26
26
  inspect_node_requested: 'inspectNodeRequested',
@@ -202,6 +202,6 @@ module Selenium
202
202
  end
203
203
 
204
204
  end # Overlay
205
- end # V132
205
+ end # V135
206
206
  end # DevTools
207
207
  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 V132
23
+ module V135
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -32,6 +32,7 @@ module Selenium
32
32
  frame_navigated: 'frameNavigated',
33
33
  document_opened: 'documentOpened',
34
34
  frame_resized: 'frameResized',
35
+ frame_started_navigating: 'frameStartedNavigating',
35
36
  frame_requested_navigation: 'frameRequestedNavigation',
36
37
  frame_scheduled_navigation: 'frameScheduledNavigation',
37
38
  frame_started_loading: 'frameStartedLoading',
@@ -122,8 +123,9 @@ module Selenium
122
123
  @devtools.send_cmd('Page.disable')
123
124
  end
124
125
 
125
- def enable
126
- @devtools.send_cmd('Page.enable')
126
+ def enable(enable_file_chooser_opened_event: nil)
127
+ @devtools.send_cmd('Page.enable',
128
+ enableFileChooserOpenedEvent: enable_file_chooser_opened_event)
127
129
  end
128
130
 
129
131
  def get_app_manifest(manifest_id: nil)
@@ -406,6 +408,6 @@ module Selenium
406
408
  end
407
409
 
408
410
  end # Page
409
- end # V132
411
+ end # V135
410
412
  end # DevTools
411
413
  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 V132
23
+ module V135
24
24
  class Performance
25
25
  EVENTS = {
26
26
  metrics: 'metrics',
@@ -54,6 +54,6 @@ module Selenium
54
54
  end
55
55
 
56
56
  end # Performance
57
- end # V132
57
+ end # V135
58
58
  end # DevTools
59
59
  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 V132
23
+ module V135
24
24
  class PerformanceTimeline
25
25
  EVENTS = {
26
26
  timeline_event_added: 'timelineEventAdded',
@@ -41,6 +41,6 @@ module Selenium
41
41
  end
42
42
 
43
43
  end # PerformanceTimeline
44
- end # V132
44
+ end # V135
45
45
  end # DevTools
46
46
  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 V132
23
+ module V135
24
24
  class Preload
25
25
  EVENTS = {
26
26
  rule_set_updated: 'ruleSetUpdated',
@@ -49,6 +49,6 @@ module Selenium
49
49
  end
50
50
 
51
51
  end # Preload
52
- end # V132
52
+ end # V135
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 V132
23
+ module V135
24
24
  class Profiler
25
25
  EVENTS = {
26
26
  console_profile_finished: 'consoleProfileFinished',
@@ -78,6 +78,6 @@ module Selenium
78
78
  end
79
79
 
80
80
  end # Profiler
81
- end # V132
81
+ end # V135
82
82
  end # DevTools
83
83
  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 V132
23
+ module V135
24
24
  class PWA
25
25
 
26
26
  def initialize(devtools)
@@ -73,6 +73,6 @@ module Selenium
73
73
  end
74
74
 
75
75
  end # PWA
76
- end # V132
76
+ end # V135
77
77
  end # DevTools
78
78
  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 V132
23
+ module V135
24
24
  class Runtime
25
25
  EVENTS = {
26
26
  binding_called: 'bindingCalled',
@@ -197,6 +197,6 @@ module Selenium
197
197
  end
198
198
 
199
199
  end # Runtime
200
- end # V132
200
+ end # V135
201
201
  end # DevTools
202
202
  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 V132
23
+ module V135
24
24
  class Schema
25
25
 
26
26
  def initialize(devtools)
@@ -37,6 +37,6 @@ module Selenium
37
37
  end
38
38
 
39
39
  end # Schema
40
- end # V132
40
+ end # V135
41
41
  end # DevTools
42
42
  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 V132
23
+ module V135
24
24
  class Security
25
25
  EVENTS = {
26
26
  certificate_error: 'certificateError',
@@ -62,6 +62,6 @@ module Selenium
62
62
  end
63
63
 
64
64
  end # Security
65
- end # V132
65
+ end # V135
66
66
  end # DevTools
67
67
  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 V132
23
+ module V135
24
24
  class ServiceWorker
25
25
  EVENTS = {
26
26
  worker_error_reported: 'workerErrorReported',
@@ -107,6 +107,6 @@ module Selenium
107
107
  end
108
108
 
109
109
  end # ServiceWorker
110
- end # V132
110
+ end # V135
111
111
  end # DevTools
112
112
  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 V132
23
+ module V135
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -227,7 +227,13 @@ module Selenium
227
227
  @devtools.send_cmd('Storage.getRelatedWebsiteSets')
228
228
  end
229
229
 
230
+ def get_affected_urls_for_third_party_cookie_metadata(first_party_url:, third_party_urls:)
231
+ @devtools.send_cmd('Storage.getAffectedUrlsForThirdPartyCookieMetadata',
232
+ firstPartyUrl: first_party_url,
233
+ thirdPartyUrls: third_party_urls)
234
+ end
235
+
230
236
  end # Storage
231
- end # V132
237
+ end # V135
232
238
  end # DevTools
233
239
  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 V132
23
+ module V135
24
24
  class SystemInfo
25
25
 
26
26
  def initialize(devtools)
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # SystemInfo
49
- end # V132
49
+ end # V135
50
50
  end # DevTools
51
51
  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 V132
23
+ module V135
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -61,10 +61,11 @@ module Selenium
61
61
  targetId: target_id)
62
62
  end
63
63
 
64
- def expose_dev_tools_protocol(target_id:, binding_name: nil)
64
+ def expose_dev_tools_protocol(target_id:, binding_name: nil, inherit_permissions: nil)
65
65
  @devtools.send_cmd('Target.exposeDevToolsProtocol',
66
66
  targetId: target_id,
67
- bindingName: binding_name)
67
+ bindingName: binding_name,
68
+ inheritPermissions: inherit_permissions)
68
69
  end
69
70
 
70
71
  def create_browser_context(dispose_on_detach: nil, proxy_server: nil, proxy_bypass_list: nil, origins_with_universal_network_access: nil)
@@ -79,11 +80,14 @@ module Selenium
79
80
  @devtools.send_cmd('Target.getBrowserContexts')
80
81
  end
81
82
 
82
- def create_target(url:, width: nil, height: nil, browser_context_id: nil, enable_begin_frame_control: nil, new_window: nil, background: nil, for_tab: nil)
83
+ def create_target(url:, left: nil, top: nil, width: nil, height: nil, window_state: nil, browser_context_id: nil, enable_begin_frame_control: nil, new_window: nil, background: nil, for_tab: nil)
83
84
  @devtools.send_cmd('Target.createTarget',
84
85
  url: url,
86
+ left: left,
87
+ top: top,
85
88
  width: width,
86
89
  height: height,
90
+ windowState: window_state,
87
91
  browserContextId: browser_context_id,
88
92
  enableBeginFrameControl: enable_begin_frame_control,
89
93
  newWindow: new_window,
@@ -146,6 +150,6 @@ module Selenium
146
150
  end
147
151
 
148
152
  end # Target
149
- end # V132
153
+ end # V135
150
154
  end # DevTools
151
155
  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 V132
23
+ module V135
24
24
  class Tethering
25
25
  EVENTS = {
26
26
  accepted: 'accepted',
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # Tethering
49
- end # V132
49
+ end # V135
50
50
  end # DevTools
51
51
  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 V132
23
+ module V135
24
24
  class Tracing
25
25
  EVENTS = {
26
26
  buffer_usage: 'bufferUsage',
@@ -70,6 +70,6 @@ module Selenium
70
70
  end
71
71
 
72
72
  end # Tracing
73
- end # V132
73
+ end # V135
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 V132
23
+ module V135
24
24
  class WebAudio
25
25
  EVENTS = {
26
26
  context_created: 'contextCreated',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # WebAudio
64
- end # V132
64
+ end # V135
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 V132
23
+ module V135
24
24
  class WebAuthn
25
25
  EVENTS = {
26
26
  credential_added: 'credentialAdded',
@@ -114,6 +114,6 @@ module Selenium
114
114
  end
115
115
 
116
116
  end # WebAuthn
117
- end # V132
117
+ end # V135
118
118
  end # DevTools
119
119
  end # Selenium
@@ -19,11 +19,11 @@
19
19
 
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
 
22
- Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v132/*", &method(:require))
22
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v135/*", &method(:require))
23
23
 
24
24
  module Selenium
25
25
  module DevTools
26
- module V132
26
+ module V135
27
27
  METHODS_TO_CLASSES = {
28
28
  accessibility: 'Accessibility',
29
29
  animation: 'Animation',
@@ -40,7 +40,6 @@ module Selenium
40
40
  event_breakpoints: 'EventBreakpoints',
41
41
  dom_snapshot: 'DOMSnapshot',
42
42
  dom_storage: 'DOMStorage',
43
- database: 'Database',
44
43
  device_orientation: 'DeviceOrientation',
45
44
  emulation: 'Emulation',
46
45
  headless_experimental: 'HeadlessExperimental',
@@ -80,6 +79,6 @@ module Selenium
80
79
  runtime: 'Runtime',
81
80
  schema: 'Schema',
82
81
  }.freeze
83
- end # V132
82
+ end # V135
84
83
  end # DevTools
85
84
  end # Selenium
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module DevTools
22
- VERSION = '0.134.0'
22
+ VERSION = '0.135.0'
23
23
  end # DevTools
24
24
  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.134.0
4
+ version: 0.135.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-03-21 00:00:00.000000000 Z
13
+ date: 2025-04-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: selenium-webdriver
@@ -41,61 +41,6 @@ files:
41
41
  - LICENSE
42
42
  - NOTICE
43
43
  - lib/selenium/devtools.rb
44
- - lib/selenium/devtools/v132.rb
45
- - lib/selenium/devtools/v132/accessibility.rb
46
- - lib/selenium/devtools/v132/animation.rb
47
- - lib/selenium/devtools/v132/audits.rb
48
- - lib/selenium/devtools/v132/autofill.rb
49
- - lib/selenium/devtools/v132/background_service.rb
50
- - lib/selenium/devtools/v132/bluetooth_emulation.rb
51
- - lib/selenium/devtools/v132/browser.rb
52
- - lib/selenium/devtools/v132/cache_storage.rb
53
- - lib/selenium/devtools/v132/cast.rb
54
- - lib/selenium/devtools/v132/console.rb
55
- - lib/selenium/devtools/v132/css.rb
56
- - lib/selenium/devtools/v132/database.rb
57
- - lib/selenium/devtools/v132/debugger.rb
58
- - lib/selenium/devtools/v132/device_access.rb
59
- - lib/selenium/devtools/v132/device_orientation.rb
60
- - lib/selenium/devtools/v132/dom.rb
61
- - lib/selenium/devtools/v132/dom_debugger.rb
62
- - lib/selenium/devtools/v132/dom_snapshot.rb
63
- - lib/selenium/devtools/v132/dom_storage.rb
64
- - lib/selenium/devtools/v132/emulation.rb
65
- - lib/selenium/devtools/v132/event_breakpoints.rb
66
- - lib/selenium/devtools/v132/extensions.rb
67
- - lib/selenium/devtools/v132/fed_cm.rb
68
- - lib/selenium/devtools/v132/fetch.rb
69
- - lib/selenium/devtools/v132/file_system.rb
70
- - lib/selenium/devtools/v132/headless_experimental.rb
71
- - lib/selenium/devtools/v132/heap_profiler.rb
72
- - lib/selenium/devtools/v132/indexed_db.rb
73
- - lib/selenium/devtools/v132/input.rb
74
- - lib/selenium/devtools/v132/inspector.rb
75
- - lib/selenium/devtools/v132/io.rb
76
- - lib/selenium/devtools/v132/layer_tree.rb
77
- - lib/selenium/devtools/v132/log.rb
78
- - lib/selenium/devtools/v132/media.rb
79
- - lib/selenium/devtools/v132/memory.rb
80
- - lib/selenium/devtools/v132/network.rb
81
- - lib/selenium/devtools/v132/overlay.rb
82
- - lib/selenium/devtools/v132/page.rb
83
- - lib/selenium/devtools/v132/performance.rb
84
- - lib/selenium/devtools/v132/performance_timeline.rb
85
- - lib/selenium/devtools/v132/preload.rb
86
- - lib/selenium/devtools/v132/profiler.rb
87
- - lib/selenium/devtools/v132/pwa.rb
88
- - lib/selenium/devtools/v132/runtime.rb
89
- - lib/selenium/devtools/v132/schema.rb
90
- - lib/selenium/devtools/v132/security.rb
91
- - lib/selenium/devtools/v132/service_worker.rb
92
- - lib/selenium/devtools/v132/storage.rb
93
- - lib/selenium/devtools/v132/system_info.rb
94
- - lib/selenium/devtools/v132/target.rb
95
- - lib/selenium/devtools/v132/tethering.rb
96
- - lib/selenium/devtools/v132/tracing.rb
97
- - lib/selenium/devtools/v132/web_audio.rb
98
- - lib/selenium/devtools/v132/web_authn.rb
99
44
  - lib/selenium/devtools/v133.rb
100
45
  - lib/selenium/devtools/v133/accessibility.rb
101
46
  - lib/selenium/devtools/v133/animation.rb
@@ -205,6 +150,60 @@ files:
205
150
  - lib/selenium/devtools/v134/tracing.rb
206
151
  - lib/selenium/devtools/v134/web_audio.rb
207
152
  - lib/selenium/devtools/v134/web_authn.rb
153
+ - lib/selenium/devtools/v135.rb
154
+ - lib/selenium/devtools/v135/accessibility.rb
155
+ - lib/selenium/devtools/v135/animation.rb
156
+ - lib/selenium/devtools/v135/audits.rb
157
+ - lib/selenium/devtools/v135/autofill.rb
158
+ - lib/selenium/devtools/v135/background_service.rb
159
+ - lib/selenium/devtools/v135/bluetooth_emulation.rb
160
+ - lib/selenium/devtools/v135/browser.rb
161
+ - lib/selenium/devtools/v135/cache_storage.rb
162
+ - lib/selenium/devtools/v135/cast.rb
163
+ - lib/selenium/devtools/v135/console.rb
164
+ - lib/selenium/devtools/v135/css.rb
165
+ - lib/selenium/devtools/v135/debugger.rb
166
+ - lib/selenium/devtools/v135/device_access.rb
167
+ - lib/selenium/devtools/v135/device_orientation.rb
168
+ - lib/selenium/devtools/v135/dom.rb
169
+ - lib/selenium/devtools/v135/dom_debugger.rb
170
+ - lib/selenium/devtools/v135/dom_snapshot.rb
171
+ - lib/selenium/devtools/v135/dom_storage.rb
172
+ - lib/selenium/devtools/v135/emulation.rb
173
+ - lib/selenium/devtools/v135/event_breakpoints.rb
174
+ - lib/selenium/devtools/v135/extensions.rb
175
+ - lib/selenium/devtools/v135/fed_cm.rb
176
+ - lib/selenium/devtools/v135/fetch.rb
177
+ - lib/selenium/devtools/v135/file_system.rb
178
+ - lib/selenium/devtools/v135/headless_experimental.rb
179
+ - lib/selenium/devtools/v135/heap_profiler.rb
180
+ - lib/selenium/devtools/v135/indexed_db.rb
181
+ - lib/selenium/devtools/v135/input.rb
182
+ - lib/selenium/devtools/v135/inspector.rb
183
+ - lib/selenium/devtools/v135/io.rb
184
+ - lib/selenium/devtools/v135/layer_tree.rb
185
+ - lib/selenium/devtools/v135/log.rb
186
+ - lib/selenium/devtools/v135/media.rb
187
+ - lib/selenium/devtools/v135/memory.rb
188
+ - lib/selenium/devtools/v135/network.rb
189
+ - lib/selenium/devtools/v135/overlay.rb
190
+ - lib/selenium/devtools/v135/page.rb
191
+ - lib/selenium/devtools/v135/performance.rb
192
+ - lib/selenium/devtools/v135/performance_timeline.rb
193
+ - lib/selenium/devtools/v135/preload.rb
194
+ - lib/selenium/devtools/v135/profiler.rb
195
+ - lib/selenium/devtools/v135/pwa.rb
196
+ - lib/selenium/devtools/v135/runtime.rb
197
+ - lib/selenium/devtools/v135/schema.rb
198
+ - lib/selenium/devtools/v135/security.rb
199
+ - lib/selenium/devtools/v135/service_worker.rb
200
+ - lib/selenium/devtools/v135/storage.rb
201
+ - lib/selenium/devtools/v135/system_info.rb
202
+ - lib/selenium/devtools/v135/target.rb
203
+ - lib/selenium/devtools/v135/tethering.rb
204
+ - lib/selenium/devtools/v135/tracing.rb
205
+ - lib/selenium/devtools/v135/web_audio.rb
206
+ - lib/selenium/devtools/v135/web_authn.rb
208
207
  - lib/selenium/devtools/version.rb
209
208
  - selenium-devtools.gemspec
210
209
  homepage: https://selenium.dev
@@ -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 V132
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 # V132
59
- end # DevTools
60
- end # Selenium