selenium-devtools 0.91.1 → 0.92.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/v92.rb +1 -0
  3. data/lib/selenium/devtools/{v89 → v92}/accessibility.rb +2 -2
  4. data/lib/selenium/devtools/{v88 → v92}/animation.rb +2 -2
  5. data/lib/selenium/devtools/{v89 → v92}/application_cache.rb +2 -2
  6. data/lib/selenium/devtools/{v88 → v92}/audits.rb +7 -2
  7. data/lib/selenium/devtools/{v88 → v92}/background_service.rb +2 -2
  8. data/lib/selenium/devtools/{v88 → v92}/browser.rb +15 -4
  9. data/lib/selenium/devtools/{v88 → v92}/cache_storage.rb +2 -2
  10. data/lib/selenium/devtools/{v89 → v92}/cast.rb +2 -2
  11. data/lib/selenium/devtools/{v89 → v92}/console.rb +2 -2
  12. data/lib/selenium/devtools/{v88 → v92}/css.rb +2 -2
  13. data/lib/selenium/devtools/{v89 → v92}/database.rb +2 -2
  14. data/lib/selenium/devtools/{v89 → v92}/debugger.rb +2 -2
  15. data/lib/selenium/devtools/{v89 → v92}/device_orientation.rb +2 -2
  16. data/lib/selenium/devtools/{v89 → v92}/dom.rb +2 -2
  17. data/lib/selenium/devtools/{v89 → v92}/dom_debugger.rb +2 -2
  18. data/lib/selenium/devtools/{v88 → v92}/dom_snapshot.rb +6 -4
  19. data/lib/selenium/devtools/{v88 → v92}/dom_storage.rb +2 -2
  20. data/lib/selenium/devtools/{v89 → v92}/emulation.rb +2 -2
  21. data/lib/selenium/devtools/{v89 → v92}/fetch.rb +2 -2
  22. data/lib/selenium/devtools/{v89 → v92}/headless_experimental.rb +2 -2
  23. data/lib/selenium/devtools/{v89 → v92}/heap_profiler.rb +8 -6
  24. data/lib/selenium/devtools/{v88 → v92}/indexed_db.rb +2 -2
  25. data/lib/selenium/devtools/{v88 → v92}/input.rb +19 -2
  26. data/lib/selenium/devtools/{v88 → v92}/inspector.rb +2 -2
  27. data/lib/selenium/devtools/{v88 → v92}/io.rb +2 -2
  28. data/lib/selenium/devtools/{v88 → v92}/layer_tree.rb +2 -2
  29. data/lib/selenium/devtools/{v88 → v92}/log.rb +2 -2
  30. data/lib/selenium/devtools/{v89 → v92}/media.rb +2 -2
  31. data/lib/selenium/devtools/{v88 → v92}/memory.rb +2 -2
  32. data/lib/selenium/devtools/{v89 → v92}/network.rb +17 -4
  33. data/lib/selenium/devtools/{v89 → v92}/overlay.rb +12 -2
  34. data/lib/selenium/devtools/{v89 → v92}/page.rb +16 -4
  35. data/lib/selenium/devtools/{v89 → v92}/performance.rb +2 -2
  36. data/lib/selenium/devtools/{v89 → v92}/performance_timeline.rb +2 -2
  37. data/lib/selenium/devtools/{v89 → v92}/profiler.rb +2 -2
  38. data/lib/selenium/devtools/{v89 → v92}/runtime.rb +2 -2
  39. data/lib/selenium/devtools/{v88 → v92}/schema.rb +2 -2
  40. data/lib/selenium/devtools/{v88 → v92}/security.rb +2 -2
  41. data/lib/selenium/devtools/{v89 → v92}/service_worker.rb +2 -2
  42. data/lib/selenium/devtools/{v88 → v92}/storage.rb +11 -2
  43. data/lib/selenium/devtools/{v89 → v92}/system_info.rb +2 -2
  44. data/lib/selenium/devtools/{v88 → v92}/target.rb +2 -2
  45. data/lib/selenium/devtools/{v89 → v92}/tethering.rb +2 -2
  46. data/lib/selenium/devtools/{v89 → v92}/tracing.rb +5 -4
  47. data/lib/selenium/devtools/{v88 → v92}/web_audio.rb +2 -2
  48. data/lib/selenium/devtools/{v88 → v92}/web_authn.rb +2 -2
  49. data/lib/selenium/devtools/version.rb +1 -1
  50. metadata +49 -95
  51. data/lib/selenium/devtools/v88.rb +0 -1
  52. data/lib/selenium/devtools/v88/accessibility.rb +0 -67
  53. data/lib/selenium/devtools/v88/application_cache.rb +0 -60
  54. data/lib/selenium/devtools/v88/cast.rb +0 -66
  55. data/lib/selenium/devtools/v88/console.rb +0 -53
  56. data/lib/selenium/devtools/v88/database.rb +0 -60
  57. data/lib/selenium/devtools/v88/debugger.rb +0 -227
  58. data/lib/selenium/devtools/v88/device_orientation.rb +0 -49
  59. data/lib/selenium/devtools/v88/dom.rb +0 -323
  60. data/lib/selenium/devtools/v88/dom_debugger.rb +0 -89
  61. data/lib/selenium/devtools/v88/emulation.rb +0 -192
  62. data/lib/selenium/devtools/v88/fetch.rb +0 -93
  63. data/lib/selenium/devtools/v88/headless_experimental.rb +0 -57
  64. data/lib/selenium/devtools/v88/heap_profiler.rb +0 -103
  65. data/lib/selenium/devtools/v88/media.rb +0 -53
  66. data/lib/selenium/devtools/v88/network.rb +0 -241
  67. data/lib/selenium/devtools/v88/overlay.rb +0 -177
  68. data/lib/selenium/devtools/v88/page.rb +0 -370
  69. data/lib/selenium/devtools/v88/performance.rb +0 -59
  70. data/lib/selenium/devtools/v88/profiler.rb +0 -119
  71. data/lib/selenium/devtools/v88/runtime.rb +0 -191
  72. data/lib/selenium/devtools/v88/service_worker.rb +0 -112
  73. data/lib/selenium/devtools/v88/system_info.rb +0 -46
  74. data/lib/selenium/devtools/v88/tethering.rb +0 -51
  75. data/lib/selenium/devtools/v88/tracing.rb +0 -73
  76. data/lib/selenium/devtools/v89.rb +0 -1
  77. data/lib/selenium/devtools/v89/animation.rb +0 -94
  78. data/lib/selenium/devtools/v89/audits.rb +0 -57
  79. data/lib/selenium/devtools/v89/background_service.rb +0 -63
  80. data/lib/selenium/devtools/v89/browser.rb +0 -124
  81. data/lib/selenium/devtools/v89/cache_storage.rb +0 -69
  82. data/lib/selenium/devtools/v89/css.rb +0 -175
  83. data/lib/selenium/devtools/v89/dom_snapshot.rb +0 -61
  84. data/lib/selenium/devtools/v89/dom_storage.rb +0 -75
  85. data/lib/selenium/devtools/v89/indexed_db.rb +0 -96
  86. data/lib/selenium/devtools/v89/input.rb +0 -142
  87. data/lib/selenium/devtools/v89/inspector.rb +0 -51
  88. data/lib/selenium/devtools/v89/io.rb +0 -55
  89. data/lib/selenium/devtools/v89/layer_tree.rb +0 -91
  90. data/lib/selenium/devtools/v89/log.rb +0 -62
  91. data/lib/selenium/devtools/v89/memory.rb +0 -82
  92. data/lib/selenium/devtools/v89/schema.rb +0 -42
  93. data/lib/selenium/devtools/v89/security.rb +0 -67
  94. data/lib/selenium/devtools/v89/storage.rb +0 -97
  95. data/lib/selenium/devtools/v89/target.rb +0 -139
  96. data/lib/selenium/devtools/v89/web_audio.rb +0 -66
  97. data/lib/selenium/devtools/v89/web_authn.rb +0 -96
