from webdriver_manager.firefox import GeckoDriverManager #Import GeckoDriver driver = webdriver.Firefox(executable_path=GeckoDriverManager().install(), options=option)