Remove a key from local storage. Args: key: The key to remove.
(self, key)
| 119 | return key in self |
| 120 | |
| 121 | def remove(self, key) -> None: |
| 122 | """Remove a key from local storage. |
| 123 | |
| 124 | Args: |
| 125 | key: The key to remove. |
| 126 | """ |
| 127 | self.driver.execute_script("window.localStorage.removeItem(arguments[0]);", key) |
| 128 | |
| 129 | def clear(self) -> None: |
| 130 | """Clear all local storage.""" |
no outgoing calls