puppeteer-extra-plugin-timezone
Version:
A puppeteer-extra plugin to automatically emulate the appropriate timezones using IP reflection services.
34 lines • 1.07 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.TESTING_PROXY_SERVER = exports.DEFAULT_FALLBACK_TIMEZONES = exports.IP_REFLECTION_URL = exports.PLUGIN_NAME = void 0;
/**
* Define the plugin name to report to extra.
* @type {string}
*/
exports.PLUGIN_NAME = "timezone";
/**
* Specify primary ip reflection url.
* @type {string}
*/
exports.IP_REFLECTION_URL = "https://lumtest.com/myip.json";
/**
* Define an array of fallback zones to randomly select from.
* @type {string[]}
*/
exports.DEFAULT_FALLBACK_TIMEZONES = [
"Eastern Standard Time",
"Central Standard Time",
"Mountain Standard Time",
"Pacific Standard Time"
];
/**
* 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}
*/
exports.TESTING_PROXY_SERVER = "45.95.96.132:8691";
//# sourceMappingURL=constants.js.map
;