Apify and Crawlee Official Forum

Home
Members
Calypso
C
Calypso
Offline, last seen 3 months ago
Joined October 7, 2024
when i use puppeteer & fingerprint injector with generator, some redirects make puppeteer on page firefox/chromium stuck
after these redirections the page stops logging my interceptors (they just write the url), the page stops responding to the resize

if I create a new page manually in this browser and follow the link with redirections, it's fine
without injector and generator everything works fine too

I'm not sure I can provide those links for some reason, but the problem is clearly related to the fingerprint injector
the main link has pointers to other links
Plain Text
browser = await puppeteer
    .launch({
        browser: "firefox",
        headless: false,
        devtools: true,
        args: ['--disable-web-security', '--allow-running-insecure-content'],
    });

const fingerprintGenerator = new FingerprintGenerator();
const fingerprint = fingerprintGenerator.getFingerprint();
const injector = new FingerprintInjector();

let page = await browser.newPage();
await injector.attachFingerprintToPuppeteer(page, fingerprint);
await page.goto("...");
4 comments
L
C