selenium-devtools 0.139.0 → 0.141.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 (112) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -0
  3. data/lib/selenium/devtools/{v138 → v140}/accessibility.rb +2 -2
  4. data/lib/selenium/devtools/{v138 → v140}/animation.rb +2 -2
  5. data/lib/selenium/devtools/{v138 → v140}/audits.rb +2 -2
  6. data/lib/selenium/devtools/{v137 → v140}/autofill.rb +2 -2
  7. data/lib/selenium/devtools/{v138 → v140}/background_service.rb +2 -2
  8. data/lib/selenium/devtools/{v138 → v140}/bluetooth_emulation.rb +2 -2
  9. data/lib/selenium/devtools/{v138 → v140}/browser.rb +9 -2
  10. data/lib/selenium/devtools/{v138 → v140}/cache_storage.rb +2 -2
  11. data/lib/selenium/devtools/{v138 → v140}/cast.rb +2 -2
  12. data/lib/selenium/devtools/{v137 → v140}/console.rb +2 -2
  13. data/lib/selenium/devtools/{v137 → v140}/css.rb +6 -2
  14. data/lib/selenium/devtools/{v138 → v140}/debugger.rb +2 -2
  15. data/lib/selenium/devtools/{v138 → v140}/device_access.rb +2 -2
  16. data/lib/selenium/devtools/{v138 → v140}/device_orientation.rb +2 -2
  17. data/lib/selenium/devtools/{v138 → v140}/dom.rb +14 -6
  18. data/lib/selenium/devtools/{v137 → v140}/dom_debugger.rb +2 -2
  19. data/lib/selenium/devtools/{v138 → v140}/dom_snapshot.rb +2 -2
  20. data/lib/selenium/devtools/{v137 → v140}/dom_storage.rb +2 -2
  21. data/lib/selenium/devtools/{v138 → v140}/emulation.rb +12 -2
  22. data/lib/selenium/devtools/{v137 → v140}/event_breakpoints.rb +2 -2
  23. data/lib/selenium/devtools/{v138 → v140}/extensions.rb +2 -2
  24. data/lib/selenium/devtools/{v138 → v140}/fed_cm.rb +2 -2
  25. data/lib/selenium/devtools/{v137 → v140}/fetch.rb +2 -2
  26. data/lib/selenium/devtools/{v138 → v140}/file_system.rb +2 -2
  27. data/lib/selenium/devtools/{v138 → v140}/headless_experimental.rb +2 -2
  28. data/lib/selenium/devtools/{v138 → v140}/heap_profiler.rb +2 -2
  29. data/lib/selenium/devtools/{v137 → v140}/indexed_db.rb +2 -2
  30. data/lib/selenium/devtools/{v137 → v140}/input.rb +2 -2
  31. data/lib/selenium/devtools/{v137 → v140}/inspector.rb +2 -2
  32. data/lib/selenium/devtools/{v137 → v140}/io.rb +2 -2
  33. data/lib/selenium/devtools/{v138 → v140}/layer_tree.rb +2 -2
  34. data/lib/selenium/devtools/{v138 → v140}/log.rb +2 -2
  35. data/lib/selenium/devtools/{v138 → v140}/media.rb +2 -2
  36. data/lib/selenium/devtools/{v137 → v140}/memory.rb +2 -2
  37. data/lib/selenium/devtools/{v138 → v140}/network.rb +2 -2
  38. data/lib/selenium/devtools/{v137 → v140}/overlay.rb +2 -2
  39. data/lib/selenium/devtools/{v138 → v140}/page.rb +4 -4
  40. data/lib/selenium/devtools/{v137 → v140}/performance.rb +2 -2
  41. data/lib/selenium/devtools/{v138 → v140}/performance_timeline.rb +2 -2
  42. data/lib/selenium/devtools/{v137 → v140}/preload.rb +2 -2
  43. data/lib/selenium/devtools/{v137 → v140}/profiler.rb +2 -2
  44. data/lib/selenium/devtools/{v138 → v140}/pwa.rb +2 -2
  45. data/lib/selenium/devtools/{v138 → v140}/runtime.rb +2 -2
  46. data/lib/selenium/devtools/{v137 → v140}/schema.rb +2 -2
  47. data/lib/selenium/devtools/{v137 → v140}/security.rb +2 -2
  48. data/lib/selenium/devtools/{v137 → v140}/service_worker.rb +2 -7
  49. data/lib/selenium/devtools/{v138 → v140}/storage.rb +3 -2
  50. data/lib/selenium/devtools/{v137 → v140}/system_info.rb +2 -2
  51. data/lib/selenium/devtools/{v138 → v140}/target.rb +7 -2
  52. data/lib/selenium/devtools/{v137 → v140}/tethering.rb +2 -2
  53. data/lib/selenium/devtools/{v137 → v140}/tracing.rb +2 -2
  54. data/lib/selenium/devtools/{v137 → v140}/web_audio.rb +2 -2
  55. data/lib/selenium/devtools/{v138 → v140}/web_authn.rb +2 -2
  56. data/lib/selenium/devtools/{v137.rb → v140.rb} +3 -3
  57. data/lib/selenium/devtools/{v137 → v141}/accessibility.rb +2 -2
  58. data/lib/selenium/devtools/{v137 → v141}/animation.rb +2 -2
  59. data/lib/selenium/devtools/{v137 → v141}/audits.rb +2 -2
  60. data/lib/selenium/devtools/{v138 → v141}/autofill.rb +2 -2
  61. data/lib/selenium/devtools/{v137 → v141}/background_service.rb +2 -2
  62. data/lib/selenium/devtools/{v137 → v141}/bluetooth_emulation.rb +16 -2
  63. data/lib/selenium/devtools/{v137 → v141}/browser.rb +11 -3
  64. data/lib/selenium/devtools/{v137 → v141}/cache_storage.rb +2 -2
  65. data/lib/selenium/devtools/{v137 → v141}/cast.rb +2 -2
  66. data/lib/selenium/devtools/{v138 → v141}/console.rb +2 -2
  67. data/lib/selenium/devtools/{v138 → v141}/css.rb +6 -2
  68. data/lib/selenium/devtools/{v137 → v141}/debugger.rb +2 -2
  69. data/lib/selenium/devtools/{v137 → v141}/device_access.rb +2 -2
  70. data/lib/selenium/devtools/{v137 → v141}/device_orientation.rb +2 -2
  71. data/lib/selenium/devtools/{v137 → v141}/dom.rb +14 -6
  72. data/lib/selenium/devtools/{v138 → v141}/dom_debugger.rb +2 -2
  73. data/lib/selenium/devtools/{v137 → v141}/dom_snapshot.rb +2 -2
  74. data/lib/selenium/devtools/{v138 → v141}/dom_storage.rb +2 -2
  75. data/lib/selenium/devtools/{v137 → v141}/emulation.rb +42 -2
  76. data/lib/selenium/devtools/{v138 → v141}/event_breakpoints.rb +2 -2
  77. data/lib/selenium/devtools/{v137 → v141}/extensions.rb +2 -2
  78. data/lib/selenium/devtools/{v137 → v141}/fed_cm.rb +2 -2
  79. data/lib/selenium/devtools/{v138 → v141}/fetch.rb +2 -2
  80. data/lib/selenium/devtools/{v137 → v141}/file_system.rb +2 -2
  81. data/lib/selenium/devtools/{v137 → v141}/headless_experimental.rb +2 -2
  82. data/lib/selenium/devtools/{v137 → v141}/heap_profiler.rb +2 -2
  83. data/lib/selenium/devtools/{v138 → v141}/indexed_db.rb +2 -2
  84. data/lib/selenium/devtools/{v138 → v141}/input.rb +2 -2
  85. data/lib/selenium/devtools/{v138 → v141}/inspector.rb +2 -2
  86. data/lib/selenium/devtools/{v138 → v141}/io.rb +2 -2
  87. data/lib/selenium/devtools/{v137 → v141}/layer_tree.rb +2 -2
  88. data/lib/selenium/devtools/{v137 → v141}/log.rb +2 -2
  89. data/lib/selenium/devtools/{v137 → v141}/media.rb +3 -3
  90. data/lib/selenium/devtools/{v138 → v141}/memory.rb +2 -2
  91. data/lib/selenium/devtools/{v137 → v141}/network.rb +16 -5
  92. data/lib/selenium/devtools/{v138 → v141}/overlay.rb +2 -2
  93. data/lib/selenium/devtools/{v137 → v141}/page.rb +4 -4
  94. data/lib/selenium/devtools/{v138 → v141}/performance.rb +2 -2
  95. data/lib/selenium/devtools/{v137 → v141}/performance_timeline.rb +2 -2
  96. data/lib/selenium/devtools/{v138 → v141}/preload.rb +2 -2
  97. data/lib/selenium/devtools/{v138 → v141}/profiler.rb +2 -2
  98. data/lib/selenium/devtools/{v137 → v141}/pwa.rb +2 -2
  99. data/lib/selenium/devtools/{v137 → v141}/runtime.rb +2 -2
  100. data/lib/selenium/devtools/{v138 → v141}/schema.rb +2 -2
  101. data/lib/selenium/devtools/{v138 → v141}/security.rb +2 -2
  102. data/lib/selenium/devtools/{v138 → v141}/service_worker.rb +2 -7
  103. data/lib/selenium/devtools/{v137 → v141}/storage.rb +5 -2
  104. data/lib/selenium/devtools/{v138 → v141}/system_info.rb +2 -2
  105. data/lib/selenium/devtools/{v137 → v141}/target.rb +7 -2
  106. data/lib/selenium/devtools/{v138 → v141}/tethering.rb +2 -2
  107. data/lib/selenium/devtools/{v138 → v141}/tracing.rb +2 -2
  108. data/lib/selenium/devtools/{v138 → v141}/web_audio.rb +2 -2
  109. data/lib/selenium/devtools/{v137 → v141}/web_authn.rb +2 -2
  110. data/lib/selenium/devtools/{v138.rb → v141.rb} +13 -13
  111. data/lib/selenium/devtools/version.rb +1 -1
  112. metadata +110 -110
