selenium-devtools 0.123.0 → 0.125.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v122 → v124}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v122 → v124}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v122 → v124}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v121 → v124}/autofill.rb +2 -2
  6. data/lib/selenium/devtools/{v122 → v124}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/{v122 → v124}/browser.rb +2 -2
  8. data/lib/selenium/devtools/{v122 → v124}/cache_storage.rb +2 -2
  9. data/lib/selenium/devtools/{v122 → v124}/cast.rb +2 -2
  10. data/lib/selenium/devtools/{v122 → v124}/console.rb +2 -2
  11. data/lib/selenium/devtools/{v122 → v124}/css.rb +8 -2
  12. data/lib/selenium/devtools/{v121 → v124}/database.rb +2 -2
  13. data/lib/selenium/devtools/{v121 → v124}/debugger.rb +2 -2
  14. data/lib/selenium/devtools/{v122 → v124}/device_access.rb +2 -2
  15. data/lib/selenium/devtools/{v122 → v124}/device_orientation.rb +2 -2
  16. data/lib/selenium/devtools/{v122 → v124}/dom.rb +2 -2
  17. data/lib/selenium/devtools/{v121 → v124}/dom_debugger.rb +2 -2
  18. data/lib/selenium/devtools/{v121 → v124}/dom_snapshot.rb +2 -2
  19. data/lib/selenium/devtools/{v121 → v124}/dom_storage.rb +2 -2
  20. data/lib/selenium/devtools/{v122 → v124}/emulation.rb +2 -2
  21. data/lib/selenium/devtools/{v121 → v124}/event_breakpoints.rb +2 -2
  22. data/lib/selenium/devtools/{v122 → v124}/fed_cm.rb +2 -2
  23. data/lib/selenium/devtools/{v121 → v124}/fetch.rb +2 -2
  24. data/lib/selenium/devtools/{v121 → v124}/headless_experimental.rb +2 -2
  25. data/lib/selenium/devtools/{v122 → v124}/heap_profiler.rb +2 -2
  26. data/lib/selenium/devtools/{v121 → v124}/indexed_db.rb +2 -2
  27. data/lib/selenium/devtools/{v121 → v124}/input.rb +2 -2
  28. data/lib/selenium/devtools/{v122 → v124}/inspector.rb +2 -2
  29. data/lib/selenium/devtools/{v122 → v124}/io.rb +2 -2
  30. data/lib/selenium/devtools/{v122 → v124}/layer_tree.rb +2 -2
  31. data/lib/selenium/devtools/{v121 → v124}/log.rb +2 -2
  32. data/lib/selenium/devtools/{v121 → v124}/media.rb +2 -2
  33. data/lib/selenium/devtools/{v122 → v124}/memory.rb +2 -2
  34. data/lib/selenium/devtools/{v122 → v124}/network.rb +10 -6
  35. data/lib/selenium/devtools/{v121 → v124}/overlay.rb +2 -2
  36. data/lib/selenium/devtools/{v121 → v124}/page.rb +2 -2
  37. data/lib/selenium/devtools/{v121 → v124}/performance.rb +2 -2
  38. data/lib/selenium/devtools/{v122 → v124}/performance_timeline.rb +2 -2
  39. data/lib/selenium/devtools/{v121 → v124}/preload.rb +2 -2
  40. data/lib/selenium/devtools/{v121 → v124}/profiler.rb +2 -2
  41. data/lib/selenium/devtools/{v122 → v124}/runtime.rb +2 -2
  42. data/lib/selenium/devtools/{v121 → v124}/schema.rb +2 -2
  43. data/lib/selenium/devtools/{v122 → v124}/security.rb +2 -2
  44. data/lib/selenium/devtools/{v121 → v124}/service_worker.rb +2 -2
  45. data/lib/selenium/devtools/{v122 → v124}/storage.rb +7 -2
  46. data/lib/selenium/devtools/{v121 → v124}/system_info.rb +2 -2
  47. data/lib/selenium/devtools/{v121 → v124}/target.rb +2 -2
  48. data/lib/selenium/devtools/{v121 → v124}/tethering.rb +2 -2
  49. data/lib/selenium/devtools/{v121 → v124}/tracing.rb +2 -2
  50. data/lib/selenium/devtools/{v121 → v124}/web_audio.rb +2 -2
  51. data/lib/selenium/devtools/{v121 → v124}/web_authn.rb +10 -2
  52. data/lib/selenium/devtools/{v121.rb → v124.rb} +3 -3
  53. data/lib/selenium/devtools/{v121 → v125}/accessibility.rb +2 -2
  54. data/lib/selenium/devtools/{v121 → v125}/animation.rb +3 -2
  55. data/lib/selenium/devtools/{v121 → v125}/audits.rb +2 -2
  56. data/lib/selenium/devtools/{v122 → v125}/autofill.rb +2 -2
  57. data/lib/selenium/devtools/{v121 → v125}/background_service.rb +2 -2
  58. data/lib/selenium/devtools/{v121 → v125}/browser.rb +2 -2
  59. data/lib/selenium/devtools/{v121 → v125}/cache_storage.rb +2 -2
  60. data/lib/selenium/devtools/{v121 → v125}/cast.rb +2 -2
  61. data/lib/selenium/devtools/{v121 → v125}/console.rb +2 -2
  62. data/lib/selenium/devtools/{v121 → v125}/css.rb +14 -6
  63. data/lib/selenium/devtools/{v122 → v125}/database.rb +2 -2
  64. data/lib/selenium/devtools/{v122 → v125}/debugger.rb +2 -2
  65. data/lib/selenium/devtools/{v121 → v125}/device_access.rb +2 -2
  66. data/lib/selenium/devtools/{v121 → v125}/device_orientation.rb +2 -2
  67. data/lib/selenium/devtools/{v121 → v125}/dom.rb +2 -2
  68. data/lib/selenium/devtools/{v122 → v125}/dom_debugger.rb +2 -2
  69. data/lib/selenium/devtools/{v122 → v125}/dom_snapshot.rb +2 -2
  70. data/lib/selenium/devtools/{v122 → v125}/dom_storage.rb +2 -2
  71. data/lib/selenium/devtools/{v121 → v125}/emulation.rb +11 -2
  72. data/lib/selenium/devtools/{v122 → v125}/event_breakpoints.rb +2 -2
  73. data/lib/selenium/devtools/{v121 → v125}/fed_cm.rb +9 -2
  74. data/lib/selenium/devtools/{v122 → v125}/fetch.rb +2 -2
  75. data/lib/selenium/devtools/{v122 → v125}/headless_experimental.rb +2 -2
  76. data/lib/selenium/devtools/{v121 → v125}/heap_profiler.rb +2 -2
  77. data/lib/selenium/devtools/{v122 → v125}/indexed_db.rb +2 -2
  78. data/lib/selenium/devtools/{v122 → v125}/input.rb +2 -2
  79. data/lib/selenium/devtools/{v121 → v125}/inspector.rb +2 -2
  80. data/lib/selenium/devtools/{v121 → v125}/io.rb +2 -2
  81. data/lib/selenium/devtools/{v121 → v125}/layer_tree.rb +2 -2
  82. data/lib/selenium/devtools/{v122 → v125}/log.rb +2 -2
  83. data/lib/selenium/devtools/{v122 → v125}/media.rb +2 -2
  84. data/lib/selenium/devtools/{v121 → v125}/memory.rb +2 -2
  85. data/lib/selenium/devtools/{v121 → v125}/network.rb +16 -6
  86. data/lib/selenium/devtools/{v122 → v125}/overlay.rb +2 -2
  87. data/lib/selenium/devtools/{v122 → v125}/page.rb +5 -4
  88. data/lib/selenium/devtools/{v122 → v125}/performance.rb +2 -2
  89. data/lib/selenium/devtools/{v121 → v125}/performance_timeline.rb +2 -2
  90. data/lib/selenium/devtools/{v122 → v125}/preload.rb +2 -2
  91. data/lib/selenium/devtools/{v122 → v125}/profiler.rb +2 -2
  92. data/lib/selenium/devtools/v125/pwa.rb +43 -0
  93. data/lib/selenium/devtools/{v121 → v125}/runtime.rb +2 -2
  94. data/lib/selenium/devtools/{v122 → v125}/schema.rb +2 -2
  95. data/lib/selenium/devtools/{v121 → v125}/security.rb +2 -2
  96. data/lib/selenium/devtools/{v122 → v125}/service_worker.rb +2 -2
  97. data/lib/selenium/devtools/{v121 → v125}/storage.rb +18 -2
  98. data/lib/selenium/devtools/{v122 → v125}/system_info.rb +2 -2
  99. data/lib/selenium/devtools/{v122 → v125}/target.rb +2 -2
  100. data/lib/selenium/devtools/{v122 → v125}/tethering.rb +2 -2
  101. data/lib/selenium/devtools/{v122 → v125}/tracing.rb +2 -2
  102. data/lib/selenium/devtools/{v122 → v125}/web_audio.rb +2 -2
  103. data/lib/selenium/devtools/{v122 → v125}/web_authn.rb +10 -2
  104. data/lib/selenium/devtools/{v122.rb → v125.rb} +4 -3
  105. data/lib/selenium/devtools/version.rb +1 -1
  106. metadata +105 -104
