This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sometimes I have some tedious thing to do like data entry | |
# Sometimes I script that tedious thing using selenium | |
# Sometimes I have to login to something to enter that data | |
# This allows you to rerun your script using the same session | |
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
import os | |
SELENIUM_SESSION_FILE = './selenium_session' |