@dream_engine/browser 0.0.0-stage → 0.1.1

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 (100) hide show
  1. package/LICENSE +21 -0
  2. package/dist/.tsbuildinfo +1 -0
  3. package/dist/adapter/playwright.d.ts +27 -0
  4. package/dist/adapter/playwright.d.ts.map +1 -0
  5. package/dist/adapter/playwright.js +1087 -0
  6. package/dist/adapter/playwright.js.map +1 -0
  7. package/dist/adapter/types.d.ts +833 -0
  8. package/dist/adapter/types.d.ts.map +1 -0
  9. package/dist/adapter/types.js +9 -0
  10. package/dist/adapter/types.js.map +1 -0
  11. package/dist/api-request.d.ts +93 -0
  12. package/dist/api-request.d.ts.map +1 -0
  13. package/dist/api-request.js +284 -0
  14. package/dist/api-request.js.map +1 -0
  15. package/dist/artifacts.d.ts +99 -0
  16. package/dist/artifacts.d.ts.map +1 -0
  17. package/dist/artifacts.js +211 -0
  18. package/dist/artifacts.js.map +1 -0
  19. package/dist/browser.d.ts +79 -0
  20. package/dist/browser.d.ts.map +1 -0
  21. package/dist/browser.js +186 -0
  22. package/dist/browser.js.map +1 -0
  23. package/dist/code-execution.d.ts +12 -0
  24. package/dist/code-execution.d.ts.map +1 -0
  25. package/dist/code-execution.js +15 -0
  26. package/dist/code-execution.js.map +1 -0
  27. package/dist/context.d.ts +174 -0
  28. package/dist/context.d.ts.map +1 -0
  29. package/dist/context.js +474 -0
  30. package/dist/context.js.map +1 -0
  31. package/dist/events.d.ts +66 -0
  32. package/dist/events.d.ts.map +1 -0
  33. package/dist/events.js +87 -0
  34. package/dist/events.js.map +1 -0
  35. package/dist/index.d.ts +24 -0
  36. package/dist/index.d.ts.map +1 -0
  37. package/dist/index.js +23 -0
  38. package/dist/index.js.map +1 -0
  39. package/dist/locator.d.ts +208 -0
  40. package/dist/locator.d.ts.map +1 -0
  41. package/dist/locator.js +402 -0
  42. package/dist/locator.js.map +1 -0
  43. package/dist/login.d.ts +76 -0
  44. package/dist/login.d.ts.map +1 -0
  45. package/dist/login.js +176 -0
  46. package/dist/login.js.map +1 -0
  47. package/dist/manager.d.ts +109 -0
  48. package/dist/manager.d.ts.map +1 -0
  49. package/dist/manager.js +320 -0
  50. package/dist/manager.js.map +1 -0
  51. package/dist/navigation.d.ts +74 -0
  52. package/dist/navigation.d.ts.map +1 -0
  53. package/dist/navigation.js +234 -0
  54. package/dist/navigation.js.map +1 -0
  55. package/dist/network.d.ts +260 -0
  56. package/dist/network.d.ts.map +1 -0
  57. package/dist/network.js +582 -0
  58. package/dist/network.js.map +1 -0
  59. package/dist/page.d.ts +512 -0
  60. package/dist/page.d.ts.map +1 -0
  61. package/dist/page.js +1493 -0
  62. package/dist/page.js.map +1 -0
  63. package/dist/selectors.d.ts +67 -0
  64. package/dist/selectors.d.ts.map +1 -0
  65. package/dist/selectors.js +137 -0
  66. package/dist/selectors.js.map +1 -0
  67. package/dist/sessions.d.ts +114 -0
  68. package/dist/sessions.d.ts.map +1 -0
  69. package/dist/sessions.js +285 -0
  70. package/dist/sessions.js.map +1 -0
  71. package/dist/smart/dom-scan.d.ts +104 -0
  72. package/dist/smart/dom-scan.d.ts.map +1 -0
  73. package/dist/smart/dom-scan.js +491 -0
  74. package/dist/smart/dom-scan.js.map +1 -0
  75. package/dist/smart/ranking.d.ts +63 -0
  76. package/dist/smart/ranking.d.ts.map +1 -0
  77. package/dist/smart/ranking.js +318 -0
  78. package/dist/smart/ranking.js.map +1 -0
  79. package/dist/smart/recovery.d.ts +106 -0
  80. package/dist/smart/recovery.d.ts.map +1 -0
  81. package/dist/smart/recovery.js +197 -0
  82. package/dist/smart/recovery.js.map +1 -0
  83. package/dist/smart/smart.d.ts +249 -0
  84. package/dist/smart/smart.d.ts.map +1 -0
  85. package/dist/smart/smart.js +840 -0
  86. package/dist/smart/smart.js.map +1 -0
  87. package/dist/trace-parser.d.ts +70 -0
  88. package/dist/trace-parser.d.ts.map +1 -0
  89. package/dist/trace-parser.js +203 -0
  90. package/dist/trace-parser.js.map +1 -0
  91. package/dist/types.d.ts +57 -0
  92. package/dist/types.d.ts.map +1 -0
  93. package/dist/types.js +2 -0
  94. package/dist/types.js.map +1 -0
  95. package/dist/visual.d.ts +185 -0
  96. package/dist/visual.d.ts.map +1 -0
  97. package/dist/visual.js +384 -0
  98. package/dist/visual.js.map +1 -0
  99. package/package.json +37 -3
  100. package/README.md +0 -3