@@ -1,46 +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 V88
24
- class SystemInfo
25
-
26
- def initialize(devtools)
27
- @devtools = devtools
28
- end
29
-
30
- def on(event, &block)
31
- event = EVENTS[event] if event.is_a?(Symbol)
32
- @devtools.callbacks["SystemInfo.#{event}"] << block
33
- end
34
-
35
- def get_info
36
- @devtools.send_cmd('SystemInfo.getInfo')
37
- end
38
-
39
- def get_process_info
40
- @devtools.send_cmd('SystemInfo.getProcessInfo')
41
- end
42
-
43
- end # SystemInfo
44
- end # V88
45
- end # DevTools
46
- end # Selenium
@@ -1,51 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Licensed to the Software Freedom Conservancy (SFC) under one
4
- # or more contributor license agreements. See the NOTICE file
5
- # distributed with this work for additional information
6
- # regarding copyright ownership. The SFC licenses this file
7
- # to you under the Apache License, Version 2.0 (the
8
- # "License"); you may not use this file except in compliance
9
- # with the License. You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing,
14
- # software distributed under the License is distributed on an
15
- # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
- # KIND, either express or implied. See the License for the
17
- # specific language governing permissions and limitations
18
- # under the License.
19
-
20
- # This file is automatically generated. Any changes will be lost!
21
- module Selenium
22
- module DevTools
23
- module V88
24
- class Tethering
25
- EVENTS = {
26
- accepted: 'accepted',
27
- }.freeze
28
-
29
- def initialize(devtools)
30
- @devtools = devtools
31
- end
32
-
33
- def on(event, &block)
34
- event = EVENTS[event] if event.is_a?(Symbol)
35
- @devtools.callbacks["Tethering.#{event}"] << block
36
- end
37
-
38
- def bind(port:)
39
- @devtools.send_cmd('Tethering.bind',
40
- port: port)
41
- end
42
-
43
- def unbind(port:)
44
- @devtools.send_cmd('Tethering.unbind',
45
- port: port)
46
- end
47
-
48
- end # Tethering
49
- end # V88
50
- end # DevTools
51
- end # Selenium
@@ -1,73 +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 V88
24
- class Tracing
25
- EVENTS = {
26
- buffer_usage: 'bufferUsage',
27
- data_collected: 'dataCollected',
28
- tracing_complete: 'tracingComplete',
29
- }.freeze
30
-
31
- def initialize(devtools)
32
- @devtools = devtools
33
- end
34
-
35
- def on(event, &block)
36
- event = EVENTS[event] if event.is_a?(Symbol)
37
- @devtools.callbacks["Tracing.#{event}"] << block
38
- end
39
-
40
- def _end
41
- @devtools.send_cmd('Tracing.end')
42
- end
43
-
44
- def get_categories
45
- @devtools.send_cmd('Tracing.getCategories')
46
- end
47
-
48
- def record_clock_sync_marker(sync_id:)
49
- @devtools.send_cmd('Tracing.recordClockSyncMarker',
50
- syncId: sync_id)
51
- end
52
-
53
- def request_memory_dump(deterministic: nil, level_of_detail: nil)
54
- @devtools.send_cmd('Tracing.requestMemoryDump',
55
- deterministic: deterministic,
56
- levelOfDetail: level_of_detail)
57
- end
58
-
59
- def start(categories: nil, options: nil, buffer_usage_reporting_interval: nil, transfer_mode: nil, stream_format: nil, stream_compression: nil, trace_config: nil)
60
- @devtools.send_cmd('Tracing.start',
61
- categories: categories,
62
- options: options,
63
- bufferUsageReportingInterval: buffer_usage_reporting_interval,
64
- transferMode: transfer_mode,
65
- streamFormat: stream_format,
66
- streamCompression: stream_compression,
67
- traceConfig: trace_config)
68
- end
69
-
70
- end # Tracing
71
- end # V88
72
- end # DevTools
73
- end # Selenium
@@ -1 +0,0 @@
1
- Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v89/*", &method(:require))
@@ -1,94 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Licensed to the Software Freedom Conservancy (SFC) under one
4
- # or more contributor license agreements. See the NOTICE file
5
- # distributed with this work for additional information
6
- # regarding copyright ownership. The SFC licenses this file
7
- # to you under the Apache License, Version 2.0 (the
8
- # "License"); you may not use this file except in compliance
9
- # with the License. You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing,
14
- # software distributed under the License is distributed on an
15
- # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
- # KIND, either express or implied. See the License for the
17
- # specific language governing permissions and limitations
18
- # under the License.
19
-
20
- # This file is automatically generated. Any changes will be lost!
21
- module Selenium
22
- module DevTools
23
- module V89
24
- class Animation
25
- EVENTS = {
26
- animation_canceled: 'animationCanceled',
27
- animation_created: 'animationCreated',
28
- animation_started: 'animationStarted',
29
- }.freeze
30
-
31
- def initialize(devtools)
32
- @devtools = devtools
33
- end
34
-
35
- def on(event, &block)
36
- event = EVENTS[event] if event.is_a?(Symbol)
37
- @devtools.callbacks["Animation.#{event}"] << block
38
- end
39
-
40
- def disable
41
- @devtools.send_cmd('Animation.disable')
42
- end
43
-
44
- def enable
45
- @devtools.send_cmd('Animation.enable')
46
- end
47
-
48
- def get_current_time(id:)
49
- @devtools.send_cmd('Animation.getCurrentTime',
50
- id: id)
51
- end
52
-
53
- def get_playback_rate
54
- @devtools.send_cmd('Animation.getPlaybackRate')
55
- end
56
-
57
- def release_animations(animations:)
58
- @devtools.send_cmd('Animation.releaseAnimations',
59
- animations: animations)
60
- end
61
-
62
- def resolve_animation(animation_id:)
63
- @devtools.send_cmd('Animation.resolveAnimation',
64
- animationId: animation_id)
65
- end
66
-
67
- def seek_animations(animations:, current_time:)
68
- @devtools.send_cmd('Animation.seekAnimations',
69
- animations: animations,
70
- currentTime: current_time)
71
- end
72
-
73
- def set_paused(animations:, paused:)
74
- @devtools.send_cmd('Animation.setPaused',
75
- animations: animations,
76
- paused: paused)
77
- end
78
-
79
- def set_playback_rate(playback_rate:)
80
- @devtools.send_cmd('Animation.setPlaybackRate',
81
- playbackRate: playback_rate)
82
- end
83
-
84
- def set_timing(animation_id:, duration:, delay:)
85
- @devtools.send_cmd('Animation.setTiming',
86
- animationId: animation_id,
87
- duration: duration,
88
- delay: delay)
89
- end
90
-
91
- end # Animation
92
- end # V89
93
- end # DevTools
94
- end # Selenium
@@ -1,57 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Licensed to the Software Freedom Conservancy (SFC) under one
4
- # or more contributor license agreements. See the NOTICE file
5
- # distributed with this work for additional information
6
- # regarding copyright ownership. The SFC licenses this file
7
- # to you under the Apache License, Version 2.0 (the
8
- # "License"); you may not use this file except in compliance
9
- # with the License. You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing,
14
- # software distributed under the License is distributed on an
15
- # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
- # KIND, either express or implied. See the License for the
17
- # specific language governing permissions and limitations
18
- # under the License.
19
-
20
- # This file is automatically generated. Any changes will be lost!
21
- module Selenium
22
- module DevTools
23
- module V89
24
- class Audits
25
- EVENTS = {
26
- issue_added: 'issueAdded',
27
- }.freeze
28
-
29
- def initialize(devtools)
30
- @devtools = devtools
31
- end
32
-
33
- def on(event, &block)
34
- event = EVENTS[event] if event.is_a?(Symbol)
35
- @devtools.callbacks["Audits.#{event}"] << block
36
- end
37
-
38
- def get_encoded_response(request_id:, encoding:, quality: nil, size_only: nil)
39
- @devtools.send_cmd('Audits.getEncodedResponse',
40
- requestId: request_id,
41
- encoding: encoding,
42
- quality: quality,
43
- sizeOnly: size_only)
44
- end
45
-
46
- def disable
47
- @devtools.send_cmd('Audits.disable')
48
- end
49
-
50
- def enable
51
- @devtools.send_cmd('Audits.enable')
52
- end
53
-
54
- end # Audits
55
- end # V89
56
- end # DevTools
57
- end # Selenium
@@ -1,63 +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 V89
24
- class BackgroundService
25
- EVENTS = {
26
- recording_state_changed: 'recordingStateChanged',
27
- background_service_event_received: 'backgroundServiceEventReceived',
28
- }.freeze
29
-
30
- def initialize(devtools)
31
- @devtools = devtools
32
- end
33
-
34
- def on(event, &block)
35
- event = EVENTS[event] if event.is_a?(Symbol)
36
- @devtools.callbacks["BackgroundService.#{event}"] << block
37
- end
38
-
39
- def start_observing(service:)
40
- @devtools.send_cmd('BackgroundService.startObserving',
41
- service: service)
42
- end
43
-
44
- def stop_observing(service:)
45
- @devtools.send_cmd('BackgroundService.stopObserving',
46
- service: service)
47
- end
48
-
49
- def set_recording(should_record:, service:)
50
- @devtools.send_cmd('BackgroundService.setRecording',
51
- shouldRecord: should_record,
52
- service: service)
53
- end
54
-
55
- def clear_events(service:)
56
- @devtools.send_cmd('BackgroundService.clearEvents',
57
- service: service)
58
- end
59
-
60
- end # BackgroundService
61
- end # V89
62
- end # DevTools
63
- end # Selenium
@@ -1,124 +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 V89
24
- class Browser
25
-
26
- def initialize(devtools)
27
- @devtools = devtools
28
- end
29
-
30
- def on(event, &block)
31
- event = EVENTS[event] if event.is_a?(Symbol)
32
- @devtools.callbacks["Browser.#{event}"] << block
33
- end
34
-
35
- def set_permission(permission:, setting:, origin: nil, browser_context_id: nil)
36
- @devtools.send_cmd('Browser.setPermission',
37
- permission: permission,
38
- setting: setting,
39
- origin: origin,
40
- browserContextId: browser_context_id)
41
- end
42
-
43
- def grant_permissions(permissions:, origin: nil, browser_context_id: nil)
44
- @devtools.send_cmd('Browser.grantPermissions',
45
- permissions: permissions,
46
- origin: origin,
47
- browserContextId: browser_context_id)
48
- end
49
-
50
- def reset_permissions(browser_context_id: nil)
51
- @devtools.send_cmd('Browser.resetPermissions',
52
- browserContextId: browser_context_id)
53
- end
54
-
55
- def set_download_behavior(behavior:, browser_context_id: nil, download_path: nil)
56
- @devtools.send_cmd('Browser.setDownloadBehavior',
57
- behavior: behavior,
58
- browserContextId: browser_context_id,
59
- downloadPath: download_path)
60
- end
61
-
62
- def close
63
- @devtools.send_cmd('Browser.close')
64
- end
65
-
66
- def crash
67
- @devtools.send_cmd('Browser.crash')
68
- end
69
-
70
- def crash_gpu_process
71
- @devtools.send_cmd('Browser.crashGpuProcess')
72
- end
73
-
74
- def get_version
75
- @devtools.send_cmd('Browser.getVersion')
76
- end
77
-
78
- def get_browser_command_line
79
- @devtools.send_cmd('Browser.getBrowserCommandLine')
80
- end
81
-
82
- def get_histograms(query: nil, delta: nil)
83
- @devtools.send_cmd('Browser.getHistograms',
84
- query: query,
85
- delta: delta)
86
- end
87
-
88
- def get_histogram(name:, delta: nil)
89
- @devtools.send_cmd('Browser.getHistogram',
90
- name: name,
91
- delta: delta)
92
- end
93
-
94
- def get_window_bounds(window_id:)
95
- @devtools.send_cmd('Browser.getWindowBounds',
96
- windowId: window_id)
97
- end
98
-
99
- def get_window_for_target(target_id: nil)
100
- @devtools.send_cmd('Browser.getWindowForTarget',
101
- targetId: target_id)
102
- end
103
-
104
- def set_window_bounds(window_id:, bounds:)
105
- @devtools.send_cmd('Browser.setWindowBounds',
106
- windowId: window_id,
107
- bounds: bounds)
108
- end
109
-
110
- def set_dock_tile(badge_label: nil, image: nil)
111
- @devtools.send_cmd('Browser.setDockTile',
112
- badgeLabel: badge_label,
113
- image: image)
114
- end
115
-
116
- def execute_browser_command(command_id:)
117
- @devtools.send_cmd('Browser.executeBrowserCommand',
118
- commandId: command_id)
119
- end
120
-
121
- end # Browser
122
- end # V89
123
- end # DevTools
124
- end # Selenium