MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / enter_mfa_code

Method enter_mfa_code

seleniumbase/core/sb_cdp.py:1716–1720  ·  view source on GitHub ↗
(self, selector, totp_key=None, timeout=None)

Source from the content-addressed store, hash-verified

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)

Callers 7

enter_mfa_codeFunction · 0.45
login_to_realworldFunction · 0.45
raw_sb.pyFile · 0.45
test_mfa_loginMethod · 0.45
test_presentationMethod · 0.45
raw_mfa_login.pyFile · 0.45

Calls 2

get_mfa_codeMethod · 0.95
typeMethod · 0.95

Tested by 3

test_mfa_loginMethod · 0.36
test_presentationMethod · 0.36