Esc

Start typing to search the docs

FirefoxIsolatedPage

1 min read · 115 words

View as Markdown

@openpolyfill/firefox-addon-playwright-harness


@openpolyfill/firefox-addon-playwright-harness / FirefoxIsolatedPage

Interface: FirefoxIsolatedPage

Defined in: src/types.ts:75

Methods

evaluate()

evaluate<R>(pageFunction, …args): Promise<R>

Defined in: src/types.ts:76

Type Parameters

R

R = unknown

Parameters

pageFunction

string | ((…args) => R | Promise<R>)

args

…unknown[]

Returns

Promise<R>


waitForFunction()

waitForFunction<R>(pageFunction, arg?, options?): Promise<R>

Defined in: src/types.ts:80

Type Parameters

R

R = unknown

Parameters

pageFunction

string | ((…args) => R | Promise<R>)

arg?

unknown

options?

EvaluateOptions

Returns

Promise<R>