There are two essential parts when configuring selenium, which are Chrome application and
chromedriver is just a executable binary file. I can just put it in the repository and call in the script. The problem is how to install the browser.
Dockerfile shows how to install deb file. I haven't tried yet because docker-machine fails to run on my machine when I found this.
I found another
docker-compose.yml. this is more convinient than the above method because with this all we need is set the
command_executor to be
http://127.0.0.1:4444/wd/hub and the browser can be dropped.
Last Edited on Jan 29, 2020