Reputation: 148
I have saved a web page to local file system. How can I use selenium on it without starting any web server?
Upvotes: 0
Views: 442
Reputation: 107
Provide the Location of Your Local File as the Address
As a example:
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("file:///C:/Users/User/Desktop/index.html")
Upvotes: 2