package/dist/page.d.ts ADDED
@@ -0,0 +1,512 @@
1
+ import { type ExtractedDocument, type ExtractOptions } from '@dream_engine/extraction';
2
+ import type { AriaSnapshotOptions, ClockAdapter, ConsoleMessage, CoverageAdapter, DialogAdapter, FrameAdapter, WebStorageAdapter, HarReplayOptions, MediaEmulation, MockWebSocketConnection, PageAdapter, PdfOptions, ScreencastFrame, Viewport } from './adapter/types.js';
3
+ import type { ApiRequest } from './api-request.js';
4
+ import { type BashirContext } from './context.js';
5
+ import { NavigationManager, type NavigationPolicy, type NavigationResult } from './navigation.js';
6
+ import { NetworkMonitor, type CapturedResponse, type UrlMatch } from './network.js';
7
+ import { SmartInteraction, type PageInspection } from './smart/smart.js';
8
+ import type { ActionResult, BrowserServices } from './types.js';
9
+ import { type PageEventMap } from './events.js';
10
+ import { BashirFrameLocator, BashirLocator, type LocatorActionOptions, type LocatorFilterOptions, type LocatorHost } from './locator.js';
11
+ import { type AriaRole, type ByRoleOptions, type ByTextOptions } from './selectors.js';
12
+ import { VisualInspector, type ScreenshotResult } from './visual.js';
13
+ export interface InteractionOptions {
14
+ timeout?: number;
15
+ /** When the selector matches several elements, act on this index instead of failing. */
16
+ index?: number;
17
+ /** Attempt fingerprint-based recovery when the selector no longer matches (default: config.recovery.enabled). */
18
+ recover?: boolean;
19
+ force?: boolean;
20
+ /**
21
+ * Classify the resolved element (accessible name, text, submit value) and require approval when the
22
+ * action looks consequential (purchase, deletion, publishing, ...), as smart actions always do.
23
+ * Agent tools set this for selector- and ref-based actions.
24
+ */
25
+ guardConsequential?: boolean;
26
+ /** @internal Set by `press`: the guard then classifies keyboard activation instead of a click. */
27
+ activationKey?: string;
28
+ }
29
+ /** Event map of `BashirPage.on()`. */
30
+ export type PageEvents = PageEventMap<BashirPage, BashirFrame, DownloadRecord>;
31
+ export interface DialogRecord {
32
+ type: DialogAdapter['type'];
33
+ message: string;
34
+ action: 'accepted' | 'dismissed';
35
+ time: string;
36
+ }
37
+ export interface DownloadRecord {
38
+ id: string;
39
+ url: string;
40
+ suggestedFilename: string;
41
+ path: string | null;
42
+ size: number | null;
43
+ status: 'completed' | 'blocked' | 'failed';
44
+ reason: string | null;
45
+ time: string;
46
+ }
47
+ export interface PdfResult {
48
+ buffer: Buffer;
49
+ path: string | null;
50
+ bytes: number;
51
+ url: string;
52
+ }
53
+ /** Element state read without waiting (strict: several matches need `index`). */
54
+ export interface QueryOptions {
55
+ index?: number;
56
+ }
57
+ export interface ScrollOptions {
58
+ /** Scroll to an absolute position or the top/bottom of the page. */
59
+ to?: 'top' | 'bottom' | {
60
+ x?: number;
61
+ y?: number;
62
+ };
63
+ /** Scroll by a relative amount (CSS px). */
64
+ by?: {
65
+ x?: number;
66
+ y?: number;
67
+ };
68
+ /** Scroll an element into view. */
69
+ selector?: string;
70
+ }
71
+ export interface WaitOptions {
72
+ selector?: string;
73
+ state?: 'attached' | 'detached' | 'visible' | 'hidden';
74
+ text?: string;
75
+ url?: string | RegExp;
76
+ networkIdle?: boolean;
77
+ loadState?: 'load' | 'domcontentloaded' | 'networkidle';
78
+ /** Plain delay in ms. */
79
+ time?: number;
80
+ timeout?: number;
81
+ }
82
+ export type ExtractPageOptions = Omit<ExtractOptions, 'url'> & {
83
+ format?: 'text' | 'markdown' | 'html' | 'json' | 'structured';
84
+ };
85
+ /** A frame inside a page (main frame or iframe). */
86
+ export declare class BashirFrame {
87
+ private readonly frame;
88
+ private readonly timeout;
89
+ private readonly host;
90
+ private readonly wrap?;
91
+ constructor(frame: FrameAdapter, timeout: number, host?: LocatorHost, wrap?: ((frame: FrameAdapter) => BashirFrame) | undefined);
92
+ get id(): string;
93
+ name(): string;
94
+ url(): string;
95
+ isMain(): boolean;
96
+ isDetached(): boolean;
97
+ /** The parent frame (null for the main frame). */
98
+ parentFrame(): BashirFrame | null;
99
+ /** Direct child frames. */
100
+ childFrames(): BashirFrame[];
101
+ private make;
102
+ title(): Promise<string>;
103
+ content(): Promise<string>;
104
+ /** Locator scoped to this frame (see `BashirLocator`). */
105
+ locator(selector: string, options?: LocatorFilterOptions): BashirLocator;
106
+ getByRole(role: AriaRole | (string & {}), options?: ByRoleOptions): BashirLocator;
107
+ getByText(text: string | RegExp, options?: ByTextOptions): BashirLocator;
108
+ getByLabel(text: string | RegExp, options?: ByTextOptions): BashirLocator;
109
+ getByPlaceholder(text: string | RegExp, options?: ByTextOptions): BashirLocator;
110
+ getByAltText(text: string | RegExp, options?: ByTextOptions): BashirLocator;
111
+ getByTitle(text: string | RegExp, options?: ByTextOptions): BashirLocator;
112
+ getByTestId(id: string | RegExp): BashirLocator;
113
+ frameLocator(selector: string): BashirFrameLocator;
114
+ click(selector: string, options?: {
115
+ timeout?: number;
116
+ guardConsequential?: boolean;
117
+ }): Promise<void>;
118
+ fill(selector: string, value: string, options?: {
119
+ timeout?: number;
120
+ }): Promise<void>;
121
+ textContent(selector: string): Promise<string | null>;
122
+ dblclick(selector: string, options?: LocatorActionOptions): Promise<void>;
123
+ hover(selector: string, options?: LocatorActionOptions): Promise<void>;
124
+ tap(selector: string, options?: LocatorActionOptions): Promise<void>;
125
+ focus(selector: string, options?: LocatorActionOptions): Promise<void>;
126
+ press(selector: string, key: string, options?: LocatorActionOptions): Promise<void>;
127
+ type(selector: string, text: string, options?: LocatorActionOptions & {
128
+ delay?: number;
129
+ }): Promise<void>;
130
+ check(selector: string, options?: LocatorActionOptions): Promise<void>;
131
+ uncheck(selector: string, options?: LocatorActionOptions): Promise<void>;
132
+ setChecked(selector: string, checked: boolean, options?: LocatorActionOptions): Promise<void>;
133
+ selectOption(selector: string, values: Parameters<BashirLocator['selectOption']>[0], options?: LocatorActionOptions): Promise<string[]>;
134
+ setInputFiles(selector: string, files: string | string[], options?: LocatorActionOptions): Promise<void>;
135
+ dispatchEvent(selector: string, type: string, eventInit?: Record<string, unknown>, options?: LocatorActionOptions): Promise<void>;
136
+ dragAndDrop(source: string, target: string, options?: LocatorActionOptions): Promise<void>;
137
+ getAttribute(selector: string, name: string, options?: {
138
+ timeout?: number;
139
+ }): Promise<string | null>;
140
+ innerHTML(selector: string, options?: {
141
+ timeout?: number;
142
+ }): Promise<string>;
143
+ innerText(selector: string, options?: {
144
+ timeout?: number;
145
+ }): Promise<string>;
146
+ inputValue(selector: string, options?: {
147
+ timeout?: number;
148
+ }): Promise<string>;
149
+ isVisible(selector: string): Promise<boolean>;
150
+ isHidden(selector: string): Promise<boolean>;
151
+ isEnabled(selector: string, options?: {
152
+ timeout?: number;
153
+ }): Promise<boolean>;
154
+ isDisabled(selector: string, options?: {
155
+ timeout?: number;
156
+ }): Promise<boolean>;
157
+ isEditable(selector: string, options?: {
158
+ timeout?: number;
159
+ }): Promise<boolean>;
160
+ isChecked(selector: string, options?: {
161
+ timeout?: number;
162
+ }): Promise<boolean>;
163
+ /** Waits for an element state (Playwright's `frame.waitForSelector`, without returning a handle). */
164
+ waitForSelector(selector: string, options?: {
165
+ state?: 'attached' | 'detached' | 'visible' | 'hidden';
166
+ timeout?: number;
167
+ }): Promise<void>;
168
+ waitForTimeout(ms: number): Promise<void>;
169
+ /** Waits for the frame to reach a load state (default `load`). */
170
+ waitForLoadState(state?: 'load' | 'domcontentloaded' | 'networkidle', options?: {
171
+ timeout?: number;
172
+ }): Promise<void>;
173
+ /** Runs a function in the frame (local only, like `page.evaluate`). */
174
+ evaluate<R, A = undefined>(fn: (arg: A) => R | Promise<R>, arg?: A): Promise<R>;
175
+ extract(options?: ExtractPageOptions): Promise<ExtractedDocument>;
176
+ }
177
+ /**
178
+ * A browser tab. Provides navigation, content access, extraction, low-level and smart interaction,
179
+ * visual inspection, network monitoring, dialogs, downloads and frames.
180
+ */
181
+ export declare class BashirPage {
182
+ readonly adapter: PageAdapter;
183
+ readonly context: BashirContext;
184
+ readonly services: BrowserServices;
185
+ readonly id: string;
186
+ readonly smart: SmartInteraction;
187
+ readonly visual: VisualInspector;
188
+ readonly network: NetworkMonitor;
189
+ readonly navigation: NavigationManager;
190
+ readonly dialogs: {
191
+ history: DialogRecord[];
192
+ handleNext: (response: {
193
+ accept: boolean;
194
+ promptText?: string;
195
+ }) => void;
196
+ };
197
+ readonly downloads: {
198
+ list: () => DownloadRecord[];
199
+ /** Copies a completed download to `path` (Playwright's `download.saveAs`). Returns the path. */
200
+ saveAs: (id: string, path: string) => Promise<string>;
201
+ /** Deletes a downloaded file from the downloads directory. */
202
+ delete: (id: string) => Promise<void>;
203
+ };
204
+ private readonly consoleBuffer;
205
+ private readonly downloadRecords;
206
+ private readonly pendingDownloads;
207
+ private nextDialog;
208
+ private readonly disposers;
209
+ private closed;
210
+ /** @internal Hooks that make `BashirLocator` actions behave like page actions. */
211
+ readonly locatorHost: LocatorHost;
212
+ private readonly emitter;
213
+ constructor(adapter: PageAdapter, context: BashirContext, services: BrowserServices);
214
+ private onDialog;
215
+ private onDownload;
216
+ /**
217
+ * Subscribes to a page event (Playwright's `page.on`). Returns an unsubscribe function.
218
+ * Frames, popups and downloads are delivered as BashirWeb objects. With a `dialog` listener the
219
+ * listener must accept or dismiss; unhandled dialogs fall back to the safe default.
220
+ */
221
+ on<K extends keyof PageEvents>(event: K, listener: (payload: PageEvents[K]) => unknown): () => void;
222
+ once<K extends keyof PageEvents>(event: K, listener: (payload: PageEvents[K]) => unknown): () => void;
223
+ off<K extends keyof PageEvents>(event: K, listener: (payload: PageEvents[K]) => unknown): void;
224
+ /** Resolves with the next matching event (Playwright's `page.waitForEvent`). */
225
+ waitForEvent<K extends keyof PageEvents>(event: K, options?: {
226
+ predicate?: (payload: PageEvents[K]) => boolean | Promise<boolean>;
227
+ timeout?: number;
228
+ }): Promise<PageEvents[K]>;
229
+ private subscribe;
230
+ private markClosed;
231
+ private assertUsable;
232
+ get isClosed(): boolean;
233
+ /** Navigates to a URL. Returns status, redirects, timing and download detection. */
234
+ goto(url: string, policy?: NavigationPolicy): Promise<NavigationResult>;
235
+ url(): string;
236
+ title(): Promise<string>;
237
+ /** Full HTML of the current document. */
238
+ content(): Promise<string>;
239
+ /** Replaces the document with the given HTML (useful for tests and rendering local content). */
240
+ setContent(html: string, options?: {
241
+ waitUntil?: 'load' | 'domcontentloaded' | 'networkidle';
242
+ }): Promise<void>;
243
+ reload(policy?: NavigationPolicy): Promise<NavigationResult>;
244
+ back(policy?: NavigationPolicy): Promise<NavigationResult | null>;
245
+ forward(policy?: NavigationPolicy): Promise<NavigationResult | null>;
246
+ /** Closes the tab. */
247
+ close(): Promise<void>;
248
+ bringToFront(): Promise<void>;
249
+ /** Captures a screenshot (viewport by default). */
250
+ screenshot(options?: Parameters<VisualInspector['screenshot']>[0]): Promise<ScreenshotResult>;
251
+ /** Evaluates a function in the page. */
252
+ evaluate<R, A = undefined>(fn: (arg: A) => R | Promise<R>, arg?: A): Promise<R>;
253
+ extract(options: ExtractPageOptions & {
254
+ format: 'text' | 'markdown' | 'html';
255
+ }): Promise<string>;
256
+ extract(options?: ExtractPageOptions & {
257
+ format?: 'json' | 'structured';
258
+ }): Promise<ExtractedDocument>;
259
+ /** Structured summary of the page (interactive elements, headings, landmarks, forms). */
260
+ inspect(options?: {
261
+ limit?: number;
262
+ includeHidden?: boolean;
263
+ }): Promise<PageInspection>;
264
+ /** Recent console messages and page errors. */
265
+ consoleMessages(limit?: number): ConsoleMessage[];
266
+ /** Lists frames (main frame first). */
267
+ frames(): BashirFrame[];
268
+ /** @internal */
269
+ wrapFrame(f: FrameAdapter): BashirFrame;
270
+ /** Finds a frame by name, URL substring, or the selector of its <iframe> element. */
271
+ frame(match: string): Promise<BashirFrame>;
272
+ /** Text content of the first element matching `selector` in the main frame (null when absent). */
273
+ textContent(selector: string): Promise<string | null>;
274
+ /**
275
+ * A Playwright-style locator (CSS, `xpath=`/`//...`, `text=`, `by.*` selectors or `[ref=eN]`):
276
+ * strict, auto-waiting and composable (`filter`, `and`, `or`, `nth`, `getBy*`, `frameLocator`).
277
+ * Actions are not approval-guarded unless `guardConsequential` (or
278
+ * `security.approval.guardSelectors`) is set.
279
+ */
280
+ locator(selector: string, options?: LocatorFilterOptions): BashirLocator;
281
+ getByRole(role: AriaRole | (string & {}), options?: ByRoleOptions): BashirLocator;
282
+ getByText(text: string | RegExp, options?: ByTextOptions): BashirLocator;
283
+ getByLabel(text: string | RegExp, options?: ByTextOptions): BashirLocator;
284
+ getByPlaceholder(text: string | RegExp, options?: ByTextOptions): BashirLocator;
285
+ getByAltText(text: string | RegExp, options?: ByTextOptions): BashirLocator;
286
+ getByTitle(text: string | RegExp, options?: ByTextOptions): BashirLocator;
287
+ /** Element by test id (attribute from `browser.testIdAttribute`, default `data-testid`). */
288
+ getByTestId(id: string | RegExp): BashirLocator;
289
+ /** Element by the `[ref=eN]` marker of an AI-mode aria snapshot. */
290
+ getByRef(ref: string): BashirLocator;
291
+ /** Locates inside the iframe matched by `selector`. */
292
+ frameLocator(selector: string): BashirFrameLocator;
293
+ /** Waits for the main frame to reach a load state (Playwright's `page.waitForLoadState`). */
294
+ waitForLoadState(state?: 'load' | 'domcontentloaded' | 'networkidle', options?: {
295
+ timeout?: number;
296
+ }): Promise<void>;
297
+ /** API client sharing this page's context cookies (Playwright's `page.request`). */
298
+ request(): Promise<ApiRequest>;
299
+ /** The top-level frame. */
300
+ mainFrame(): BashirFrame;
301
+ private resolve;
302
+ private rememberFingerprint;
303
+ private guardElement;
304
+ /**
305
+ * Classifies what an activation key (Enter/Space) pressed without a selector would trigger: the focused
306
+ * element and, for Enter inside a form, the form's submit controls.
307
+ */
308
+ private guardFocused;
309
+ /** Keyboard activation on an element: Enter on a field submits its form, so its submit controls count too. */
310
+ private guardActivation;
311
+ private requireIfConsequential;
312
+ private act;
313
+ click(selector: string, options?: InteractionOptions & {
314
+ button?: 'left' | 'right' | 'middle';
315
+ position?: {
316
+ x: number;
317
+ y: number;
318
+ };
319
+ }): Promise<ActionResult>;
320
+ doubleClick(selector: string, options?: InteractionOptions): Promise<ActionResult>;
321
+ rightClick(selector: string, options?: InteractionOptions): Promise<ActionResult>;
322
+ hover(selector: string, options?: InteractionOptions): Promise<ActionResult>;
323
+ tap(selector: string, options?: InteractionOptions): Promise<ActionResult>;
324
+ focus(selector: string, options?: InteractionOptions): Promise<ActionResult>;
325
+ /** Types text key by key (appends to existing content). */
326
+ type(selector: string, text: string, options?: InteractionOptions & {
327
+ delay?: number;
328
+ }): Promise<ActionResult>;
329
+ /** Replaces the value of an input, textarea or contenteditable element. */
330
+ fill(selector: string, value: string, options?: InteractionOptions): Promise<ActionResult>;
331
+ /** Selects options in a <select> by value or label. */
332
+ select(selector: string, values: string | string[], options?: InteractionOptions): Promise<ActionResult>;
333
+ check(selector: string, options?: InteractionOptions): Promise<ActionResult>;
334
+ uncheck(selector: string, options?: InteractionOptions): Promise<ActionResult>;
335
+ /** Presses a key (e.g. "Enter", "Control+A"), optionally focusing a selector first. */
336
+ press(key: string, options?: InteractionOptions & {
337
+ selector?: string;
338
+ }): Promise<ActionResult>;
339
+ /** Uploads files into a file input. Files must be inside security.uploads.allowedDirs. */
340
+ uploadFile(selector: string, files: string | string[], options?: InteractionOptions): Promise<ActionResult>;
341
+ /** Drags one element onto another. */
342
+ dragAndDrop(source: string, target: string, options?: InteractionOptions): Promise<ActionResult>;
343
+ /** Scrolls the page or an element into view. Returns the resulting scroll position. */
344
+ scroll(options?: ScrollOptions): Promise<ActionResult>;
345
+ /** Waits for a selector state, text, URL, load state, network idle or a fixed time. */
346
+ waitFor(options: WaitOptions | string): Promise<ActionResult>;
347
+ /** The page's `localStorage` for its current origin (Playwright's `page.localStorage`). */
348
+ get localStorage(): WebStorageAdapter;
349
+ /** The page's `sessionStorage` for its current origin. */
350
+ get sessionStorage(): WebStorageAdapter;
351
+ private webStorage;
352
+ /** Mouse, keyboard and touch primitives (coordinates are viewport CSS pixels). */
353
+ get mouse(): PageAdapter['mouse'];
354
+ get keyboard(): PageAdapter['keyboard'];
355
+ get touchscreen(): PageAdapter['touchscreen'];
356
+ /** Runs `trigger` and resolves with the download it starts (after it is saved and policy-checked). */
357
+ waitForDownload(trigger: () => Promise<unknown>, timeout?: number): Promise<DownloadRecord>;
358
+ /** Runs `trigger` and resolves with the popup/new tab it opens. */
359
+ waitForPopup(trigger: () => Promise<unknown>, timeout?: number): Promise<BashirPage>;
360
+ /** Counts elements matching `selector` without waiting. */
361
+ count(selector: string): Promise<number>;
362
+ private single;
363
+ /** True when an element matches and is visible. Missing elements are not visible. */
364
+ isVisible(selector: string, options?: QueryOptions): Promise<boolean>;
365
+ isHidden(selector: string, options?: QueryOptions): Promise<boolean>;
366
+ isEnabled(selector: string, options?: QueryOptions): Promise<boolean>;
367
+ isDisabled(selector: string, options?: QueryOptions): Promise<boolean>;
368
+ isEditable(selector: string, options?: QueryOptions): Promise<boolean>;
369
+ /** Checked state of a checkbox/radio (or ARIA checked); throws for other elements. */
370
+ isChecked(selector: string, options?: QueryOptions): Promise<boolean>;
371
+ /** Current value of an input, textarea or select. */
372
+ inputValue(selector: string, options?: QueryOptions): Promise<string>;
373
+ /** Rendered text of an element (respects CSS, unlike textContent). */
374
+ innerText(selector: string, options?: QueryOptions): Promise<string>;
375
+ innerHTML(selector: string, options?: QueryOptions): Promise<string>;
376
+ /** Attribute value, or null when the element lacks it. */
377
+ getAttribute(selector: string, name: string, options?: QueryOptions): Promise<string | null>;
378
+ /** Text content of every element matching `selector`. */
379
+ allTextContents(selector: string): Promise<string[]>;
380
+ /** Rendered text of every element matching `selector`. */
381
+ allInnerTexts(selector: string): Promise<string[]>;
382
+ /** Clears an input or textarea. */
383
+ clear(selector: string, options?: InteractionOptions): Promise<ActionResult>;
384
+ /** Sets a checkbox/radio to the given state (no-op when it already matches). */
385
+ setChecked(selector: string, checked: boolean, options?: InteractionOptions): Promise<ActionResult>;
386
+ /** Selects all text of an input or element. */
387
+ selectText(selector: string, options?: InteractionOptions): Promise<ActionResult>;
388
+ /** Removes focus from an element. */
389
+ blur(selector: string, options?: InteractionOptions): Promise<ActionResult>;
390
+ /** Dispatches a DOM event (e.g. "click", "dragstart") on an element regardless of visibility. */
391
+ dispatchEvent(selector: string, type: string, eventInit?: Record<string, unknown>, options?: InteractionOptions): Promise<ActionResult>;
392
+ /**
393
+ * Drops files or data onto an element (drag-and-drop upload zones). Files must be inside
394
+ * `security.uploads.allowedDirs`, as with `uploadFile`.
395
+ */
396
+ dropFiles(selector: string, payload: {
397
+ files?: string | string[];
398
+ data?: Record<string, string>;
399
+ }, options?: InteractionOptions): Promise<ActionResult>;
400
+ /**
401
+ * Handles a native file chooser opened by `trigger` (e.g. clicking a styled "Upload" button) and
402
+ * selects `files`, which must be inside `security.uploads.allowedDirs`.
403
+ */
404
+ chooseFiles(trigger: () => Promise<unknown>, files: string | string[], timeout?: number): Promise<ActionResult>;
405
+ private checkUpload;
406
+ /** Outlines matching elements in the page for debugging (headed mode). */
407
+ highlight(selector: string): Promise<void>;
408
+ /**
409
+ * YAML accessibility snapshot of the page (or of `selector`). In `ai` mode every interactive node
410
+ * carries a `[ref=eN]` marker that `by.ref("eN")` (selector `aria-ref=eN`) resolves to.
411
+ */
412
+ ariaSnapshot(options?: AriaSnapshotOptions & {
413
+ selector?: string;
414
+ }): Promise<string>;
415
+ /** Prints the page to PDF (Chromium only). Emulates print media unless `emulateMedia` set otherwise. */
416
+ pdf(options?: PdfOptions & {
417
+ path?: string;
418
+ }): Promise<PdfResult>;
419
+ /**
420
+ * The page's video when its context records video (`newContext({ recordVideo: { dir } })`).
421
+ * The file is complete after the page or context closes.
422
+ */
423
+ video(): {
424
+ path(): Promise<string>;
425
+ saveAs(path: string): Promise<void>;
426
+ delete(): Promise<void>;
427
+ } | null;
428
+ /** Streams JPEG frames of the page (and/or writes a video to `path`) until `stopScreencast()`. */
429
+ startScreencast(options?: {
430
+ path?: string;
431
+ onFrame?: (frame: ScreencastFrame) => void | Promise<void>;
432
+ size?: Viewport;
433
+ quality?: number;
434
+ }): Promise<void>;
435
+ stopScreencast(): Promise<void>;
436
+ /** Emulates media type and user preferences (`null` resets an item). */
437
+ emulateMedia(options: MediaEmulation): Promise<void>;
438
+ /** Resizes the viewport. */
439
+ setViewport(viewport: Viewport): Promise<void>;
440
+ viewport(): Viewport | null;
441
+ /** Headers added to every request from this page. */
442
+ setExtraHTTPHeaders(headers: Record<string, string>): Promise<void>;
443
+ /**
444
+ * Fake timers: `page.clock.install({ time })`, then `fastForward`, `runFor`, `pauseAt`, `resume`,
445
+ * `setFixedTime` or `setSystemTime` control Date, setTimeout, setInterval and requestAnimationFrame.
446
+ */
447
+ get clock(): ClockAdapter;
448
+ /** JS/CSS coverage (Chromium only; null on other engines). */
449
+ get coverage(): CoverageAdapter | null;
450
+ /** Runs a script in the page and its frames before any page script, on every navigation. */
451
+ addInitScript<A>(script: string | ((arg: A) => unknown), arg?: A): Promise<void>;
452
+ /** Injects a `<script>` (inline `content` or `url`, loaded under the network policy). */
453
+ addScriptTag(options: {
454
+ content?: string;
455
+ url?: string;
456
+ type?: string;
457
+ }): Promise<void>;
458
+ /** Injects a `<style>` (inline `content`) or stylesheet link (`url`). */
459
+ addStyleTag(options: {
460
+ content?: string;
461
+ url?: string;
462
+ }): Promise<void>;
463
+ /** Exposes a Node.js function to the page as `window[name]` (returns a promise in the page). */
464
+ exposeFunction(name: string, fn: (...args: never[]) => unknown): Promise<void>;
465
+ /** Waits until `fn` returns a truthy value in the page. */
466
+ waitForFunction<A>(fn: (arg: A) => unknown, arg?: A, options?: {
467
+ timeout?: number;
468
+ polling?: number;
469
+ }): Promise<void>;
470
+ /**
471
+ * Registers a handler for an overlay that can block actions (cookie banner, newsletter modal).
472
+ * Whenever an element matching `selector` is visible before an action, the handler runs first.
473
+ * The handler is your code: it decides what to click (a "Reject all" button, for instance).
474
+ */
475
+ addLocatorHandler(selector: string, handler: (page: BashirPage) => Promise<void>, options?: {
476
+ times?: number;
477
+ noWaitAfter?: boolean;
478
+ }): Promise<void>;
479
+ removeLocatorHandler(selector: string): Promise<void>;
480
+ /**
481
+ * Serves matching requests from a HAR file. Missing entries are aborted by default; with
482
+ * `notFound: "fallback"` they go to the network under the normal network policy.
483
+ */
484
+ routeFromHAR(path: string, options?: HarReplayOptions): Promise<void>;
485
+ /** Answers matching requests from a handler or canned response (see `NetworkMonitor.mock`). */
486
+ mock(...args: Parameters<NetworkMonitor['mock']>): ReturnType<NetworkMonitor['mock']>;
487
+ /** Removes page mocks for `match` (optionally only those registered with `handler`); Playwright's `page.unroute`. */
488
+ unmock(...args: Parameters<NetworkMonitor['unmock']>): Promise<number>;
489
+ /**
490
+ * Replaces the server for WebSockets whose URL matches: the handler receives a connection to the
491
+ * page and can send messages, react to them and close. No network connection is made.
492
+ */
493
+ mockWebSocket(match: UrlMatch, handler: (ws: MockWebSocketConnection) => void): Promise<() => Promise<void>>;
494
+ /** Resolves with the next matching request (URL and headers redacted). */
495
+ waitForRequest(...args: Parameters<NetworkMonitor['waitForRequest']>): ReturnType<NetworkMonitor['waitForRequest']>;
496
+ /** Resolves with the next matching response; its body can be read once. */
497
+ waitForResponse(match: UrlMatch, options?: {
498
+ timeout?: number;
499
+ status?: number;
500
+ }): Promise<CapturedResponse>;
501
+ /** Web workers currently running in the page. */
502
+ workers(): Array<{
503
+ url: string;
504
+ }>;
505
+ /** Asks the engine to run garbage collection (useful for leak checks). */
506
+ requestGC(): Promise<void>;
507
+ /** Opens the Playwright Inspector and pauses the script. Only available in headed mode. */
508
+ pause(): Promise<void>;
509
+ /** Remove listeners and close the page (alias of close used by owners). */
510
+ dispose(): Promise<void>;
511
+ }
512
+ //# sourceMappingURL=page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../src/page.ts"],"names":[],"mappings":"AAaA,OAAO,EAAmB,KAAK,iBAAiB,EAAE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