Skip to content Skip to sidebar Skip to footer

Why Would Using Selenium Webdriver To Execute Js Fine Locally On My Mac, But Not In A Docker Container?

Docker environment: Docker Container, ubuntu:18.10, geckodriver-v0.23.0-linux64, selenium-3.14.1 Local environment: Mac OSX, geckodriver-v0.23.0-linux64, selenium-3.14.1 Why would

Solution 1:

It was a resource related issue like @Andersson suggested. Adding an appropriate shm_size in docker-compose.yml fixed the issue in both Chrome and Firefox Gecko webdrivers.

https://docs.docker.com/compose/compose-file/#shm_size

Post a Comment for "Why Would Using Selenium Webdriver To Execute Js Fine Locally On My Mac, But Not In A Docker Container?"