StrikekitStrikekit

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 data

Requirements

ItemContract
Element / control shapeNone — clears cookies + localStorage + sessionStorage for the context/origin
How the label bindsNo target
Qualifiers that change resolveNone
PlatformWeb only
Wrong shape → use insteadN/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.

On this page