Why is my Selenium Docker image differing in behaviour when running locally vs when running on a host server?
I’ve been trying to deploy a NodeJS scraper selenium browser to docker, and host it on a dedicated server. When I run it locally, it works as intended. One of the problems I’ve encountered is that selenium can’t load an extension into the browser unless run headfully, so I’m using Xvfb – again, this works locally. I’m trying to add cookies to my driver to automate login after navigating to my desired url, which leads to an invalid cookie domain error: