@bctrl/sdk 1.0.1 → 1.0.3

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 (277) hide show
  1. package/README.md +28 -29
  2. package/dist/bctrl.d.ts +22 -36
  3. package/dist/bctrl.js +40 -75
  4. package/dist/errors.d.ts +49 -43
  5. package/dist/errors.js +83 -120
  6. package/dist/files.d.ts +31 -0
  7. package/dist/files.js +97 -0
  8. package/dist/http.d.ts +18 -0
  9. package/dist/http.js +135 -0
  10. package/dist/index.d.ts +9 -12
  11. package/dist/index.js +7 -23
  12. package/dist/invocations.d.ts +86 -0
  13. package/dist/invocations.js +159 -0
  14. package/dist/pagination.d.ts +2 -0
  15. package/dist/pagination.js +13 -0
  16. package/dist/runs.d.ts +40 -0
  17. package/dist/runs.js +105 -0
  18. package/dist/runtimes.d.ts +69 -0
  19. package/dist/runtimes.js +202 -0
  20. package/dist/spaces.d.ts +40 -0
  21. package/dist/spaces.js +96 -0
  22. package/dist/types.d.ts +413 -0
  23. package/dist/types.js +1 -0
  24. package/dist/utils.d.ts +4 -0
  25. package/dist/utils.js +27 -0
  26. package/dist/version.js +2 -2
  27. package/package.json +4 -21
  28. package/dist/agents/browser-use/index.d.ts +0 -1
  29. package/dist/agents/browser-use/index.js +0 -9
  30. package/dist/agents/browser-use/namespace.d.ts +0 -39
  31. package/dist/agents/browser-use/namespace.js +0 -93
  32. package/dist/agents/index.d.ts +0 -2
  33. package/dist/agents/index.js +0 -17
  34. package/dist/agents/stagehand/core.d.ts +0 -93
  35. package/dist/agents/stagehand/core.js +0 -144
  36. package/dist/agents/stagehand/index.d.ts +0 -3
  37. package/dist/agents/stagehand/index.js +0 -24
  38. package/dist/agents/stagehand/namespace.d.ts +0 -51
  39. package/dist/agents/stagehand/namespace.js +0 -65
  40. package/dist/ai-credentials/client.d.ts +0 -12
  41. package/dist/ai-credentials/client.js +0 -70
  42. package/dist/ai-credentials/index.d.ts +0 -1
  43. package/dist/ai-credentials/index.js +0 -1
  44. package/dist/base/event-binding.d.ts +0 -7
  45. package/dist/base/event-binding.js +0 -23
  46. package/dist/base/types.d.ts +0 -109
  47. package/dist/base/types.js +0 -4
  48. package/dist/browser-extensions/client.d.ts +0 -15
  49. package/dist/browser-extensions/client.js +0 -72
  50. package/dist/browser-extensions/index.d.ts +0 -2
  51. package/dist/browser-extensions/index.js +0 -1
  52. package/dist/browser-profiles/client.d.ts +0 -11
  53. package/dist/browser-profiles/client.js +0 -63
  54. package/dist/browser-profiles/index.d.ts +0 -1
  55. package/dist/browser-profiles/index.js +0 -1
  56. package/dist/captcha/index.d.ts +0 -1
  57. package/dist/captcha/index.js +0 -1
  58. package/dist/captcha/namespace.d.ts +0 -34
  59. package/dist/captcha/namespace.js +0 -41
  60. package/dist/client/index.d.ts +0 -1
  61. package/dist/client/index.js +0 -1
  62. package/dist/client/rpc.d.ts +0 -83
  63. package/dist/client/rpc.js +0 -354
  64. package/dist/config.d.ts +0 -5
  65. package/dist/config.js +0 -28
  66. package/dist/constants/browser.d.ts +0 -2
  67. package/dist/constants/browser.js +0 -1
  68. package/dist/contracts/agent-tools.d.ts +0 -45
  69. package/dist/contracts/agent-tools.js +0 -31
  70. package/dist/contracts/automation.d.ts +0 -265
  71. package/dist/contracts/automation.js +0 -109
  72. package/dist/contracts/browser-management.d.ts +0 -179
  73. package/dist/contracts/browser-management.js +0 -95
  74. package/dist/contracts/browser-use.d.ts +0 -136
  75. package/dist/contracts/browser-use.js +0 -93
  76. package/dist/contracts/captcha.d.ts +0 -114
  77. package/dist/contracts/captcha.js +0 -40
  78. package/dist/contracts/desktop.d.ts +0 -223
  79. package/dist/contracts/desktop.js +0 -121
  80. package/dist/contracts/drivers/playwright.d.ts +0 -2008
  81. package/dist/contracts/drivers/playwright.js +0 -2033
  82. package/dist/contracts/drivers/puppeteer.d.ts +0 -1221
  83. package/dist/contracts/drivers/puppeteer.js +0 -941
  84. package/dist/contracts/drivers/selenium.d.ts +0 -156
  85. package/dist/contracts/drivers/selenium.js +0 -61
  86. package/dist/contracts/drivers/stagehand.d.ts +0 -155
  87. package/dist/contracts/drivers/stagehand.js +0 -7
  88. package/dist/contracts/extensions.d.ts +0 -13
  89. package/dist/contracts/extensions.js +0 -9
  90. package/dist/contracts/index.d.ts +0 -13
  91. package/dist/contracts/index.js +0 -13
  92. package/dist/contracts/public-api.d.ts +0 -360
  93. package/dist/contracts/public-api.js +0 -17
  94. package/dist/contracts/runtime.d.ts +0 -81
  95. package/dist/contracts/runtime.js +0 -16
  96. package/dist/contracts/stagehand.d.ts +0 -253
  97. package/dist/contracts/stagehand.js +0 -145
  98. package/dist/contracts/storage.d.ts +0 -51
  99. package/dist/contracts/storage.js +0 -56
  100. package/dist/contracts/vault.d.ts +0 -119
  101. package/dist/contracts/vault.js +0 -112
  102. package/dist/contracts/version.d.ts +0 -3
  103. package/dist/contracts/version.js +0 -16
  104. package/dist/desktop.d.ts +0 -2
  105. package/dist/desktop.js +0 -3
  106. package/dist/drivers/desktop/index.d.ts +0 -65
  107. package/dist/drivers/desktop/index.js +0 -68
  108. package/dist/drivers/desktop/session.d.ts +0 -313
  109. package/dist/drivers/desktop/session.js +0 -432
  110. package/dist/drivers/playwright/event-emitter.d.ts +0 -160
  111. package/dist/drivers/playwright/event-emitter.js +0 -297
  112. package/dist/drivers/playwright/generated/api-request-context.d.ts +0 -137
  113. package/dist/drivers/playwright/generated/api-request-context.js +0 -154
  114. package/dist/drivers/playwright/generated/api-response.d.ts +0 -119
  115. package/dist/drivers/playwright/generated/api-response.js +0 -123
  116. package/dist/drivers/playwright/generated/browser-context.d.ts +0 -284
  117. package/dist/drivers/playwright/generated/browser-context.js +0 -458
  118. package/dist/drivers/playwright/generated/browser.d.ts +0 -120
  119. package/dist/drivers/playwright/generated/browser.js +0 -151
  120. package/dist/drivers/playwright/generated/clock.d.ts +0 -80
  121. package/dist/drivers/playwright/generated/clock.js +0 -94
  122. package/dist/drivers/playwright/generated/console-message.d.ts +0 -94
  123. package/dist/drivers/playwright/generated/console-message.js +0 -89
  124. package/dist/drivers/playwright/generated/coverage.d.ts +0 -57
  125. package/dist/drivers/playwright/generated/coverage.js +0 -66
  126. package/dist/drivers/playwright/generated/dialog.d.ts +0 -79
  127. package/dist/drivers/playwright/generated/dialog.js +0 -80
  128. package/dist/drivers/playwright/generated/element-handle.d.ts +0 -399
  129. package/dist/drivers/playwright/generated/element-handle.js +0 -501
  130. package/dist/drivers/playwright/generated/frame-locator.d.ts +0 -34
  131. package/dist/drivers/playwright/generated/frame-locator.js +0 -63
  132. package/dist/drivers/playwright/generated/frame.d.ts +0 -557
  133. package/dist/drivers/playwright/generated/frame.js +0 -634
  134. package/dist/drivers/playwright/generated/js-handle.d.ts +0 -72
  135. package/dist/drivers/playwright/generated/js-handle.js +0 -92
  136. package/dist/drivers/playwright/generated/keyboard.d.ts +0 -103
  137. package/dist/drivers/playwright/generated/keyboard.js +0 -113
  138. package/dist/drivers/playwright/generated/locator.d.ts +0 -795
  139. package/dist/drivers/playwright/generated/locator.js +0 -974
  140. package/dist/drivers/playwright/generated/mouse.d.ts +0 -97
  141. package/dist/drivers/playwright/generated/mouse.js +0 -109
  142. package/dist/drivers/playwright/generated/page.d.ts +0 -762
  143. package/dist/drivers/playwright/generated/page.js +0 -988
  144. package/dist/drivers/playwright/generated/touchscreen.d.ts +0 -34
  145. package/dist/drivers/playwright/generated/touchscreen.js +0 -37
  146. package/dist/drivers/playwright/generated/tracing.d.ts +0 -78
  147. package/dist/drivers/playwright/generated/tracing.js +0 -80
  148. package/dist/drivers/playwright/generated/worker.d.ts +0 -53
  149. package/dist/drivers/playwright/generated/worker.js +0 -59
  150. package/dist/drivers/playwright/index.d.ts +0 -19
  151. package/dist/drivers/playwright/index.js +0 -20
  152. package/dist/drivers/playwright/remote-base.d.ts +0 -62
  153. package/dist/drivers/playwright/remote-base.js +0 -86
  154. package/dist/drivers/playwright/types.d.ts +0 -148
  155. package/dist/drivers/playwright/types.js +0 -8
  156. package/dist/drivers/puppeteer/errors.d.ts +0 -50
  157. package/dist/drivers/puppeteer/errors.js +0 -71
  158. package/dist/drivers/puppeteer/event-emitter.d.ts +0 -145
  159. package/dist/drivers/puppeteer/event-emitter.js +0 -259
  160. package/dist/drivers/puppeteer/generated/accessibility.d.ts +0 -77
  161. package/dist/drivers/puppeteer/generated/accessibility.js +0 -74
  162. package/dist/drivers/puppeteer/generated/browser-context.d.ts +0 -116
  163. package/dist/drivers/puppeteer/generated/browser-context.js +0 -168
  164. package/dist/drivers/puppeteer/generated/browser.d.ts +0 -169
  165. package/dist/drivers/puppeteer/generated/browser.js +0 -246
  166. package/dist/drivers/puppeteer/generated/console-message.d.ts +0 -54
  167. package/dist/drivers/puppeteer/generated/console-message.js +0 -69
  168. package/dist/drivers/puppeteer/generated/coverage.d.ts +0 -49
  169. package/dist/drivers/puppeteer/generated/coverage.js +0 -57
  170. package/dist/drivers/puppeteer/generated/dialog.d.ts +0 -46
  171. package/dist/drivers/puppeteer/generated/dialog.js +0 -60
  172. package/dist/drivers/puppeteer/generated/element-handle.d.ts +0 -261
  173. package/dist/drivers/puppeteer/generated/element-handle.js +0 -341
  174. package/dist/drivers/puppeteer/generated/file-chooser.d.ts +0 -34
  175. package/dist/drivers/puppeteer/generated/file-chooser.js +0 -43
  176. package/dist/drivers/puppeteer/generated/frame.d.ts +0 -221
  177. package/dist/drivers/puppeteer/generated/frame.js +0 -302
  178. package/dist/drivers/puppeteer/generated/http-request.d.ts +0 -195
  179. package/dist/drivers/puppeteer/generated/http-request.js +0 -243
  180. package/dist/drivers/puppeteer/generated/http-response.d.ts +0 -142
  181. package/dist/drivers/puppeteer/generated/http-response.js +0 -169
  182. package/dist/drivers/puppeteer/generated/js-handle.d.ts +0 -104
  183. package/dist/drivers/puppeteer/generated/js-handle.js +0 -125
  184. package/dist/drivers/puppeteer/generated/keyboard.d.ts +0 -79
  185. package/dist/drivers/puppeteer/generated/keyboard.js +0 -89
  186. package/dist/drivers/puppeteer/generated/locator.d.ts +0 -141
  187. package/dist/drivers/puppeteer/generated/locator.js +0 -164
  188. package/dist/drivers/puppeteer/generated/mouse.d.ts +0 -74
  189. package/dist/drivers/puppeteer/generated/mouse.js +0 -94
  190. package/dist/drivers/puppeteer/generated/page.d.ts +0 -604
  191. package/dist/drivers/puppeteer/generated/page.js +0 -776
  192. package/dist/drivers/puppeteer/generated/target.d.ts +0 -105
  193. package/dist/drivers/puppeteer/generated/target.js +0 -123
  194. package/dist/drivers/puppeteer/generated/touchscreen.d.ts +0 -87
  195. package/dist/drivers/puppeteer/generated/touchscreen.js +0 -103
  196. package/dist/drivers/puppeteer/generated/tracing.d.ts +0 -38
  197. package/dist/drivers/puppeteer/generated/tracing.js +0 -43
  198. package/dist/drivers/puppeteer/generated/web-worker.d.ts +0 -63
  199. package/dist/drivers/puppeteer/generated/web-worker.js +0 -73
  200. package/dist/drivers/puppeteer/index.d.ts +0 -21
  201. package/dist/drivers/puppeteer/index.js +0 -23
  202. package/dist/drivers/puppeteer/remote-base.d.ts +0 -57
  203. package/dist/drivers/puppeteer/remote-base.js +0 -79
  204. package/dist/drivers/puppeteer/types.d.ts +0 -178
  205. package/dist/drivers/puppeteer/types.js +0 -8
  206. package/dist/drivers/selenium/driver.d.ts +0 -28
  207. package/dist/drivers/selenium/driver.js +0 -169
  208. package/dist/drivers/selenium/element.d.ts +0 -34
  209. package/dist/drivers/selenium/element.js +0 -73
  210. package/dist/drivers/selenium/index.d.ts +0 -3
  211. package/dist/drivers/selenium/index.js +0 -5
  212. package/dist/drivers/selenium/types.d.ts +0 -2
  213. package/dist/drivers/selenium/types.js +0 -12
  214. package/dist/drivers/stagehand/generated/context.d.ts +0 -127
  215. package/dist/drivers/stagehand/generated/context.js +0 -153
  216. package/dist/drivers/stagehand/generated/locator.d.ts +0 -324
  217. package/dist/drivers/stagehand/generated/locator.js +0 -368
  218. package/dist/drivers/stagehand/generated/page.d.ts +0 -377
  219. package/dist/drivers/stagehand/generated/page.js +0 -439
  220. package/dist/drivers/stagehand/generated/response.d.ts +0 -197
  221. package/dist/drivers/stagehand/generated/response.js +0 -232
  222. package/dist/drivers/stagehand/index.d.ts +0 -5
  223. package/dist/drivers/stagehand/index.js +0 -8
  224. package/dist/drivers/stagehand/types.d.ts +0 -1
  225. package/dist/drivers/stagehand/types.js +0 -7
  226. package/dist/extensions/client.d.ts +0 -47
  227. package/dist/extensions/client.js +0 -154
  228. package/dist/extensions/index.d.ts +0 -1
  229. package/dist/extensions/index.js +0 -1
  230. package/dist/internal/dev-client.d.ts +0 -5
  231. package/dist/internal/dev-client.js +0 -9
  232. package/dist/internal/rpc-targets.d.ts +0 -17
  233. package/dist/internal/rpc-targets.js +0 -58
  234. package/dist/internal/serialization.d.ts +0 -32
  235. package/dist/internal/serialization.js +0 -42
  236. package/dist/internal/transport.d.ts +0 -24
  237. package/dist/internal/transport.js +0 -29
  238. package/dist/playwright.d.ts +0 -1
  239. package/dist/playwright.js +0 -2
  240. package/dist/puppeteer.d.ts +0 -1
  241. package/dist/puppeteer.js +0 -2
  242. package/dist/selenium.d.ts +0 -1
  243. package/dist/selenium.js +0 -2
  244. package/dist/stagehand.d.ts +0 -1
  245. package/dist/stagehand.js +0 -2
  246. package/dist/storage/client.d.ts +0 -151
  247. package/dist/storage/client.js +0 -329
  248. package/dist/storage/index.d.ts +0 -2
  249. package/dist/storage/index.js +0 -4
  250. package/dist/telemetry.d.ts +0 -18
  251. package/dist/telemetry.js +0 -93
  252. package/dist/updates/client.d.ts +0 -8
  253. package/dist/updates/client.js +0 -128
  254. package/dist/updates/index.d.ts +0 -1
  255. package/dist/updates/index.js +0 -1
  256. package/dist/utils/http.d.ts +0 -39
  257. package/dist/utils/http.js +0 -88
  258. package/dist/utils/index.d.ts +0 -4
  259. package/dist/utils/index.js +0 -4
  260. package/dist/utils/logger.d.ts +0 -27
  261. package/dist/utils/logger.js +0 -74
  262. package/dist/utils/schema.d.ts +0 -17
  263. package/dist/utils/schema.js +0 -31
  264. package/dist/utils/url.d.ts +0 -5
  265. package/dist/utils/url.js +0 -7
  266. package/dist/vault/client.d.ts +0 -43
  267. package/dist/vault/client.js +0 -123
  268. package/dist/vault/index.d.ts +0 -1
  269. package/dist/vault/index.js +0 -1
  270. package/dist/workspaces/browser-runtime.d.ts +0 -251
  271. package/dist/workspaces/browser-runtime.js +0 -1025
  272. package/dist/workspaces/client.d.ts +0 -48
  273. package/dist/workspaces/client.js +0 -222
  274. package/dist/workspaces/index.d.ts +0 -2
  275. package/dist/workspaces/index.js +0 -2
  276. package/dist/workspaces/runtime-event-pump.d.ts +0 -65
  277. package/dist/workspaces/runtime-event-pump.js +0 -716
