def search_test():
    driver = get_selenium_driver('CHROME')
    driver.get("https://en.wikipedia.org/wiki/Main_Page")
    main_page = HomePage(driver)
    main_page.login()
    main_page.search()
    driver.quit()
 def setUp(self):
     """
     Driver + factory setup
     :return: driver
     :rtype: object
     """
     self.dr = get_selenium_driver('chrome')
     self.dr.set_window_size(1200, 800)
     self.dr.get('https://www.youtube.com/')
 def __init__(self):
     self._driver = get_selenium_driver('chrome')
     self.product = Test()
     self._driver.get('https://en.wikipedia.org/')
 def __init__(self):
     self._driver = get_selenium_driver('chrome')
 def setUp(self):
     self.driver = get_selenium_driver('chrome')
     self.driver.get('https://www.youtube.com/')