Answer the question
In order to leave comments, you need to log in
Selenium, Python, Ubuntu server, DevToolsActivePort file doesn't exist error. How to fix?
Hello.
An interesting situation.
Brief process:
Start Xvfb
Create webdriver.Chrome with the following parameters:
options = webdriver.ChromeOptions()
options.add_argument("--disable-blink-features")
options.add_argument("--disable-blink-features=AutomationControlled")
options.add_argument("--window-size=1920,1080")
options.add_argument("--no-sandbox")
options.add_argument('--proxy-server=%s' % proxy)
options.add_argument('--headless')
options.add_argument("--disable-dev-shm-usage")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question