Start a new topic

Error starting Chromedriver in spider

Hi.
I did everything like explained here: https://support.scrapinghub.com/support/solutions/articles/22000240310-deploying-custom-docker-image-with-selenium-on-scrapy-cloud

But keep getting

 

selenium.common.exceptions.WebDriverException: Message: invalid argument: 'firstMatch' must contain at least one entry

The error is  happening in the line

  self.driver = webdriver.Chrome(chrome_options=options, executable_path='/usr/bin/chromedriver')


My project and job: https://app.scrapinghub.com/p/398342/8/1/log 


1 person has this question

Hi Gabriel,


I converted your topic into a support ticket. As a paying customer, you can open support tickets from your dashboard, under Help - Contact Support. Someone in support team will get back to you on this tomorrow. 

Hei, having exactly the same issue (((

The issue occurs mostly when there is a problem with a Dockerfile, there is a tutorial available here its for py2 just follow the steps and it will run smoothly, if you are using py3 just change first 2 lines


Change following

FROM scrapinghub/scrapinghub-stack-scrapy:1.3 RUN apt-get install zip unzip
to

FROM scrapinghub/scrapinghub-stack-scrapy:1.5-py3

RUN apt-get install unzip


Login to post a comment