@serenity-js/playwright
Version:
Adapter that integrates @serenity-js/web with Playwright, enabling Serenity/JS reporting and using the Screenplay Pattern to write component and end-to-end test scenarios
15 lines • 553 B
TypeScript
import type { CookieData } from '@serenity-js/web';
import { Cookie } from '@serenity-js/web';
import type * as playwright from 'playwright-core';
/**
* Playwright-specific implementation of [`Cookie`](https://serenity-js.org/api/web/class/Cookie/).
*
* @group Models
*/
export declare class PlaywrightCookie extends Cookie {
private readonly context;
constructor(context: playwright.BrowserContext, cookieName: string);
delete(): Promise<void>;
protected read(): Promise<CookieData>;
}
//# sourceMappingURL=PlaywrightCookie.d.ts.map