@@ -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 V121
23
+ module V124
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 # V121
57
+ end # V124
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 V122
23
+ module V124
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 # V122
44
+ end # V124
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 V121
23
+ module V124
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 # V121
52
+ end # V124
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 V121
23
+ module V124
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 # V121
81
+ end # V124
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 V122
23
+ module V124
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 # V122
200
+ end # V124
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 V121
23
+ module V124
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 # V121
40
+ end # V124
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 V122
23
+ module V124
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 # V122
65
+ end # V124
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 V121
23
+ module V124
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 # V121
110
+ end # V124
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 V122
23
+ module V124
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -29,6 +29,7 @@ module Selenium
29
29
  indexed_db_list_updated: 'indexedDBListUpdated',
30
30
  interest_group_accessed: 'interestGroupAccessed',
31
31
  interest_group_auction_event_occurred: 'interestGroupAuctionEventOccurred',
32
+ interest_group_auction_network_request_created: 'interestGroupAuctionNetworkRequestCreated',
32
33
  shared_storage_accessed: 'sharedStorageAccessed',
33
34
  storage_bucket_created_or_updated: 'storageBucketCreatedOrUpdated',
34
35
  storage_bucket_deleted: 'storageBucketDeleted',
@@ -218,7 +219,11 @@ module Selenium
218
219
  enable: enable)
