selenium-devtools 0.134.0 → 0.136.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 (113) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v133 → v135}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v133 → v135}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v133 → v135}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v132 → v135}/autofill.rb +2 -2
  6. data/lib/selenium/devtools/{v133 → v135}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/{v133 → v135}/bluetooth_emulation.rb +2 -2
  8. data/lib/selenium/devtools/{v133 → v135}/browser.rb +2 -2
  9. data/lib/selenium/devtools/{v132 → v135}/cache_storage.rb +2 -2
  10. data/lib/selenium/devtools/{v133 → v135}/cast.rb +2 -2
  11. data/lib/selenium/devtools/{v132 → v135}/console.rb +2 -2
  12. data/lib/selenium/devtools/{v133 → v135}/css.rb +5 -4
  13. data/lib/selenium/devtools/{v133 → v135}/debugger.rb +2 -2
  14. data/lib/selenium/devtools/{v133 → v135}/device_access.rb +2 -2
  15. data/lib/selenium/devtools/{v132 → v135}/device_orientation.rb +2 -2
  16. data/lib/selenium/devtools/{v133 → 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/{v133 → v135}/emulation.rb +2 -2
  21. data/lib/selenium/devtools/{v132 → v135}/event_breakpoints.rb +2 -2
  22. data/lib/selenium/devtools/{v133 → v135}/extensions.rb +7 -2
  23. data/lib/selenium/devtools/{v133 → v135}/fed_cm.rb +2 -2
  24. data/lib/selenium/devtools/{v132 → v135}/fetch.rb +2 -2
  25. data/lib/selenium/devtools/{v133 → v135}/file_system.rb +2 -2
  26. data/lib/selenium/devtools/{v132 → v135}/headless_experimental.rb +2 -2
  27. data/lib/selenium/devtools/{v133 → v135}/heap_profiler.rb +2 -2
  28. data/lib/selenium/devtools/{v132 → v135}/indexed_db.rb +2 -2
  29. data/lib/selenium/devtools/{v133 → v135}/input.rb +2 -2
  30. data/lib/selenium/devtools/{v133 → v135}/inspector.rb +2 -2
  31. data/lib/selenium/devtools/{v133 → v135}/io.rb +2 -2
  32. data/lib/selenium/devtools/{v133 → 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/{v133 → v135}/memory.rb +2 -2
  36. data/lib/selenium/devtools/{v133 → v135}/network.rb +2 -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/{v133 → 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/{v133 → v135}/pwa.rb +2 -2
  44. data/lib/selenium/devtools/{v132 → v135}/runtime.rb +2 -2
  45. data/lib/selenium/devtools/{v133 → v135}/schema.rb +2 -2
  46. data/lib/selenium/devtools/{v133 → v135}/security.rb +2 -2
  47. data/lib/selenium/devtools/{v132 → v135}/service_worker.rb +2 -2
  48. data/lib/selenium/devtools/{v133 → v135}/storage.rb +8 -2
  49. data/lib/selenium/devtools/{v132 → v135}/system_info.rb +2 -2
  50. data/lib/selenium/devtools/{v133 → v135}/target.rb +7 -5
  51. data/lib/selenium/devtools/{v133 → 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/{v132 → v136}/accessibility.rb +2 -2
  57. data/lib/selenium/devtools/{v132 → v136}/animation.rb +2 -2
  58. data/lib/selenium/devtools/{v132 → v136}/audits.rb +2 -2
  59. data/lib/selenium/devtools/{v133 → v136}/autofill.rb +2 -2
  60. data/lib/selenium/devtools/{v132 → v136}/background_service.rb +2 -2
  61. data/lib/selenium/devtools/{v132 → v136}/bluetooth_emulation.rb +46 -3
  62. data/lib/selenium/devtools/{v132 → v136}/browser.rb +10 -2
  63. data/lib/selenium/devtools/{v133 → v136}/cache_storage.rb +2 -2
  64. data/lib/selenium/devtools/{v132 → v136}/cast.rb +2 -2
  65. data/lib/selenium/devtools/{v133 → v136}/console.rb +2 -2
  66. data/lib/selenium/devtools/{v132 → v136}/css.rb +31 -4
  67. data/lib/selenium/devtools/{v132 → v136}/debugger.rb +2 -2
  68. data/lib/selenium/devtools/{v132 → v136}/device_access.rb +2 -2
  69. data/lib/selenium/devtools/{v133 → v136}/device_orientation.rb +2 -2
  70. data/lib/selenium/devtools/{v132 → v136}/dom.rb +2 -2
  71. data/lib/selenium/devtools/{v133 → v136}/dom_debugger.rb +2 -2
  72. data/lib/selenium/devtools/{v133 → v136}/dom_snapshot.rb +2 -2
  73. data/lib/selenium/devtools/{v133 → v136}/dom_storage.rb +2 -2
  74. data/lib/selenium/devtools/{v132 → v136}/emulation.rb +16 -2
  75. data/lib/selenium/devtools/{v133 → v136}/event_breakpoints.rb +2 -2
  76. data/lib/selenium/devtools/{v132 → v136}/extensions.rb +7 -2
  77. data/lib/selenium/devtools/{v132 → v136}/fed_cm.rb +2 -2
  78. data/lib/selenium/devtools/{v133 → v136}/fetch.rb +2 -2
  79. data/lib/selenium/devtools/{v132 → v136}/file_system.rb +2 -2
  80. data/lib/selenium/devtools/{v133 → v136}/headless_experimental.rb +2 -2
  81. data/lib/selenium/devtools/{v132 → v136}/heap_profiler.rb +2 -2
  82. data/lib/selenium/devtools/{v133 → v136}/indexed_db.rb +2 -2
  83. data/lib/selenium/devtools/{v132 → v136}/input.rb +2 -2
  84. data/lib/selenium/devtools/{v132 → v136}/inspector.rb +2 -2
  85. data/lib/selenium/devtools/{v132 → v136}/io.rb +2 -2
  86. data/lib/selenium/devtools/{v132 → v136}/layer_tree.rb +2 -2
  87. data/lib/selenium/devtools/{v133 → v136}/log.rb +2 -2
  88. data/lib/selenium/devtools/{v133 → v136}/media.rb +2 -2
  89. data/lib/selenium/devtools/{v132 → v136}/memory.rb +2 -2
  90. data/lib/selenium/devtools/{v132 → v136}/network.rb +13 -2
  91. data/lib/selenium/devtools/{v133 → v136}/overlay.rb +2 -2
  92. data/lib/selenium/devtools/{v133 → v136}/page.rb +9 -6
  93. data/lib/selenium/devtools/{v133 → v136}/performance.rb +2 -2
  94. data/lib/selenium/devtools/{v132 → v136}/performance_timeline.rb +2 -2
  95. data/lib/selenium/devtools/{v133 → v136}/preload.rb +2 -2
  96. data/lib/selenium/devtools/{v133 → v136}/profiler.rb +2 -2
  97. data/lib/selenium/devtools/{v132 → v136}/pwa.rb +2 -2
  98. data/lib/selenium/devtools/{v133 → v136}/runtime.rb +2 -2
  99. data/lib/selenium/devtools/{v132 → v136}/schema.rb +2 -2
  100. data/lib/selenium/devtools/{v132 → v136}/security.rb +2 -2
  101. data/lib/selenium/devtools/{v133 → v136}/service_worker.rb +2 -2
  102. data/lib/selenium/devtools/{v132 → v136}/storage.rb +8 -2
  103. data/lib/selenium/devtools/{v133 → v136}/system_info.rb +2 -2
  104. data/lib/selenium/devtools/{v132 → v136}/target.rb +9 -5
  105. data/lib/selenium/devtools/{v132 → v136}/tethering.rb +2 -2
  106. data/lib/selenium/devtools/{v133 → v136}/tracing.rb +2 -2
  107. data/lib/selenium/devtools/{v133 → v136}/web_audio.rb +2 -2
  108. data/lib/selenium/devtools/{v133 → v136}/web_authn.rb +2 -2
  109. data/lib/selenium/devtools/{v133.rb → v136.rb} +3 -4
  110. data/lib/selenium/devtools/version.rb +1 -1
  111. metadata +110 -112
  112. data/lib/selenium/devtools/v132/database.rb +0 -60
  113. data/lib/selenium/devtools/v133/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 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 V133
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 # V133
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 V133
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 # V133
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 V133
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 # V133
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 V133
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 # V133
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 V133
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 # V133
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 V133
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,13 +80,14 @@ module Selenium
79
80
  @devtools.send_cmd('Target.getBrowserContexts')
80
81
  end
81
82
 
82
- def create_target(url:, left: nil, top: nil, 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,
85
86
  left: left,
86
87
  top: top,
87
88
  width: width,
88
89
  height: height,
90
+ windowState: window_state,
89
91
  browserContextId: browser_context_id,
90
92
  enableBeginFrameControl: enable_begin_frame_control,
91
93
  newWindow: new_window,
@@ -148,6 +150,6 @@ module Selenium
148
150
  end
149
151
 
150
152
  end # Target
151
- end # V133
153
+ end # V135
152
154
  end # DevTools
153
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 V133
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 # V133
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
@@ -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 V136
24
24
  class Accessibility
25
25
  EVENTS = {
26
26
  load_complete: 'loadComplete',
@@ -86,6 +86,6 @@ module Selenium
86
86
  end
87
87
 
88
88
  end # Accessibility
89
- end # V132
89
+ end # V136
90
90
  end # DevTools
91
91
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V132
23
+ module V136
24
24
  class Animation
25
25
  EVENTS = {
26
26
  animation_canceled: 'animationCanceled',
@@ -90,6 +90,6 @@ module Selenium
90
90
  end
91
91
 
92
92
  end # Animation
93
- end # V132
93
+ end # V136
94
94
  end # DevTools
95
95
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V132
23
+ module V136
24
24
  class Audits
25
25
  EVENTS = {
26
26
  issue_added: 'issueAdded',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # Audits
64
- end # V132
64
+ end # V136
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 V133
23
+ module V136
24
24
  class Autofill
25
25
  EVENTS = {
26
26
  address_form_filled: 'addressFormFilled',
@@ -56,6 +56,6 @@ module Selenium
56
56
  end
57
57
 
58
58
  end # Autofill
59
- end # V133
59
+ end # V136
60
60
  end # DevTools
61
61
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V132
23
+ module V136
24
24
  class BackgroundService
25
25
  EVENTS = {
26
26
  recording_state_changed: 'recordingStateChanged',
@@ -58,6 +58,6 @@ module Selenium
58
58
  end
59
59
 
60
60
  end # BackgroundService
61
- end # V132
61
+ end # V136
62
62
  end # DevTools
63
63
  end # Selenium
@@ -20,8 +20,11 @@
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 V136
24
24
  class BluetoothEmulation
25
+ EVENTS = {
26
+ gatt_operation_received: 'gattOperationReceived',
27
+ }.freeze
25
28
 
26
29
  def initialize(devtools)
27
30
  @devtools = devtools
@@ -32,8 +35,14 @@ module Selenium
32
35
  @devtools.callbacks["BluetoothEmulation.#{event}"] << block
33
36
  end
34
37
 
35
- def enable(state:)
38
+ def enable(state:, le_supported:)
36
39
  @devtools.send_cmd('BluetoothEmulation.enable',
40
+ state: state,
41
+ leSupported: le_supported)
42
+ end
43
+
44
+ def set_simulated_central_state(state:)
45
+ @devtools.send_cmd('BluetoothEmulation.setSimulatedCentralState',
37
46
  state: state)
38
47
  end
39
48
 
@@ -54,7 +63,41 @@ module Selenium
54
63
  entry: entry)
55
64
  end
56
65
 
66
+ def simulate_gatt_operation_response(address:, type:, code:)
67
+ @devtools.send_cmd('BluetoothEmulation.simulateGATTOperationResponse',
68
+ address: address,
69
+ type: type,
70
+ code: code)
71
+ end
72
+
73
+ def add_service(address:, service_uuid:)
74
+ @devtools.send_cmd('BluetoothEmulation.addService',
75
+ address: address,
76
+ serviceUuid: service_uuid)
77
+ end
78
+
79
+ def remove_service(address:, service_id:)
80
+ @devtools.send_cmd('BluetoothEmulation.removeService',
81
+ address: address,
82
+ serviceId: service_id)
83
+ end
84
+
85
+ def add_characteristic(address:, service_id:, characteristic_uuid:, properties:)
86
+ @devtools.send_cmd('BluetoothEmulation.addCharacteristic',
87
+ address: address,
88
+ serviceId: service_id,
89
+ characteristicUuid: characteristic_uuid,
90
+ properties: properties)
91
+ end
92
+
93
+ def remove_characteristic(address:, service_id:, characteristic_id:)
94
+ @devtools.send_cmd('BluetoothEmulation.removeCharacteristic',
95
+ address: address,
96
+ serviceId: service_id,
97
+ characteristicId: characteristic_id)
98
+ end
99
+
57
100
  end # BluetoothEmulation
58
- end # V132
101
+ end # V136
59
102
  end # DevTools
60
103
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V132
23
+ module V136
24
24
  class Browser
25
25
  EVENTS = {
26
26
  download_will_begin: 'downloadWillBegin',
@@ -134,7 +134,15 @@ module Selenium
134
134
  url: url)
135
135
  end
136
136
 
137
+ def add_privacy_sandbox_coordinator_key_config(api:, coordinator_origin:, key_config:, browser_context_id: nil)
138
+ @devtools.send_cmd('Browser.addPrivacySandboxCoordinatorKeyConfig',
139
+ api: api,
140
+ coordinatorOrigin: coordinator_origin,
141
+ keyConfig: key_config,
142
+ browserContextId: browser_context_id)
143
+ end
144
+
137
145
  end # Browser
138
- end # V132
146
+ end # V136
139
147
  end # DevTools
140
148
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V133
23
+ module V136
24
24
  class CacheStorage
25
25
 
26
26
  def initialize(devtools)
@@ -66,6 +66,6 @@ module Selenium
66
66
  end
67
67
 
68
68
  end # CacheStorage
69
- end # V133
69
+ end # V136
70
70
  end # DevTools
71
71
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V132
23
+ module V136
24
24
  class Cast
25
25
  EVENTS = {
26
26
  sinks_updated: 'sinksUpdated',
@@ -66,6 +66,6 @@ module Selenium
66
66
  end
67
67
 
68
68
  end # Cast
69
- end # V132
69
+ end # V136
70
70
  end # DevTools
71
71
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V133
23
+ module V136
24
24
  class Console
25
25
  EVENTS = {
26
26
  message_added: 'messageAdded',
@@ -48,6 +48,6 @@ module Selenium
48
48
  end
49
49
 
50
50
  end # Console
51
- end # V133
51
+ end # V136
52
52
  end # DevTools
53
53
  end # Selenium