UNPKG

@ngx-playwright/test

Version:
17 lines 1.1 kB
/** @typedef {import('./types.js').PlaywrightHarnessEnvironmentOptions} PlaywrightHarnessEnvironmentOptions */ /** * Create a harness environment for the given page * * The returned environment will remain in action even after page navigation, though all elements created by the environment will be invalidated. * * @param {import('@playwright/test').Page} page The page to create an environment for * @param {Readonly<PlaywrightHarnessEnvironmentOptions>} [options] Options for the environment * @returns {PlaywrightHarnessEnvironment} The harness environment * @public */ export function createEnvironment(page: import("@playwright/test").Page, options?: Readonly<PlaywrightHarnessEnvironmentOptions>): PlaywrightHarnessEnvironment; export { PlaywrightHarnessEnvironment }; export type PlaywrightHarnessEnvironmentOptions = import("./types.js").PlaywrightHarnessEnvironmentOptions; import { PlaywrightHarnessEnvironment } from "./environment.js"; export { autoStabilize, manuallyStabilize, isAutoStabilizing } from "./change-detection.js"; //# sourceMappingURL=../../src/harness/index.d.ts.map