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

Interface Frame

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

Source from the content-addressed store, hash-verified

145 }
146
147 interface Frame {
148 /**
149 * Selects all text in a editable element and clears it.
150 *
151 * @param selector - Selector to query for.
152 */
153 clear(selector: string): Promise<void>;
154
155 /**
156 * Clicks an element and waits for navigation to finish.
157 *
158 * @param selector - Selector to query for.
159 * @param options - Options to configure when the navigation is consided finished.
160 */
161 clickAndWaitForNavigation(selector: string, options?: WaitForOptions): Promise<HTTPResponse>;
162
163 /**
164 * Clicks an element and waits for a request to be initiated.
165 *
166 * @param selector - Selector to query for.
167 * @param pattern - URL pattern to wait for, wildcards `*` are allowed.
168 * @param options - Optional waiting parameters.
169 */
170 clickAndWaitForRequest(selector: string, predicate: string | RegExp, options?: WaitTimeoutOptions): Promise<HTTPRequest>;
171
172 /**
173 * Clicks an element and waits for a request to be initiated.
174 *
175 * @param selector - Selector to query for.
176 * @param pattern - Predicate to wait for.
177 * @param options - Optional waiting parameters.
178 */
179 clickAndWaitForRequest(selector: string, predicate: ((request: HTTPRequest) => boolean | Promise<boolean>), options?: WaitTimeoutOptions): Promise<HTTPRequest>;
180
181 /**
182 * Clicks an element and waits for a request to be finalized.
183 *
184 * @param selector - Selector to query for.
185 * @param predicate - URL pattern to wait for, wildcards `*` are allowed.
186 * @param options - Optional waiting parameters.
187 */
188 clickAndWaitForResponse(selector: string, predicate: string | RegExp, options?: WaitTimeoutOptions): Promise<HTTPResponse>;
189
190 /**
191 * Clicks an element and waits for a request to be finalized.
192 *
193 * @param selector - Selector to query for.
194 * @param predicate - Predicate to wait for.
195 * @param options - Optional waiting parameters.
196 */
197 clickAndWaitForResponse(selector: string, predicate: ((request: HTTPResponse) => boolean | Promise<boolean>), options?: WaitTimeoutOptions): Promise<HTTPResponse>;
198
199 /**
200 * Returns the total number of elements that match the selector.
201 *
202 * @param selector - Selector to query for.
203 */
204 count(selector: string): Promise<number>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…