← Back to Discord Forum

How to bypass the "Google Safebrowsing" warning page with Firefox in Python?

There are some sites that I'm bumping into that have the red warning screen from Google Safebrowsing. These pages are hitting the timeout of the page rather than any other safebrowsing error.

I'd like to bypass the safebrowsing red warning page, how can I?

This thread is trying to answer question "How can I bypass the Google Safebrowsing red warning page with Firefox in Python?"

1 reply

Looks to work:

with sync_playwright() as p:
    browser = p.firefox.launch(firefox_user_prefs={'browser.safebrowsing.malware.enabled': False,
                                                   'browser.safebrowsing.phishing.enabled': False})

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.