WebDriverException: Message: invalid argument: can't kill an exited process with GeckoDriver, Selenium and Python on RaspberryPi3
Server: Raspberry Pi 3 OS: Dietpi - version 159 Geckodriver version: 0.22 for arm Firefox version: 52.9.0 Python version: 3.5 Selenium version: 3.14.1 Gecko is executable, and is located in /usr/local/bin/ from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.firefox.options import Options import time options = Options() options.set_headless(headless=True) driver = webdriver.Firefox(firefox_options=options) print('Need your login