219
220
  end
220
221
 
222
+ def get_related_website_sets
223
+ @devtools.send_cmd('Storage.getRelatedWebsiteSets')
224
+ end
225
+
221
226
  end # Storage
222
- end # V122
227
+ end # V124
223
228
  end # DevTools
224
229
  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 V121
23
+ module V124
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 # V121
49
+ end # V124
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 V121
23
+ module V124
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -146,6 +146,6 @@ module Selenium
146
146
  end
147
147
 
148
148
  end # Target
149
- end # V121
149
+ end # V124
150
150
  end # DevTools
151
151
  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 V121
23
+ module V124
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 # V121
49
+ end # V124
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 V121
23
+ module V124
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 # V121
73
+ end # V124
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 V121
23
+ module V124
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 # V121
64
+ end # V124
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 V121
23
+ module V124
24
24
  class WebAuthn
25
25
  EVENTS = {
26
26
  credential_added: 'credentialAdded',
@@ -103,7 +103,15 @@ module Selenium
103
103
  enabled: enabled)
104
104
  end
105
105
 
106
+ def set_credential_properties(authenticator_id:, credential_id:, backup_eligibility: nil, backup_state: nil)
107
+ @devtools.send_cmd('WebAuthn.setCredentialProperties',
108
+ authenticatorId: authenticator_id,
109
+ credentialId: credential_id,
110
+ backupEligibility: backup_eligibility,
111
+ backupState: backup_state)
112
+ end
113
+
106
114
  end # WebAuthn
