python2.7 + selenium + google chrome stable + webdriver + UTF-8 enabled + xvfb = Perfect Auto Test
10K+
Assume you're in your project folder.
On host, use the command to get in:
$ docker run -it -v $(pwd):/data bluet/python-selenium-chrome
This will share your "current folder" with docker at "/data".
Once in, simply setup basic environment:
# /init-env.sh
# source env/bin/activate
And then, enjoy:
# python ./t/1-lalala.py
chrome_driver = /usr/local/bin/chromedriver chrome_binary = /usr/bin/google-chrome-stable
Content type
Image
Digest
Size
372.3 MB
Last updated
over 8 years ago
docker pull bluet/python-selenium-chrome