donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
27 lines • 1.23 kB
TypeScript
import { Request, Response } from 'express';
import { DonobuFlowsManager } from '../managers/DonobuFlowsManager';
/**
* This class defines the API for special flows (i.e. flows that are essentially
* pre-defined and have a specific purpose).
*/
export declare class SpecialFlowsApi {
private readonly donobuFlowsManager;
constructor(donobuFlowsManager: DonobuFlowsManager);
analyzeCookieConsent(req: Request, res: Response): Promise<void>;
detectBrokenLinks(req: Request, res: Response): Promise<void>;
extractPublicFacebookEntityData(req: Request, res: Response): Promise<void>;
extractPaymentProviderData(req: Request, res: Response): Promise<void>;
extractGoogleStreetviewEntityData(req: Request, res: Response): Promise<void>;
private divineTargetEntityDataFromGoogleMapUrl;
private wrapUp;
private wrapUpWithStreetDataRecovery;
private parseUrl;
private useDevice;
/**
* Returns a BrowserConfig for BrowserBase if the BROWSERBASE_PROJECT_ID and
* BROWSERBASE_API_KEY environment variables are present, otherwise, returns a
* BrowserConfig for the given device name.
*/
private maybeUseBrowserBase;
}
//# sourceMappingURL=SpecialFlowsApi.d.ts.map