Does selenium work in docker?
There is no need to set up the required browsers and browser drivers on the host machine when using Selenium with Docker.
All in all, using pre-made Docker containers to run Selenium web automation testing is much faster than installing and configuring the Selenium Grid.