UNPKG

puppeteer-extra-plugin-timezone

Version:

A puppeteer-extra plugin to automatically emulate the appropriate timezones using IP reflection services.

14 lines 524 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TimezoneNotResolvedError = void 0; /** * Throws on new page if no timezone could be found, and no fallbacks are provided. */ class TimezoneNotResolvedError extends Error { constructor(browserId) { super(`No timezone was resolved for browser ${browserId}, no emulation occurring.`); this.browserId = browserId; } } exports.TimezoneNotResolvedError = TimezoneNotResolvedError; //# sourceMappingURL=exceptions.js.map