how to install geckodriver on a windows system
Answer: You can put it anywhere.
1. Download following driver
3. Load your driver in your code.
I want to open Chrome browser so I set the path up in my code.
from selenium import webdriver
url="C:\\Programs\\Python36\\BrowersDriver\\chromedriver.exe"
driver=webdriver.Chrome(url)
driver.get("http://www.yahoo.com")
driver.close()
driver.quit()
thanks helpful
ReplyDelete