← Back to Discord Forum

Browser stops loading pages when minimized (Python+Firefox+Windows)

I'm running the latest version of async playwright on Windows 10, with Firefox. My script is running as expected, but only as long as the window is maximized.

When I minimize it, I start getting timeout errors, and the browser just doesn't load the webpage at all.

I can't run headless, and can't use other browsers. Already tried changing these firefox params, but didn't help:

firefox_user_prefs = { "browser.tabs.unloadOnLowMemory": False, "dom.min_background_timeout_value": 10, "dom.min_tracking_background_timeout_value": 10, "dom.timeout.throttling_delay": 600000, "network.http.throttle.enable": False, }

Are there any settings or tricks to make it active in the background?

This thread is trying to answer question "Are there any settings or tricks to make the script running on async playwright with Firefox active in the background on Windows 10?"

0 replies

Related Discord Threads

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.