MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / set_user_verified

Method set_user_verified

py/selenium/webdriver/remote/webdriver.py:1799–1812  ·  view source on GitHub ↗

Set whether the authenticator will simulate success or failure on user verification. Args: verified: True if the authenticator will pass user verification, False otherwise. Example: `driver.set_user_verified(True)`

(self, verified: bool)

Source from the content-addressed store, hash-verified

1797
1798 @_required_virtual_authenticator
1799 def set_user_verified(self, verified: bool) -> None:
1800 """Set whether the authenticator will simulate success or failure on user verification.
1801
1802 Args:
1803 verified: True if the authenticator will pass user verification,
1804 False otherwise.
1805
1806 Example:
1807 `driver.set_user_verified(True)`
1808 """
1809 self.execute(
1810 Command.SET_USER_VERIFIED,
1811 {"authenticatorId": self._authenticator_id, "isUserVerified": verified},
1812 )
1813
1814 def get_downloadable_files(self) -> list:
1815 """Retrieves the downloadable files as a list of file names."""

Callers 1

test_set_user_verifiedFunction · 0.80

Calls 1

executeMethod · 0.95

Tested by 1

test_set_user_verifiedFunction · 0.64