docker-python-chromedriver
docker-python-chromedriver copied to clipboard
Dockerfile for running Python Selenium in headless Chrome (Python 2.7 / 3.6 / 3.7 / 3.8 / Alpine based Python / Chromedriver / Selenium / Xvfb included in different versions)
I've tested both images ```3.8-selenium``` and ```3.9-selenium``` using the configurations in the ```test_script.py```: ``` from selenium import webdriver chrome_options = webdriver.ChromeOptions() chrome_options.add_argument('--no-sandbox') chrome_options.add_argument('--headless') chrome_options.add_argument('--disable-gpu') chrome_options.add_argument('--disable-dev-shm-usage') chrome_options.add_argument("--window-size=1920,1080") driver = webdriver.Chrome(options=chrome_options) ```...
Trying to run `3.9-selenium` Have used different versions of python including slim-bullseye and regular bullseye as well ``` => ERROR [ 6/11] RUN apt-get install -y google-chrome-stable 0.5s ------ >...
https://github.com/joyzoursky/docker-python-chromedriver/blob/7c8dc9a2c6979160f84b22df826e937fc3123f36/py-debian/3.8/Dockerfile#L11 this creates chromedriver version 77... I think giving a static stable version would be solution instead of curl
I have implemented your dockfile into my project which uses webdriver chrome to run the python test script (using mac OS) . However when tried, it errors out as follows:...
Right now the images don't use any kind of templating I could find cause otherwise I would have done a PR to fix all those issues: - apt cache is...
Even though the docker file seems to specify usage of the packages marked as LATEST RELEASE, in reality the 2.7-selenium image has the following versions in use: - ChromeDriver 2.35.528139...
I'm using this container to download a file from a web site. but I cannot find the download folder anyway. Could you give me the download folder path or if...
After building and starting docker images: - Chromium is in version 68 - Chromedriver is in version 2.38 (supported for Chromium v65-67) After trying to run well-tested (in other environments)...
Hi, sorry for my rookie question - i´ve installed the docker on my Qnap nas - what are the next steps to start the test_script.py?