playwright-elements
Version:
This is Playwright extension.
14 lines (13 loc) • 755 B
TypeScript
import { Page, Response } from '@playwright/test';
export { expect } from '@playwright/test';
type GoToOptions = {
referer?: string | undefined;
timeout?: number | undefined;
waitUntil?: 'load' | 'domcontentloaded' | 'networkidle' | 'commit' | undefined;
};
export declare const test: import("@playwright/test").TestType<import("@playwright/test").PlaywrightTestArgs & import("@playwright/test").PlaywrightTestOptions & {
implicitNavigation: void;
goto: (endpoint?: string, options?: GoToOptions) => Promise<null | Response>;
initBrowserInstance: void;
usePage: <T>(page: Page, callback: () => Promise<T>) => Promise<T>;
}, import("@playwright/test").PlaywrightWorkerArgs & import("@playwright/test").PlaywrightWorkerOptions>;