def login_using_sms(self, country, phone_number): if not self._is_logged_in(): helper = LoginHelper(browser=self.browser) helper.login_by_sms(country, phone_number) time.sleep(5) if not self._is_logged_in(): print('Manual interference is required.') input('press ENTER to continue')
def login_using_facebook(self, email, password): self.email = email if not self._is_logged_in(): helper = LoginHelper(browser=self.browser) helper.login_by_facebook(email, password) time.sleep(5) if not self._is_logged_in(): print('Manual interference is required.') input('press ENTER to continue')
def loginUsingFacebook(self, email, password): self.email = email if not self.isLoggedIn(): helper = LoginHelper(browser=self.browser) helper.loginByFacebook(email, password)
def loginUsingGoogle(self, email, password): self.email = email if not self.isLoggedIn(): helper = LoginHelper(browser=self.browser) helper.loginByGoogle(email, password) time.sleep(3)