puppeteer-extra-plugin-timezone
Version:
A puppeteer-extra plugin to automatically emulate the appropriate timezones using IP reflection services.
26 lines (25 loc) • 742 B
TypeScript
/**
* Define the plugin name to report to extra.
* @type {string}
*/
export declare const PLUGIN_NAME: string;
/**
* Specify primary ip reflection url.
* @type {string}
*/
export declare const IP_REFLECTION_URL: string;
/**
* Define an array of fallback zones to randomly select from.
* @type {string[]}
*/
export declare const DEFAULT_FALLBACK_TIMEZONES: string[];
/**
* The proxy server that will be used for testing.
*
* Warning: it has to be located in a location that has a different timezone than your system is using.
* Otherwise, the testing suite will fail.
*
* Note: you can get free proxies that works for testing from webshare.
* @type {string}
*/
export declare const TESTING_PROXY_SERVER = "45.95.96.132:8691";