Apify and Crawlee Official Forum

Updated 3 months ago

Playwright with Firefox: New Windows vs Tabs and Chromium-specific Features

Hey Playwright community! I've been using Firefox with Playwright because it uses less CPU, but I've run into a couple of issues I'd love some help with:

  1. New Windows Instead of Tabs
    I'm running Firefox in headless: false mode to check how things look, and I've noticed it opens new windows for each URL instead of opening new tabs. Is there a way to configure this behavior? I'd prefer to have new tabs open instead of separate windows.
  1. Chromium-specific Features in Firefox
    I'm getting this warning when using Firefox:
    Plain Text
    WARN Playwright Utils: blockRequests() helper is incompatible with non-Chromium browsers.

    Are there any polyfills or workarounds for the playwrightUtils features that are Chromium-specific? I'd like to use blockRequests() or similar functionality with Firefox if possible.
Any insights or suggestions would be greatly appreciated! Thanks in advance for your help.

#playwright #firefox
Add a reply
Sign up and join the conversation on Discord