UNPKG

playwright-cleanup

Version:

A Playwright cleanup plugin

16 lines (15 loc) 408 B
import { Options } from "./options"; export declare class Cleanup { private _supressLogging; private _cleanupList; constructor(options: Options); /** * * @param cleanupFunction Insert a cleanup function to the cleanup stack. */ addCleanup(cleanupFunction: Function): void; /** * @deprecated Don't use this method directly. */ finalize(): Promise<void>; }