Interface: FETablePage
Minimal page interface for FE table operations.
Example
const page: FETablePage = {
evaluate: async (s) => ({}),
waitForFunction: async (s) => undefined,
};
Methods
evaluate()
evaluate<
TResult>(pageFunction,arg?):Promise<TResult>
Executes a script in the browser context and returns the result.
Type Parameters
TResult
TResult
Parameters
pageFunction
string
arg?
unknown
Returns
Promise<TResult>
waitForFunction()
waitForFunction(
pageFunction,arg?,options?):Promise<unknown>
Waits until a browser-side predicate returns a truthy value.
Parameters
pageFunction
string
arg?
unknown
options?
polling?
number
timeout?
number
Returns
Promise<unknown>