clear browser data
Clear cookies and both storages for the current context/origin
Clear cookies and both localStorage / sessionStorage for the current browser context / origin in one step. Takes no target and no qualifier.
Syntax
When I clear browser dataRequirements
| Item | Contract |
|---|---|
| Element / control shape | None — clears cookies + localStorage + sessionStorage for the context/origin |
| How the label binds | No target |
| Qualifiers that change resolve | None |
| Platform | Web only |
| Wrong shape → use instead | N/A |
See also UI contracts.
Examples
When I clear browser data
Given I navigate to "https://example.com/login"Notes
- Mirrors the unsupported-command behavior of other browser-data helpers on Appium /
Platform: api. - Web only.