(self, selector, totp_key=None, timeout=None)
| 1714 | return shared_utils.get_mfa_code(totp_key) |
| 1715 | |
| 1716 | def enter_mfa_code(self, selector, totp_key=None, timeout=None): |
| 1717 | if not timeout: |
| 1718 | timeout = settings.SMALL_TIMEOUT |
| 1719 | mfa_code = self.get_mfa_code(totp_key) |
| 1720 | self.type(selector, mfa_code + "\n", timeout=timeout) |
| 1721 | |
| 1722 | def activate_messenger(self): |
| 1723 | js_utils.activate_messenger(self) |