Created
July 25, 2019 13:52
-
-
Save joonvena/95a5b8c81a610d369888f30e3d3007cc to your computer and use it in GitHub Desktop.
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
while(True): | |
# Ask from user what to search | |
search_word = raw_input("What to search?: ") | |
# Uncomment this to run chrome normally | |
driver = webdriver.Chrome() | |
# If you want to run headless uncomment first three lines | |
#options = Options() | |
#options.set_headless(headless=True) | |
#driver = webdriver.Chrome(executable_path="chromedriver.exe", chrome_options=options) | |
wait = WebDriverWait(driver, 5) | |
driver.get("http://google.com") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment