def sign_in(self, email, password): """Signs in using the specified email address and password.""" if isinstance(self.selenium, selenium.selenium): from pages.rc.sign_in import SignIn else: from pages.webdriver.sign_in import SignIn sign_in = SignIn(self.selenium, timeout=self.timeout) sign_in.sign_in(email, password)
def sign_in(self, email, password): """Signs in using the specified email address and password.""" if self.selenium.rc: from pages.rc.sign_in import SignIn else: from pages.webdriver.sign_in import SignIn sign_in = SignIn(self.selenium, timeout=self.timeout, expect='new') sign_in.sign_in(email, password)