MCPcopy Create free account
hub / github.com/dot-agent/nextpy / local_storage

Function local_storage

integration/test_login_flow.py:89–100  ·  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

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

Callers

nothing calls this directly

Calls 1

clearMethod · 0.95

Tested by

no test coverage detected