import { Browser, BrowserContext, BrowserContextOptions, Page } from 'playwright'; import { Provider } from "../../provider"; /** * Context data that Page provder needs. */ export declare type Needs = { /** * Browser to use to create the page. If not given a chromium browser will be automatically created and used. */ browser?: Browser; }; /** * Page provider's options. */ export declare type Params = { browserContextOptions?: BrowserContextOptions; }; /** * Context data that Page provider contributes. */ export declare type Contributes = { page: Page; browserContext: BrowserContext; }; export declare const paramDefaults: Required; /** * Add a Playwright page to the context (`.page`). * * If the context has a browser (`.browser`) then it will be used to create the page. * Otherwise a chromium browser will be automatically created and used. */ export declare const create: (params?: Params | undefined) => Provider; //# sourceMappingURL=Page.d.ts.map