To start a small grid with 1 Chrome and 1 Firefox node you can run the following commands: $ docker run -d -p 4444:4444 -name selenium-hub selenium/hub:3. docker container provides only the browser. docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome. If you want to assign the port, run the below command. Important point to note and understand – the test scripts are running in local machine or invoked from local machine. _ Docker selenium pythonĭocker selenium python Just suppose you are filling some forms daily on the web from a file and wasting hours doing this or doing another browser task.