Headless Chrome Driver for selenium with forced User Agent for MAC
1.1K
This contains a Dockerfile that runs Chrome in headless mode with Chromedriver so you can connect to it using Selenium or anything else that supports the WebDriver protocol (e.g. Codeception).
Run the image:
docker run -it -p:4444:4444 txt3rob/headless-chromedriver
Python example:
from selenium import webdriver
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
driver = webdriver.Remote('http://127.0.0.1:4444', DesiredCapabilities.CHROME)
driver.get('http://example.com');
driver.save_screenshot('example.png');
Content type
Image
Digest
Size
200.9 MB
Last updated
over 6 years ago
docker pull txt3rob/headless-chromedriver