UNPKG

@0xtld/tair-node

Version:

A Node.js package for Tair functionality with configuration, core, and helper modules.

25 lines 735 B
interface PupBrowserConfigs { site_key: string; site_url: string; urls_to_block: string[]; } /** * @description A class to interact with a browser for solving reCAPTCHAs */ declare class PupBrowser { private browser; private page; private configs; constructor(configs: PupBrowserConfigs); init(): Promise<void>; goto(url: string): Promise<void>; /** * @description Get the reCAPTCHA token for a given action. Just only support reCAPTCHA Enterprise V3 * @param action string * @returns Promise<string> */ getRecaptchaToken(action?: string): Promise<string>; } export { PupBrowserConfigs, PupBrowser }; export default PupBrowser; //# sourceMappingURL=pup-browser.d.ts.map