nest-puppeteer
Version:
Puppeteer (Headless Chrome) provider for Nest.js
16 lines (15 loc) • 646 B
TypeScript
/**
* Get a token for the Puppeteer instance for the given Browser name
* @param instanceName The unique name for the Puppeteer instance
*/
export declare function getBrowserToken(instanceName?: string): string;
/**
* Get a token for the Puppeteer instance for the given BrowserContext name
* @param instanceName The unique name for the Puppeteer instance
*/
export declare function getContextToken(instanceName?: string): string;
/**
* Get a token for the Puppeteer instance for the given Page name
* @param instanceName The unique name for the Puppeteer instance
*/
export declare function getPageToken(instanceName?: string): string;