def __init__( self, driver ): #Constructor. Creates the Page Object, and creates the handlers for both tabs (Templates tab and Wraps tab) BasePageObject.__init__(self, driver) self.templates_tab = TemplatesTab(self) self.wraps_tab = WrapsTab(self)
def __init__(self, driver=None): BasePageObject.__init__(self, driver) self.driver.get("https://www.qa.wrapdev.net/") self.driver.maximize_window()
def __init__( self, driver ): # Constructor. Creates the Page Object, and creates the handlers for both tabs (Templates tab and Wraps tab) BasePageObject.__init__(self, driver) self.templates_tab = TemplatesTab(self) self.wraps_tab = WrapsTab(self)