#No option for ignoring SSL Errors with PlaywrightCrawler?

1 messages · Page 1 of 1 (latest)

humble lark
#

Just to confirm that there is no option to configure the PlaywrightCrawler to ignore any SSL Errors with HTTPS requests.
Now they throw CERT errors.

chilly merlin
#

Our team will reply here soon. Expect a little delay due to few holidays. 🙂

young sluice
#

Hi, unfortunately I didn't find such option in the docs. But you can pass command line argument to the browser to ignore SSL errors (works only on chromium though):

const crawler = new PlaywrightCrawler({
    launchContext: {
        launchOptions: {
            args: ['--ignore-certificate-errors'],
        },
    },
});
humble lark
#

Thank you for the reply. I think that's indeed what I ended up doing.