MCPcopy
hub / github.com/reflex-dev/reflex / local_storage

Function local_storage

tests/integration/test_login_flow.py:94–105  ·  view source on GitHub ↗

Get an instance of the local storage helper. Args: driver: WebDriver instance. Yields: Local storage helper.

(driver: WebDriver)

Source from the content-addressed store, hash-verified

92
93@pytest.fixture
94def local_storage(driver: WebDriver) -> Generator[utils.LocalStorage, None, None]:
95 """Get an instance of the local storage helper.
96
97 Args:
98 driver: WebDriver instance.
99
100 Yields:
101 Local storage helper.
102 """
103 ls = utils.LocalStorage(driver)
104 yield ls
105 ls.clear()
106
107
108def test_login_flow(

Callers

nothing calls this directly

Calls 1

clearMethod · 0.95

Tested by

no test coverage detected