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

Method clear

tests/integration/utils.py:320–322  ·  view source on GitHub ↗

Clear all local storage.

(self)

Source from the content-addressed store, hash-verified

318 )
319
320 def clear(self) -> None:
321 """Clear all local storage."""
322 self.driver.execute_script(f"window.{self.storage_key}.clear();")
323
324 def __getitem__(self, key) -> str:
325 """Get a key from local storage.

Callers 15

local_storageFunction · 0.95
local_storageFunction · 0.95
_add_style_recursiveMethod · 0.80
get_configFunction · 0.80
set_breakpointsFunction · 0.80
reset_bundled_librariesFunction · 0.80
_get_class_prop_commentsFunction · 0.80
compileMethod · 0.80
stopMethod · 0.80
_handle_timeoutMethod · 0.80
test_login_flowFunction · 0.80

Calls

no outgoing calls

Tested by 15

local_storageFunction · 0.76
local_storageFunction · 0.76
test_login_flowFunction · 0.64
test_background_taskFunction · 0.64
session_storageFunction · 0.64
test_client_side_stateFunction · 0.64
test_automigrationFunction · 0.64
restore_envFunction · 0.64
test_automigrationFunction · 0.64
unfriend_all_friendsMethod · 0.64