Sign inSign up

bluet/python-selenium-chrome

By bluet

Updated over 8 years ago

python2.7 + selenium + google chrome stable + webdriver + UTF-8 enabled + xvfb = Perfect Auto Test

Image
1

10K+

bluet/python-selenium-chrome repository overview

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

Tag summary

Content type

Image

Digest

Size

372.3 MB

Last updated

over 8 years ago

docker pull bluet/python-selenium-chrome