107
- end # V121
115
+ end # V124
108
116
  end # DevTools
109
117
  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__))}/v121/*", &method(:require))
22
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v124/*", &method(:require))
23
23
 
24
24
  module Selenium
25
25
  module DevTools
26
- module V121
26
+ module V124
27
27
  METHODS_TO_CLASSES = {
28
28
  accessibility: 'Accessibility',
29
29
  animation: 'Animation',
@@ -76,6 +76,6 @@ module Selenium
76
76
  runtime: 'Runtime',
77
77
  schema: 'Schema',
78
78
  }.freeze
79
- end # V121
79
+ end # V124
80
80
  end # DevTools
81
81
  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 V121
23
+ module V125
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 # V121
89
+ end # V125
90
90
  end # DevTools
91
91
  end # Selenium
@@ -20,12 +20,13 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V121
23
+ module V125
24
24
  class Animation
25
25
  EVENTS = {
26
26
  animation_canceled: 'animationCanceled',
27
27
  animation_created: 'animationCreated',
28
28
  animation_started: 'animationStarted',
29
+ animation_updated: 'animationUpdated',
29
30
  }.freeze
30
31
 
31
32
  def initialize(devtools)
@@ -89,6 +90,6 @@ module Selenium
89
90
  end
90
91
 
91
92
  end # Animation
92
- end # V121
93
+ end # V125
93
94
  end # DevTools
94
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 V121
23
+ module V125
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 # V121
64
+ end # V125
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 V122
23
+ module V125
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 # V122
59
+ end # V125
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 V121
23
+ module V125
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 # V121
61
+ end # V125
62
62
  end # DevTools
63
63
  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 V121
23
+ module V125
24
24
  class Browser
25
25
  EVENTS = {
26
26
  download_will_begin: 'downloadWillBegin',
@@ -135,6 +135,6 @@ module Selenium
135
135
  end
136
136
 
137
137
  end # Browser
138
- end # V121
138
+ end # V125
139
139
  end # DevTools
140
140
  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 V121
23
+ module V125
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 # V121
69
+ end # V125
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 V121
23
+ module V125
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 # V121
69
+ end # V125
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 V121
23
+ module V125
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 # V121
51
+ end # V125
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 V121
23
+ module V125
24
24
  class CSS
25
25
  EVENTS = {
26
26
  fonts_updated: 'fontsUpdated',
@@ -39,11 +39,12 @@ module Selenium
39
39
  @devtools.callbacks["CSS.#{event}"] << block
40
40
  end
41
41
 
42
- def add_rule(style_sheet_id:, rule_text:, location:)
42
+ def add_rule(style_sheet_id:, rule_text:, location:, node_for_property_syntax_validation: nil)
43
43
  @devtools.send_cmd('CSS.addRule',
44
44
  styleSheetId: style_sheet_id,
45
45
  ruleText: rule_text,
46
- location: location)
46
+ location: location,
47
+ nodeForPropertySyntaxValidation: node_for_property_syntax_validation)
47
48
  end
48
49
 
49
50
  def collect_class_names(style_sheet_id:)
@@ -109,6 +110,12 @@ module Selenium
109
110
  nodeId: node_id)
110
111
  end
111
112
 
113
+ def get_location_for_selector(style_sheet_id:, selector_text:)
114
+ @devtools.send_cmd('CSS.getLocationForSelector',
115
+ styleSheetId: style_sheet_id,
116
+ selectorText: selector_text)
117
+ end
118
+
112
119
  def track_computed_style_updates(properties_to_track:)
113
120
  @devtools.send_cmd('CSS.trackComputedStyleUpdates',
114
121
  propertiesToTrack: properties_to_track)
@@ -180,9 +187,10 @@ module Selenium
180
187
  text: text)
181
188
  end
182
189
 
183
- def set_style_texts(edits:)
190
+ def set_style_texts(edits:, node_for_property_syntax_validation: nil)
184
191
  @devtools.send_cmd('CSS.setStyleTexts',
185
- edits: edits)
192
+ edits: edits,
193
+ nodeForPropertySyntaxValidation: node_for_property_syntax_validation)
186
194
  end
187
195
 
188
196
  def start_rule_usage_tracking
@@ -203,6 +211,6 @@ module Selenium
203
211
  end
204
212
 
205
213
  end # CSS
206
- end # V121
214
+ end # V125
207
215
  end # DevTools
208
216
  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 V122
23
+ module V125
24
24
  class Database
25
25
  EVENTS = {
26
26
  add_database: 'addDatabase',
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # Database
58
- end # V122
58
+ end # V125
59
59
  end # DevTools
60
60
  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 V122
23
+ module V125
24
24
  class Debugger
25
25
  EVENTS = {
26
26
  breakpoint_resolved: 'breakpointResolved',
@@ -227,6 +227,6 @@ module Selenium
227
227
  end
228
228
 
229
229
  end # Debugger
230
- end # V122
230
+ end # V125
231
231
  end # DevTools
232
232
  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 V121
23
+ module V125
24
24
  class DeviceAccess
25
25
  EVENTS = {
26
26
  device_request_prompted: 'deviceRequestPrompted',
@@ -55,6 +55,6 @@ module Selenium
55
55
  end
56
56
 
57
57
  end # DeviceAccess
58
- end # V121
58
+ end # V125
59
59
  end # DevTools
60
60
  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 V121
23
+ module V125
24
24
  class DeviceOrientation
25
25
 
26
26
  def initialize(devtools)
@@ -44,6 +44,6 @@ module Selenium
44
44
  end
45
45
 
46
46
  end # DeviceOrientation
47
- end # V121
47
+ end # V125
48
48
  end # DevTools
49
49
  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 V121
23
+ module V125
24
24
  class DOM
25
25
  EVENTS = {
26
26
  attribute_modified: 'attributeModified',
@@ -337,6 +337,6 @@ module Selenium
337
337
  end
338
338
 
339
339
  end # DOM
340
- end # V121
340
+ end # V125
341
341
  end # DevTools
342
342
  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 V122
23
+ module V125
24
24
  class DOMDebugger
25
25
 
26
26
  def initialize(devtools)
@@ -89,6 +89,6 @@ module Selenium
89
89
  end
90
90
 
91
91
  end # DOMDebugger
92
- end # V122
92
+ end # V125
93
93
  end # DevTools
94
94
  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 V122
23
+ module V125
24
24
  class DOMSnapshot
25
25
 
26
26
  def initialize(devtools)
@@ -58,6 +58,6 @@ module Selenium
58
58
  end
59
59
 
60
60
  end # DOMSnapshot
61
- end # V122
61
+ end # V125
62
62
  end # DevTools
63
63
  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 V122
23
+ module V125
24
24
  class DOMStorage
25
25
  EVENTS = {
26
26
  dom_storage_item_added: 'domStorageItemAdded',
@@ -70,6 +70,6 @@ module Selenium
70
70
  end
71
71
 
72
72
  end # DOMStorage
73
- end # V122
73
+ end # V125
74
74
  end # DevTools
75
75
  end # Selenium