UNPKG

rebrowser-puppeteer-core

Version:

A drop-in replacement for puppeteer-core patched with rebrowser-patches. It allows to pass modern automation detection tests.

24 lines 405 B
/** * @license * Copyright 2023 Google Inc. * SPDX-License-Identifier: Apache-2.0 */ import fs from 'fs'; const rmOptions = { force: true, recursive: true, maxRetries: 5, }; /** * @internal */ export async function rm(path) { await fs.promises.rm(path, rmOptions); } /** * @internal */ export function rmSync(path) { fs.rmSync(path, rmOptions); } //# sourceMappingURL=fs.js.map