MCPcopy
hub / github.com/alixaxel/chrome-aws-lambda / Page

Interface Page

typings/chrome-aws-lambda.d.ts:295–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 }
294
295 interface Page {
296 /**
297 * Blocks URLs from loading without initializing request interception.
298 * Experimental: https://chromedevtools.github.io/devtools-protocol/tot/Network/#method-setBlockedURLs
299 *
300 * @param patterns - URL patterns to block, wildcards `*` are allowed.
301 */
302 block(patterns: string[]): Promise<void>;
303
304 /**
305 * Selects all text in a editable element and clears it.
306 *
307 * @param selector - Selector to query for.
308 */
309 clear(selector: string): Promise<void>;
310
311 /**
312 * Clicks an element and waits for navigation to finish.
313 *
314 * @param selector - Selector to query for.
315 * @param options - Options to configure when the navigation is consided finished.
316 */
317 clickAndWaitForNavigation(selector: string, options?: WaitForOptions): Promise<HTTPResponse>;
318
319 /**
320 * Clicks an element and waits for a request to be initiated.
321 *
322 * @param selector - Selector to query for.
323 * @param predicate - URL pattern to wait for, wildcards `*` are allowed.
324 * @param options - Optional waiting parameters.
325 */
326 clickAndWaitForRequest(selector: string, predicate: string | RegExp, options?: WaitTimeoutOptions): Promise<HTTPRequest>;
327
328 /**
329 * Clicks an element and waits for a request to be initiated.
330 *
331 * @param selector - Selector to query for.
332 * @param predicate - Predicate to wait for.
333 * @param options - Optional waiting parameters.
334 */
335 clickAndWaitForRequest(selector: string, predicate: ((request: HTTPRequest) => boolean | Promise<boolean>), options?: WaitTimeoutOptions): Promise<HTTPRequest>;
336
337 /**
338 * Clicks an element and waits for a request to be finalized.
339 *
340 * @param selector - Selector to query for.
341 * @param predicate - URL pattern to wait for, wildcards `*` are allowed.
342 * @param options - Optional waiting parameters.
343 */
344 clickAndWaitForResponse(selector: string, predicate: string | RegExp, options?: WaitTimeoutOptions): Promise<HTTPResponse>;
345
346 /**
347 * Clicks an element and waits for a request to be finalized.
348 *
349 * @param selector - Selector to query for.
350 * @param predicate - Predicate to wait for.
351 * @param options - Optional waiting parameters.
352 */

Callers 24

FrameManager.tsFile · 0.65
Page.tsFile · 0.65
Page.tsFile · 0.65
Page.tsFile · 0.65
Page.tsFile · 0.65
Page.tsFile · 0.65
Page.tsFile · 0.65
FrameManager.tsFile · 0.65
Page.tsFile · 0.65
FrameManager.tsFile · 0.65
Page.tsFile · 0.65
FrameManager.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…