@@ -1,795 +0,0 @@
1
- /**
2
- * AUTO-GENERATED FILE - DO NOT EDIT
3
- *
4
- * Generated from: packages/automation-spec/src/drivers/playwright/methods/
5
- * Run `pnpm generate:playwright` to regenerate.
6
- */
7
- import type { SimpleRpcSender } from '../../../internal/transport.js';
8
- import type { PlaywrightAriaRole, PlaywrightBlurOptions, PlaywrightBoundingBox, PlaywrightBoundingBoxOptions, PlaywrightCheckOptions, PlaywrightClearOptions, PlaywrightClickOptions, PlaywrightDblclickOptions, PlaywrightDispatchEventOptions, PlaywrightDragToOptions, PlaywrightEvaluateOptions, PlaywrightFilePayload, PlaywrightFillOptions, PlaywrightFocusOptions, PlaywrightGetByAltTextOptions, PlaywrightGetByLabelOptions, PlaywrightGetByPlaceholderOptions, PlaywrightGetByRoleOptions, PlaywrightGetByTextOptions, PlaywrightGetByTitleOptions, PlaywrightHoverOptions, PlaywrightLocatorFilterOptions, PlaywrightLocatorOptions, PlaywrightPressOptions, PlaywrightPressSequentiallyOptions, PlaywrightScreenshotOptions, PlaywrightScrollIntoViewIfNeededOptions, PlaywrightSelectOptionOptions, PlaywrightSelectOptionValue, PlaywrightSetCheckedOptions, PlaywrightSetInputFilesOptions, PlaywrightTapOptions, PlaywrightUncheckOptions, PlaywrightWaitForOptions } from '../types.js';
9
- import { RemotePlaywrightElementHandle } from './element-handle.js';
10
- import { RemotePlaywrightFrameLocator } from './frame-locator.js';
11
- import type { RemotePlaywrightPage } from './page.js';
12
- /** Factory function for creating element handles */
13
- export type ElementHandleFactory = (handleId: string) => RemotePlaywrightElementHandle;
14
- /** Factory function for creating locators */
15
- export type LocatorFactory = (selector: string, parent?: RemotePlaywrightLocator) => RemotePlaywrightLocator;
16
- /** Factory function for creating frame locators */
17
- export type FrameLocatorFactory = (selector: string) => RemotePlaywrightFrameLocator;
18
- /**
19
- * Internal state for RemotePlaywrightLocator configuration.
20
- */
21
- interface RemotePlaywrightLocatorState {
22
- /** Timeout in milliseconds for actions */
23
- timeout: number;
24
- }
25
- /**
26
- * RemotePlaywrightLocator - Remote Playwright Locator API over RPC.
27
- *
28
- * @see https://playwright.dev/docs/api/class-locator
29
- */
30
- export declare class RemotePlaywrightLocator {
31
- private _state;
32
- readonly selector: string;
33
- private sendRpc;
34
- private createElementHandle;
35
- private createLocator;
36
- private createFrameLocator;
37
- private readonly _page;
38
- constructor(selector: string, sendRpc: SimpleRpcSender, createElementHandle: ElementHandleFactory, createLocator: LocatorFactory, createFrameLocator: FrameLocatorFactory, _page: RemotePlaywrightPage, state?: Partial<RemotePlaywrightLocatorState>);
39
- /**
40
- * Sets the timeout for this locator's actions.
41
- * Returns a new Locator with the updated timeout.
42
- * @param timeout Timeout in milliseconds
43
- * @returns New Locator instance with updated timeout
44
- */
45
- setTimeout(timeout: number): RemotePlaywrightLocator;
46
- /**
47
- * Takes a screenshot of the element.
48
- * @see https://playwright.dev/docs/api/class-locator#locator-screenshot
49
- */
50
- screenshot(options?: PlaywrightScreenshotOptions): Promise<Buffer>;
51
- /**
52
- * Clones the locator.
53
- * @returns A new locator with the same configuration.
54
- */
55
- clone(): RemotePlaywrightLocator;
56
- /**
57
- * Clicks on the element.
58
- *
59
- * @remarks
60
- * Waits for actionability checks, scrolls element into view,
61
- * and uses Page.mouse to click in the center of the element.
62
- *
63
- * @example
64
- * await locator.click();
65
- *
66
- * @example
67
- * await locator.click({ button: 'right' });
68
- *
69
- * @see https://playwright.dev/docs/api/class-locator#locator-click
70
- */
71
- click(options?: PlaywrightClickOptions): Promise<void>;
72
- /**
73
- * Double-clicks on the element.
74
- *
75
- * @remarks
76
- * Performs two clicks with a short delay, simulating a native double-click.
77
- * Waits for actionability checks before performing the action.
78
- *
79
- * @see https://playwright.dev/docs/api/class-locator#locator-dblclick
80
- */
81
- dblclick(options?: PlaywrightDblclickOptions): Promise<void>;
82
- /**
83
- * Fills an input or textarea element with the specified value.
84
- * @param value - Value to fill in
85
- *
86
- * @remarks
87
- * This method waits for actionability checks, focuses the element,
88
- * fills it, and triggers an input event. It clears the existing value before filling.
89
- * Works with <input>, <textarea>, and [contenteditable] elements.
90
- *
91
- * @example
92
- * await page.getByLabel('Password').fill('secret');
93
- *
94
- * @see https://playwright.dev/docs/api/class-locator#locator-fill
95
- */
96
- fill(value: string, options?: PlaywrightFillOptions): Promise<void>;
97
- /**
98
- * Clears the input field.
99
- *
100
- * @remarks
101
- * Waits for actionability checks, focuses the element,
102
- * clears it, and triggers an input event.
103
- *
104
- * @see https://playwright.dev/docs/api/class-locator#locator-clear
105
- */
106
- clear(options?: PlaywrightClearOptions): Promise<void>;
107
- /**
108
- * Presses a single key or key combination.
109
- * @param key - Key to press (e.g., "Enter", "Control+A")
110
- *
111
- * @remarks
112
- * Focuses the element, then uses keyboard.down() and keyboard.up().
113
- * Supports modifier keys like Control, Shift, Alt, Meta.
114
- *
115
- * @example
116
- * await locator.press('Enter');
117
- *
118
- * @example
119
- * await locator.press('Control+c');
120
- *
121
- * @example
122
- * await locator.press('Shift+ArrowDown');
123
- *
124
- * @see https://playwright.dev/docs/api/class-locator#locator-press
125
- */
126
- press(key: string, options?: PlaywrightPressOptions): Promise<void>;
127
- /**
128
- * Types text character by character with keydown, keypress, and keyup events.
129
- * @param text - Characters to type
130
- *
131
- * @remarks
132
- * Use this for special keyboard handling. In most cases, fill() is preferred.
133
- * The delay option can simulate realistic typing speed.
134
- *
135
- * @example
136
- * await locator.pressSequentially('Hello');
137
- *
138
- * @example
139
- * await locator.pressSequentially('World', { delay: 100 });
140
- *
141
- * @see https://playwright.dev/docs/api/class-locator#locator-press-sequentially
142
- */
143
- pressSequentially(text: string, options?: PlaywrightPressSequentiallyOptions): Promise<void>;
144
- /**
145
- * Types text into the element (DEPRECATED - use fill() or pressSequentially()).
146
- *
147
- * @remarks
148
- * This method is deprecated. Use fill() for most cases,
149
- * or pressSequentially() when special keyboard handling is required.
150
- *
151
- * @see https://playwright.dev/docs/api/class-locator#locator-type
152
- */
153
- type(text: string, options?: {
154
- delay?: number;
155
- noWaitAfter?: boolean;
156
- timeout?: number;
157
- }): Promise<void>;
158
- /**
159
- * Hovers over the element.
160
- *
161
- * @remarks
162
- * Waits for actionability checks, scrolls element into view,
163
- * and moves mouse to the center of the element.
164
- *
165
- * @see https://playwright.dev/docs/api/class-locator#locator-hover
166
- */
167
- hover(options?: PlaywrightHoverOptions): Promise<void>;
168
- /**
169
- * Performs a tap gesture on the element.
170
- *
171
- * @remarks
172
- * Requires hasTouch option to be enabled in browser context.
173
- * Waits for actionability checks before performing the tap.
174
- *
175
- * @see https://playwright.dev/docs/api/class-locator#locator-tap
176
- */
177
- tap(options?: PlaywrightTapOptions): Promise<void>;
178
- /**
179
- * Focuses the element.
180
- *
181
- * @see https://playwright.dev/docs/api/class-locator#locator-focus
182
- */
183
- focus(options?: PlaywrightFocusOptions): Promise<void>;
184
- /**
185
- * Removes focus from the element.
186
- *
187
- * @see https://playwright.dev/docs/api/class-locator#locator-blur
188
- */
189
- blur(options?: PlaywrightBlurOptions): Promise<void>;
190
- /**
191
- * Checks a checkbox or radio button.
192
- *
193
- * @remarks
194
- * If already checked, this method does nothing.
195
- *
196
- * @see https://playwright.dev/docs/api/class-locator#locator-check
197
- */
198
- check(options?: PlaywrightCheckOptions): Promise<void>;
199
- /**
200
- * Unchecks a checkbox.
201
- *
202
- * @remarks
203
- * If already unchecked, this method does nothing.
204
- *
205
- * @see https://playwright.dev/docs/api/class-locator#locator-uncheck
206
- */
207
- uncheck(options?: PlaywrightUncheckOptions): Promise<void>;
208
- /**
209
- * Sets the checked state of a checkbox or radio button.
210
- * @param checked - Whether to check or uncheck
211
- *
212
- * @see https://playwright.dev/docs/api/class-locator#locator-set-checked
213
- */
214
- setChecked(checked: boolean, options?: PlaywrightSetCheckedOptions): Promise<void>;
215
- /**
216
- * Selects option(s) in a <select> element.
217
- * @param values - Options to select by value, label, or index
218
- *
219
- * @remarks
220
- * Waits for actionability checks, waits until all options are present,
221
- * and triggers change and input events. Returns array of selected option values.
222
- *
223
- * @example
224
- * await locator.selectOption('blue');
225
- *
226
- * @example
227
- * await locator.selectOption({ label: 'Blue' });
228
- *
229
- * @example
230
- * await locator.selectOption(['red', 'green', 'blue']);
231
- *
232
- * @see https://playwright.dev/docs/api/class-locator#locator-select-option
233
- */
234
- selectOption(values: string | string[] | PlaywrightSelectOptionValue | PlaywrightSelectOptionValue[], options?: PlaywrightSelectOptionOptions): Promise<string[]>;
235
- /**
236
- * Selects all text content of the element.
237
- *
238
- * @remarks
239
- * This method waits for actionability checks, then focuses the element and selects all text content.
240
- *
241
- * @see https://playwright.dev/docs/api/class-locator#locator-select-text
242
- */
243
- selectText(options?: {
244
- force?: boolean;
245
- timeout?: number;
246
- }): Promise<void>;
247
- /**
248
- * Sets files for a file input element.
249
- * @param files - File paths or file objects to upload
250
- *
251
- * @remarks
252
- * Pass empty array to clear selected files.
253
- * Supports paths, objects with name/mimeType/buffer, or directories.
254
- *
255
- * @example
256
- * await locator.setInputFiles('file.pdf');
257
- *
258
- * @example
259
- * await locator.setInputFiles(['file1.txt', 'file2.txt']);
260
- *
261
- * @example
262
- * await locator.setInputFiles({ name: 'file.txt', mimeType: 'text/plain', buffer: Buffer.from('content') });
263
- *
264
- * @example
265
- * await locator.setInputFiles([]); // Clear files
266
- *
267
- * @see https://playwright.dev/docs/api/class-locator#locator-set-input-files
268
- */
269
- setInputFiles(files: string | string[] | PlaywrightFilePayload | PlaywrightFilePayload[], options?: PlaywrightSetInputFilesOptions): Promise<void>;
270
- /**
271
- * Drags this element to the target element.
272
- * @param target - Target locator to drag to
273
- *
274
- * @remarks
275
- * Performs mousedown on source, moves to target, and releases with mouseup.
276
- * Supports sourcePosition and targetPosition options for precise control.
277
- *
278
- * @example
279
- * await source.dragTo(target);
280
- *
281
- * @example
282
- * await source.dragTo(target, { sourcePosition: { x: 0, y: 0 } });
283
- *
284
- * @see https://playwright.dev/docs/api/class-locator#locator-drag-to
285
- */
286
- dragTo(target: RemotePlaywrightLocator, options?: PlaywrightDragToOptions): Promise<void>;
287
- /**
288
- * Scrolls the element into view if not already visible.
289
- *
290
- * @remarks
291
- * Uses IntersectionObserver to determine if element is already visible.
292
- *
293
- * @see https://playwright.dev/docs/api/class-locator#locator-scroll-into-view-if-needed
294
- */
295
- scrollIntoViewIfNeeded(options?: PlaywrightScrollIntoViewIfNeededOptions): Promise<void>;
296
- /**
297
- * Programmatically dispatches a DOM event on the element.
298
- * @param type - DOM event type (e.g., "click", "dragstart")
299
- * @param eventInit - Event initialization properties
300
- *
301
- * @remarks
302
- * The event is created as composed, cancelable, and bubbles by default.
303
- * Works regardless of element visibility state.
304
- *
305
- * @example
306
- * await locator.dispatchEvent('click');
307
- *
308
- * @example
309
- * await locator.dispatchEvent('dragstart', { dataTransfer });
310
- *
311
- * @see https://playwright.dev/docs/api/class-locator#locator-dispatch-event
312
- */
313
- dispatchEvent(type: string, eventInit?: Record<string, unknown>, options?: PlaywrightDispatchEventOptions): Promise<void>;
314
- /**
315
- * Highlights the element on screen (for debugging).
316
- *
317
- * @remarks
318
- * Useful for debugging during test development. Not recommended for production tests.
319
- *
320
- * @see https://playwright.dev/docs/api/class-locator#locator-highlight
321
- */
322
- highlight(): Promise<void>;
323
- /**
324
- * Returns the number of elements matching this locator.
325
- *
326
- * @remarks
327
- * For assertions, prefer expect(locator).toHaveCount() to avoid flakiness.
328
- *
329
- * @example
330
- * const count = await page.getByRole('listitem').count();
331
- *
332
- * @see https://playwright.dev/docs/api/class-locator#locator-count
333
- */
334
- count(): Promise<number>;
335
- /**
336
- * Returns whether the element is visible.
337
- *
338
- * @remarks
339
- * Does not wait for element to appear. For assertions, prefer expect(locator).toBeVisible().
340
- *
341
- * @see https://playwright.dev/docs/api/class-locator#locator-is-visible
342
- */
343
- isVisible(options?: {
344
- timeout?: number;
345
- }): Promise<boolean>;
346
- /**
347
- * Returns whether the element is hidden.
348
- *
349
- * @remarks
350
- * Opposite of isVisible(). For assertions, prefer expect(locator).toBeHidden().
351
- *
352
- * @see https://playwright.dev/docs/api/class-locator#locator-is-hidden
353
- */
354
- isHidden(options?: {
355
- timeout?: number;
356
- }): Promise<boolean>;
357
- /**
358
- * Returns whether the element is enabled.
359
- *
360
- * @remarks
361
- * For assertions, prefer expect(locator).toBeEnabled().
362
- *
363
- * @see https://playwright.dev/docs/api/class-locator#locator-is-enabled
364
- */
365
- isEnabled(options?: {
366
- timeout?: number;
367
- }): Promise<boolean>;
368
- /**
369
- * Returns whether the element is disabled.
370
- *
371
- * @remarks
372
- * For assertions, prefer expect(locator).toBeDisabled().
373
- *
374
- * @see https://playwright.dev/docs/api/class-locator#locator-is-disabled
375
- */
376
- isDisabled(options?: {
377
- timeout?: number;
378
- }): Promise<boolean>;
379
- /**
380
- * Returns whether a checkbox or radio is checked.
381
- *
382
- * @remarks
383
- * For assertions, prefer expect(locator).toBeChecked().
384
- *
385
- * @see https://playwright.dev/docs/api/class-locator#locator-is-checked
386
- */
387
- isChecked(options?: {
388
- timeout?: number;
389
- }): Promise<boolean>;
390
- /**
391
- * Returns whether the element is editable.
392
- *
393
- * @remarks
394
- * For assertions, prefer expect(locator).toBeEditable().
395
- *
396
- * @see https://playwright.dev/docs/api/class-locator#locator-is-editable
397
- */
398
- isEditable(options?: {
399
- timeout?: number;
400
- }): Promise<boolean>;
401
- /**
402
- * Returns the innerHTML of the element.
403
- *
404
- * @see https://playwright.dev/docs/api/class-locator#locator-inner-html
405
- */
406
- innerHTML(options?: {
407
- timeout?: number;
408
- }): Promise<string>;
409
- /**
410
- * Returns the innerText of the element.
411
- *
412
- * @remarks
413
- * For assertions, prefer expect(locator).toHaveText() with useInnerText option.
414
- *
415
- * @see https://playwright.dev/docs/api/class-locator#locator-inner-text
416
- */
417
- innerText(options?: {
418
- timeout?: number;
419
- }): Promise<string>;
420
- /**
421
- * Returns the textContent of the element.
422
- *
423
- * @remarks
424
- * For assertions, prefer expect(locator).toHaveText().
425
- *
426
- * @see https://playwright.dev/docs/api/class-locator#locator-text-content
427
- */
428
- textContent(options?: {
429
- timeout?: number;
430
- }): Promise<string | null>;
431
- /**
432
- * Returns an array of innerText values for all matching elements.
433
- *
434
- * @remarks
435
- * For assertions, prefer expect(locator).toHaveText() with useInnerText option.
436
- *
437
- * @example
438
- * const texts = await page.getByRole('link').allInnerTexts();
439
- *
440
- * @see https://playwright.dev/docs/api/class-locator#locator-all-inner-texts
441
- */
442
- allInnerTexts(): Promise<string[]>;
443
- /**
444
- * Returns an array of textContent values for all matching elements.
445
- *
446
- * @remarks
447
- * For assertions, prefer expect(locator).toHaveText().
448
- *
449
- * @example
450
- * const texts = await page.getByRole('link').allTextContents();
451
- *
452
- * @see https://playwright.dev/docs/api/class-locator#locator-all-text-contents
453
- */
454
- allTextContents(): Promise<string[]>;
455
- /**
456
- * Returns the attribute value of the element.
457
- * @param name - Attribute name
458
- *
459
- * @see https://playwright.dev/docs/api/class-locator#locator-get-attribute
460
- */
461
- getAttribute(name: string, options?: {
462
- timeout?: number;
463
- }): Promise<string | null>;
464
- /**
465
- * Returns the input value for <input>, <textarea>, or <select> elements.
466
- *
467
- * @see https://playwright.dev/docs/api/class-locator#locator-input-value
468
- */
469
- inputValue(options?: {
470
- timeout?: number;
471
- }): Promise<string>;
472
- /**
473
- * Returns the bounding box of the element, or null if not visible.
474
- *
475
- * @remarks
476
- * Returns { x, y, width, height } in pixels relative to the main frame viewport.
477
- * Scrolling affects the coordinates. Returns null if element is not visible.
478
- *
479
- * @example
480
- * const box = await locator.boundingBox();
481
- * await page.mouse.click(box.x + box.width / 2, box.y + box.height / 2);
482
- *
483
- * @see https://playwright.dev/docs/api/class-locator#locator-bounding-box
484
- */
485
- boundingBox(options?: PlaywrightBoundingBoxOptions): Promise<PlaywrightBoundingBox | null>;
486
- /**
487
- * Waits for element to satisfy the given state.
488
- *
489
- * @remarks
490
- * State options: 'attached', 'detached', 'visible', 'hidden'.
491
- * Returns immediately if condition is already met. Default state is 'visible'.
492
- *
493
- * @example
494
- * await locator.waitFor();
495
- *
496
- * @example
497
- * await locator.waitFor({ state: 'attached' });
498
- *
499
- * @example
500
- * await locator.waitFor({ state: 'hidden', timeout: 5000 });
501
- *
502
- * @see https://playwright.dev/docs/api/class-locator#locator-wait-for
503
- */
504
- waitFor(options?: PlaywrightWaitForOptions): Promise<void>;
505
- /**
506
- * Evaluates a function in the browser context with the element as first argument.
507
- * @param pageFunction - Function to evaluate in browser context
508
- * @param arg - Argument to pass to function
509
- *
510
- * @remarks
511
- * Returns the value of the evaluated function. The function receives the DOM element as first argument.
512
- *
513
- * @example
514
- * const tagName = await locator.evaluate(el => el.tagName);
515
- *
516
- * @example
517
- * const text = await locator.evaluate((el, suffix) => el.textContent + suffix, '!');
518
- *
519
- * @see https://playwright.dev/docs/api/class-locator#locator-evaluate
520
- */
521
- evaluate<R, Arg = unknown>(pageFunction: string | ((element: Element, arg: Arg) => R | Promise<R>), arg?: Arg, options?: PlaywrightEvaluateOptions): Promise<R>;
522
- /**
523
- * Evaluates a function with all matching elements as first argument.
524
- * @param pageFunction - Function to evaluate in browser context
525
- * @param arg - Argument to pass to function
526
- *
527
- * @remarks
528
- * Does not wait for elements - returns empty array if none match.
529
- *
530
- * @example
531
- * const count = await locator.evaluateAll(els => els.length);
532
- *
533
- * @example
534
- * const texts = await locator.evaluateAll(els => els.map(e => e.textContent));
535
- *
536
- * @see https://playwright.dev/docs/api/class-locator#locator-evaluate-all
537
- */
538
- evaluateAll<R, Arg = unknown>(pageFunction: string | ((elements: Element[], arg: Arg) => R | Promise<R>), arg?: Arg): Promise<R>;
539
- /**
540
- * Returns a JSHandle with the result of the evaluation.
541
- * @param pageFunction - Function to evaluate in browser context
542
- * @param arg - Argument to pass to function
543
- *
544
- * @remarks
545
- * Use when you need to retain a reference to a JavaScript object in the page. Note: JSHandle is not fully supported in the remote SDK.
546
- *
547
- * @see https://playwright.dev/docs/api/class-locator#locator-evaluate-handle
548
- */
549
- evaluateHandle<R, Arg = unknown>(pageFunction: string | ((element: Element, arg: Arg) => R | Promise<R>), arg?: Arg): Promise<unknown>;
550
- /**
551
- * Resolves to the ElementHandle of the element.
552
- *
553
- * @remarks
554
- * Returns the handle to the element that matches this locator.
555
- * Throws if no elements or multiple elements match.
556
- *
557
- * @see https://playwright.dev/docs/api/class-locator#locator-element-handle
558
- */
559
- elementHandle(options?: {
560
- timeout?: number;
561
- }): Promise<RemotePlaywrightElementHandle>;
562
- /**
563
- * Resolves to all ElementHandles matching this locator.
564
- *
565
- * @remarks
566
- * Returns an empty array if no elements match.
567
- *
568
- * @see https://playwright.dev/docs/api/class-locator#locator-element-handles
569
- */
570
- elementHandles(): Promise<RemotePlaywrightElementHandle[]>;
571
- /**
572
- * Returns locator to the first matching element.
573
- *
574
- * @see https://playwright.dev/docs/api/class-locator#locator-first
575
- */
576
- first(): RemotePlaywrightLocator;
577
- /**
578
- * Returns locator to the last matching element.
579
- *
580
- * @see https://playwright.dev/docs/api/class-locator#locator-last
581
- */
582
- last(): RemotePlaywrightLocator;
583
- /**
584
- * Returns locator to the nth matching element.
585
- * @param index - Zero-based index
586
- *
587
- * @remarks
588
- * Index is zero-based. Negative indices count from the end (-1 is last).
589
- *
590
- * @see https://playwright.dev/docs/api/class-locator#locator-nth
591
- */
592
- nth(index: number): RemotePlaywrightLocator;
593
- /**
594
- * Creates a locator matching descendants of this element.
595
- * @param selectorOrLocator - Selector or locator to match descendants
596
- *
597
- * @remarks
598
- * Accepts CSS, XPath, or text selectors. Can also accept another locator.
599
- *
600
- * @example
601
- * const button = row.locator('button.submit');
602
- *
603
- * @example
604
- * const link = section.locator('a', { hasText: 'Learn more' });
605
- *
606
- * @see https://playwright.dev/docs/api/class-locator#locator-locator
607
- */
608
- locator(selectorOrLocator: string | RemotePlaywrightLocator, options?: PlaywrightLocatorOptions): RemotePlaywrightLocator;
609
- /**
610
- * Narrows the locator with additional filters.
611
- *
612
- * @remarks
613
- * Supports has, hasNot, hasText, hasNotText, and visible options.
614
- * Multiple filters can be chained.
615
- *
616
- * @example
617
- * const row = page.locator('tr').filter({ hasText: 'John' });
618
- *
619
- * @example
620
- * const active = items.filter({ has: page.locator('.active') });
621
- *
622
- * @example
623
- * const noButton = rows.filter({ hasNot: page.getByRole('button') });
624
- *
625
- * @see https://playwright.dev/docs/api/class-locator#locator-filter
626
- */
627
- filter(options?: PlaywrightLocatorFilterOptions): RemotePlaywrightLocator;
628
- /**
629
- * Creates a locator that matches both this locator AND the argument.
630
- * @param locator - Additional locator to match
631
- *
632
- * @remarks
633
- * Both conditions must be satisfied for an element to match.
634
- *
635
- * @example
636
- * const button = page.getByRole('button').and(page.getByTitle('Subscribe'));
637
- *
638
- * @see https://playwright.dev/docs/api/class-locator#locator-and
639
- */
640
- and(locator: RemotePlaywrightLocator): RemotePlaywrightLocator;
641
- /**
642
- * Creates a locator that matches this locator OR the argument.
643
- * @param locator - Alternative locator to match
644
- *
645
- * @remarks
646
- * Either condition being satisfied will match. Be careful with strict mode -
647
- * if both match, use .first() to select one.
648
- *
649
- * @example
650
- * const btnOrLink = page.getByRole('button').or(page.getByRole('link'));
651
- *
652
- * @example
653
- * await btnOrLink.first().click();
654
- *
655
- * @see https://playwright.dev/docs/api/class-locator#locator-or
656
- */
657
- or(locator: RemotePlaywrightLocator): RemotePlaywrightLocator;
658
- /**
659
- * Returns array of locators pointing to all matching elements.
660
- *
661
- * @remarks
662
- * Does not wait for elements. Use with caution on dynamic lists.
663
- * Wait for the list to stabilize before calling.
664
- *
665
- * @example
666
- * for (const li of await page.getByRole('listitem').all()) {
667
- * await li.click();
668
- * }
669
- *
670
- * @see https://playwright.dev/docs/api/class-locator#locator-all
671
- */
672
- all(): Promise<RemotePlaywrightLocator[]>;
673
- /**
674
- * Locates elements by their ARIA role.
675
- * @param role - ARIA role to match
676
- *
677
- * @remarks
678
- * Matches by implicit ARIA role (e.g., <button>) or explicit role attribute.
679
- * Options include name, checked, disabled, expanded, etc.
680
- *
681
- * @example
682
- * await locator.getByRole('button', { name: 'Submit' }).click();
683
- *
684
- * @example
685
- * await locator.getByRole('checkbox', { checked: true });
686
- *
687
- * @see https://playwright.dev/docs/api/class-locator#locator-get-by-role
688
- */
689
- getByRole(role: PlaywrightAriaRole, options?: PlaywrightGetByRoleOptions): RemotePlaywrightLocator;
690
- /**
691
- * Locates elements containing the specified text.
692
- * @param text - Text or pattern to match
693
- *
694
- * @remarks
695
- * Matches case-insensitively by default. Use exact: true for exact match.
696
- *
697
- * @example
698
- * await locator.getByText('Welcome').click();
699
- *
700
- * @example
701
- * await locator.getByText(/hello/i).click();
702
- *
703
- * @see https://playwright.dev/docs/api/class-locator#locator-get-by-text
704
- */
705
- getByText(text: string | RegExp, options?: PlaywrightGetByTextOptions): RemotePlaywrightLocator;
706
- /**
707
- * Locates form elements by their associated label text.
708
- * @param text - Label text or pattern
709
- *
710
- * @remarks
711
- * Matches <label> text, aria-label, or aria-labelledby.
712
- *
713
- * @example
714
- * await locator.getByLabel('Email').fill('test@example.com');
715
- *
716
- * @see https://playwright.dev/docs/api/class-locator#locator-get-by-label
717
- */
718
- getByLabel(text: string | RegExp, options?: PlaywrightGetByLabelOptions): RemotePlaywrightLocator;
719
- /**
720
- * Locates input elements by their placeholder text.
721
- * @param text - Placeholder text or pattern
722
- *
723
- * @example
724
- * await locator.getByPlaceholder('Search...').fill('query');
725
- *
726
- * @see https://playwright.dev/docs/api/class-locator#locator-get-by-placeholder
727
- */
728
- getByPlaceholder(text: string | RegExp, options?: PlaywrightGetByPlaceholderOptions): RemotePlaywrightLocator;
729
- /**
730
- * Locates elements by their alt attribute (typically images).
731
- * @param text - Alt text or pattern
732
- *
733
- * @example
734
- * await locator.getByAltText('Company Logo').click();
735
- *
736
- * @see https://playwright.dev/docs/api/class-locator#locator-get-by-alt-text
737
- */
738
- getByAltText(text: string | RegExp, options?: PlaywrightGetByAltTextOptions): RemotePlaywrightLocator;
739
- /**
740
- * Locates elements by their title attribute.
741
- * @param text - Title attribute text or pattern
742
- *
743
- * @example
744
- * await locator.getByTitle('More information').click();
745
- *
746
- * @see https://playwright.dev/docs/api/class-locator#locator-get-by-title
747
- */
748
- getByTitle(text: string | RegExp, options?: PlaywrightGetByTitleOptions): RemotePlaywrightLocator;
749
- /**
750
- * Locates elements by their test ID attribute.
751
- * @param testId - Test ID value or pattern
752
- *
753
- * @remarks
754
- * Default attribute is data-testid. Can be configured via selectors.setTestIdAttribute().
755
- *
756
- * @example
757
- * await locator.getByTestId('submit-button').click();
758
- *
759
- * @see https://playwright.dev/docs/api/class-locator#locator-get-by-test-id
760
- */
761
- getByTestId(testId: string | RegExp): RemotePlaywrightLocator;
762
- /**
763
- * Returns a FrameLocator pointing to the iframe this locator points to.
764
- *
765
- * @remarks
766
- * Useful when you have a Locator to an iframe and want to interact with its content.
767
- *
768
- * @example
769
- * const frameLocator = locator.contentFrame();
770
- * await frameLocator.getByRole('button').click();
771
- *
772
- * @see https://playwright.dev/docs/api/class-locator#locator-content-frame
773
- */
774
- contentFrame(): RemotePlaywrightFrameLocator;
775
- /**
776
- * Returns a FrameLocator for an iframe within this element.
777
- * @param selector - CSS selector for iframe
778
- *
779
- * @remarks
780
- * Use to interact with content inside iframes.
781
- *
782
- * @example
783
- * const frame = locator.frameLocator('iframe.content');
784
- *
785
- * @see https://playwright.dev/docs/api/class-locator#locator-frame-locator
786
- */
787
- frameLocator(selector: string): RemotePlaywrightFrameLocator;
788
- /**
789
- * Returns the Page that this locator belongs to.
790
- *
791
- * @see https://playwright.dev/docs/api/class-locator#locator-page
792
- */
793
- page(): RemotePlaywrightPage;
794
- }
795
- export {};