Answer the question
In order to leave comments, you need to log in
Linux, ubuntu selenium how to run on VDS server?
options = webdriver.ChromeOptions()
options.headless = True
options.add_argument('--no-sandbox')
options.add_argument("--log-level=3")
options.add_argument("--lang=en-US")
driver = webdriver.Chrome(executable_path="youtube/chromedriver", options=options)
driver.get(url)
Answer the question
In order to leave comments, you need to log in
options.add_argument('--headless')
options.add_argument('--disable-gpu')
where?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question