""" initial selenium example """
# pylint: disable-all
import time
from selenium import webdriver

DRIVER_PATH = '/Users/andrewdoyle/Documents/selenium-example/chromedriver'
# Optional argument, if not specified will search path.
driver = webdriver.Chrome(DRIVER_PATH)
driver.get('http://www.google.com/')
time.sleep(3)  # Let the user actually see something!
search_box = driver.find_element_by_name('q')
search_box.send_keys('ChromeDriver')
search_box.submit()
time.sleep(5)  # Let the user actually see something!
driver.quit()