i run the tool but and download chromedriver last version and put its path inside the code ( python file ) and install googlechrome but still get the folloiwng error ( my google chrom not starting until i write --no-sandbox )
WhatsappBot.py:108: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
i run the tool but and download chromedriver last version and put its path inside the code ( python file ) and install googlechrome but still get the folloiwng error ( my google chrom not starting until i write --no-sandbox )
WhatsappBot.py:108: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
driver = webdriver.Chrome(executable_path="/root/WhatsappBOT/chromedriver", options=options)
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.7/tkinter/init.py", line 1705, in call
File "WhatsappBot.py", line 108, in Driver
File "/usr/lib/python3/dist-packages/selenium/webdriver/chrome/webdriver.py", line 100, in init
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 152, in init
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 249, in start_session
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 318, in execute
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)