DEV Community

Discussion on: Serverless web scraper in Ruby - tutorial

Collapse
 
mknycha profile image
Marcin K.

Hmmm I have just tried re-doing this tutorial on a new lambda function but I was not able to replicate this issue. So in Docker it works fine, but the issue appears only after upload to lambda?
What is the exact selenium-webdriver gem version that you're using?

Collapse
 
kronos35 profile image
Kronos35 • Edited

Hey, I used the exact same version used in this tutorial, but it looks like they changed headless chrome a little bit. Anyways whatever the case I managed to make it work by adding --disable-dev-shm-usage to the Selenium Chrome options.

You should update the tutorial to include this option.

Thread Thread
 
mknycha profile image
Marcin K.

Ok, I will. Thanks for your comment