UNPKG

request-mocking-protocol

Version:
8 lines 387 B
/** * Playwright interceptor. * Used in Playwright tests to mock page requests with the same syntax as for server requests. */ import { Page, BrowserContext } from '@playwright/test'; import { MockClient } from '../client'; export declare function setupPlaywrightInterceptor(page: Page | BrowserContext, mockClient: MockClient): Promise<void>; //# sourceMappingURL=playwright.d.ts.map