Get an instance of the local storage helper. Args: driver: WebDriver instance. Yields: Local storage helper.
(driver: WebDriver)
| 92 | |
| 93 | @pytest.fixture |
| 94 | def 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 | |
| 108 | def test_login_flow( |