Answer the question
In order to leave comments, you need to log in
How to run selenium webdriver on digital ocean?
Friends, help me run the script on digital ocean
The script starts like this:
from selenium import webdriver
driver = webdriver.Chrome('/usr/bin/google-chrome-stable')
driver.get('https://test.ru/')
Traceback (most recent call last):
File "./esia_informer.py", line 6, in <module>
driver = webdriver.Chrome('/usr/bin/google-chrome-stable')
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
self.service.start()
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/common/service.py", line 98, in start
self.assert_process_still_running()
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/common/service.py", line 111, in assert_process_still_running
% (self.path, return_code)
selenium.common.exceptions.WebDriverException: Message: Service /usr/bin/google-chrome-stable unexpectedly exited. Status code was: 1
Answer the question
In order to leave comments, you need to log in
seems to have worked out. did according to the article jonathansoma.com/lede/algorithms-2017/servers/sett...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question