/** * Decorates the browser context with the visit method for navigating * to URLs or using page models. * * @example * ```ts * // Visit a URL directly * const page = await context.visit('https://example.com') * * // Visit using a page model and get the instance * const loginPage = await context.visit(LoginPage) * await loginPage.login('user@example.com', 'password') * * // Visit using a page model with a callback * await context.visit(LoginPage, async (page) => { * await page.login('user@example.com', 'password') * }) * ``` */ export declare const addVisitMethod: { /** * Adds the visit method to the browser context * * @param context - The Playwright browser context to decorate */ context(context: import("playwright").BrowserContext): void; };