how to auto install geckodriver in selenium python with .install()

35

from selenium import webdriver
from webdriver_manager.firefox import GeckoDriverManager

driver = webdriver.Firefox(executable_path=GeckoDriverManager().install())
driver.get("https://www.google.com")

Comments

Submit
0 Comments