def setUp(cls): # Create a new Browser session and maximize the window Browser.initialize_driver() # default FireFox BasicActions.maximize_window() # Go to Olyve Home Page URL BasicActions.navigate(ConfigReader.readconfig('ConfigurationSettings','OlyveHomeURL')) # Wait till the Home page is loaded placeorder = PlaceOrder(Browser._driver) placeorder.wait_for_header_olyve_logo()
def tearDown(cls): # close the browser window(s) Browser.quit_driver()