I am running the following code:
from selenium import webdriver
driver = webdriver.Firefox()
driver.get("https://web.whatsapp.com/")
I have installed firefox under /usr/bin/firefox and geckodriver (same version) under /usr/bin/geckodriver
However, I am getting the following stacktrace error when the Python code is run:
selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 1
Full code is here: https://github.com/harshitsidhwa/WhatsApp-bot-selenium/blob/master/whatsapp.py