I am running arsenic within docker with chromedriver, but it complains:
docker@75fbccca7ba8:/docs$ python test.py 0 2
Starting ChromeDriver 91.0.4472.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}) on port 53603
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
[1623448645.578][SEVERE]: bind() failed: Cannot assign requested address (99)
ChromeDriver was started successfully.
my code looks like this:
# try chrome
service = services.Chromedriver()
browser = browsers.Chrome(chromeOptions={
'args': ['--headless', '--disable-gpu', '--whitelisted-ips=""', '--no-sandbox','--disable-dev-shm-usage']
})
But that doesn't work. Is there a way we can configure the --whitelisted-ips option for the Chromedrive via code?
I am running arsenic within docker with chromedriver, but it complains:
my code looks like this:
But that doesn't work. Is there a way we can configure the --whitelisted-ips option for the Chromedrive via code?