@@ -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 V138
23
+ module V140
24
24
  class Media
25
25
  EVENTS = {
26
26
  player_properties_changed: 'playerPropertiesChanged',
@@ -48,6 +48,6 @@ module Selenium
48
48
  end
49
49
 
50
50
  end # Media
51
- end # V138
51
+ end # V140
52
52
  end # DevTools
53
53
  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 V137
23
+ module V140
24
24
  class Memory
25
25
 
26
26
  def initialize(devtools)
@@ -81,6 +81,6 @@ module Selenium
81
81
  end
82
82
 
83
83
  end # Memory
84
- end # V137
84
+ end # V140
85
85
  end # DevTools
86
86
  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 V138
23
+ module V140
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -290,6 +290,6 @@ module Selenium
290
290
  end
291
291
 
292
292
  end # Network
293
- end # V138
293
+ end # V140
294
294
  end # DevTools
295
295
  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 V137
23
+ module V140
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 # V137
205
+ end # V140
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 V138
23
+ module V140
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -145,8 +145,8 @@ module Selenium
145
145
  @devtools.send_cmd('Page.getAppId')
146
146
  end
147
147
 
148
- def get_ad_script_ancestry_ids(frame_id:)
149
- @devtools.send_cmd('Page.getAdScriptAncestryIds',
148
+ def get_ad_script_ancestry(frame_id:)
149
+ @devtools.send_cmd('Page.getAdScriptAncestry',
150
150
  frameId: frame_id)
151
151
  end
152
152
 
@@ -409,6 +409,6 @@ module Selenium
409
409
  end
410
410
 
411
411
  end # Page
412
- end # V138
412
+ end # V140
413
413
  end # DevTools
414
414
  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 V137
23
+ module V140
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 # V137
57
+ end # V140
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 V138
23
+ module V140
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 # V138
44
+ end # V140
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 V137
23
+ module V140
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 # V137
52
+ end # V140
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 V137
23
+ module V140
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 # V137
81
+ end # V140
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 V138
23
+ module V140
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 # V138
76
+ end # V140
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 V138
23
+ module V140
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 # V138
200
+ end # V140
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 V137
23
+ module V140
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 # V137
40
+ end # V140
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 V137
23
+ module V140
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 # V137
65
+ end # V140
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 V137
23
+ module V140
24
24
  class ServiceWorker
25
25
  EVENTS = {
26
26
  worker_error_reported: 'workerErrorReported',
@@ -67,11 +67,6 @@ module Selenium
67
67
  @devtools.send_cmd('ServiceWorker.enable')
68
68
  end
69
69
 
70
- def inspect_worker(version_id:)
71
- @devtools.send_cmd('ServiceWorker.inspectWorker',
72
- versionId: version_id)
73
- end
74
-
75
70
  def set_force_update_on_page_load(force_update_on_page_load:)
76
71
  @devtools.send_cmd('ServiceWorker.setForceUpdateOnPageLoad',
77
72
  forceUpdateOnPageLoad: force_update_on_page_load)
@@ -107,6 +102,6 @@ module Selenium
107
102
  end
108
103
 
109
104
  end # ServiceWorker
110
- end # V137
105
+ end # V140
111
106
  end # DevTools
112
107
  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 V138
23
+ module V140
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -37,6 +37,7 @@ module Selenium
37
37
  attribution_reporting_source_registered: 'attributionReportingSourceRegistered',
38
38
  attribution_reporting_trigger_registered: 'attributionReportingTriggerRegistered',
39
39
  attribution_reporting_report_sent: 'attributionReportingReportSent',
40
+ attribution_reporting_verbose_debug_report_sent: 'attributionReportingVerboseDebugReportSent',
40
41
  }.freeze
41
42
 
42
43
  def initialize(devtools)
@@ -243,6 +244,6 @@ module Selenium
243
244
  end
244
245
 
245
246
  end # Storage
246
- end # V138
247
+ end # V140
247
248
  end # DevTools
248
249
  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 V137
23
+ module V140
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 # V137
49
+ end # V140
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 V138
23
+ module V140
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -150,7 +150,12 @@ module Selenium
150
150
  locations: locations)
151
151
  end
152
152
 
153
+ def open_dev_tools(target_id:)
154
+ @devtools.send_cmd('Target.openDevTools',
155
+ targetId: target_id)
156
+ end
157
+
153
158
  end # Target
154
- end # V138
159
+ end # V140
155
160
  end # DevTools
156
161
  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 V137
23
+ module V140
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 # V137
49
+ end # V140
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 V137
23
+ module V140
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 # V137
73
+ end # V140
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 V137
23
+ module V140
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 # V137
64
+ end # V140
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 V138
23
+ module V140
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 # V138
117
+ end # V140
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__))}/v137/*", &method(:require))
22
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v140/*", &method(:require))
23
23
 
24
24
  module Selenium
25
25
  module DevTools
26
- module V137
26
+ module V140
27
27
  METHODS_TO_CLASSES = {
28
28
  accessibility: 'Accessibility',
29
29
  animation: 'Animation',
@@ -79,6 +79,6 @@ module Selenium
79
79
  runtime: 'Runtime',
80
80
  schema: 'Schema',
81
81
  }.freeze
82
- end # V137
82
+ end # V140
83
83
  end # DevTools
84
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 V137
23
+ module V141
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 # V137
89
+ end # V141
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 V137
23
+ module V141
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 # V137
93
+ end # V141
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 V137
23
+ module V141
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 # V137
64
+ end # V141
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 V138
23
+ module V141
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 # V138
59
+ end # V141
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 V137
23
+ module V141
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 # V137
61
+ end # V141
62
62
  end # DevTools
63
63
  end # Selenium
@@ -20,11 +20,12 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V137
23
+ module V141
24
24
  class BluetoothEmulation
25
25
  EVENTS = {
26
26
  gatt_operation_received: 'gattOperationReceived',
27
27
  characteristic_operation_received: 'characteristicOperationReceived',
28
+ descriptor_operation_received: 'descriptorOperationReceived',
28
29
  }.freeze
29
30
 
30
31
  def initialize(devtools)
@@ -79,6 +80,14 @@ module Selenium
79
80
  data: data)
80
81
  end
81
82
 
83
+ def simulate_descriptor_operation_response(descriptor_id:, type:, code:, data: nil)
84
+ @devtools.send_cmd('BluetoothEmulation.simulateDescriptorOperationResponse',
85
+ descriptorId: descriptor_id,
86
+ type: type,
87
+ code: code,
88
+ data: data)
89
+ end
90
+
82
91
  def add_service(address:, service_uuid:)
83
92
  @devtools.send_cmd('BluetoothEmulation.addService',
84
93
  address: address,
@@ -113,7 +122,12 @@ module Selenium
113
122
  descriptorId: descriptor_id)
114
123
  end
115
124
 
125
+ def simulate_gatt_disconnection(address:)
126
+ @devtools.send_cmd('BluetoothEmulation.simulateGATTDisconnection',
127
+ address: address)
128
+ end
129
+
116
130
  end # BluetoothEmulation
117
- end # V137
131
+ end # V141
118
132
  end # DevTools
119
133
  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 V137
23
+ module V141
24
24
  class Browser
25
25
  EVENTS = {
26
26
  download_will_begin: 'downloadWillBegin',
@@ -36,11 +36,12 @@ module Selenium
36
36
  @devtools.callbacks["Browser.#{event}"] << block
37
37
  end
38
38
 
39
- def set_permission(permission:, setting:, origin: nil, browser_context_id: nil)
39
+ def set_permission(permission:, setting:, origin: nil, embedding_origin: nil, browser_context_id: nil)
40
40
  @devtools.send_cmd('Browser.setPermission',
41
41
  permission: permission,
42
42
  setting: setting,
43
43
  origin: origin,
44
+ embeddingOrigin: embedding_origin,
44
45
  browserContextId: browser_context_id)
45
46
  end
46
47
 
@@ -118,6 +119,13 @@ module Selenium
118
119
  bounds: bounds)
119
120
  end
120
121
 
122
+ def set_contents_size(window_id:, width: nil, height: nil)
123
+ @devtools.send_cmd('Browser.setContentsSize',
124
+ windowId: window_id,
125
+ width: width,
126
+ height: height)
127
+ end
128
+
121
129
  def set_dock_tile(badge_label: nil, image: nil)
122
130
  @devtools.send_cmd('Browser.setDockTile',
123
131
  badgeLabel: badge_label,
@@ -143,6 +151,6 @@ module Selenium
143
151
  end
144
152
 
145
153
  end # Browser
146
- end # V137
154
+ end # V141
147
155
  end # DevTools
148
156
  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 V137
23
+ module V141
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 # V137
69
+ end # V141
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 V137
23
+ module V141
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 # V137
69
+ end # V141
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 V138
23
+ module V141
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 # V138
51
+ end # V141
52
52
  end # DevTools
53
53
  end # Selenium