Supercharged-Web-Scraping-with-Asyncio icon indicating copy to clipboard operation
Supercharged-Web-Scraping-with-Asyncio copied to clipboard

code for lesson 6 triggers an error

Open maiiabocharova opened this issue 2 years ago • 0 comments

Hi, while following along with your course I had a problem with code for lesson 6

This is the error which I got when trying to run the code

raise exception_class(message, screen, stacktrace)
arsenic.errors.UnknownArsenicError: ('invalid argument: unrecognized capability: chromeOptions', None, '0   chromedriver

The solution which I found was adding

browser.capabilities = {"goog:chromeOptions": {"args": ["--headless", 
                                                        "--no-sandbox", 
                                                        "--disable-dev-shm-usage"]}}

But maybe it's not the only solution?

maiiabocharova avatar Feb 23 '22 17:02 maiiabocharova