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

Function local_storage

integration/test_client_storage.py:144–155  ·  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

142
143@pytest.fixture()
144def local_storage(driver: WebDriver) -> Generator[utils.LocalStorage, None, None]:
145 """Get an instance of the local storage helper.
146
147 Args:
148 driver: WebDriver instance.
149
150 Yields:
151 Local storage helper.
152 """
153 ls = utils.LocalStorage(driver)
154 yield ls
155 ls.clear()
156
157
158@pytest.fixture(autouse=True)

Callers

nothing calls this directly

Calls 1

clearMethod · 0.95

Tested by

no test coverage detected