The Clear Web Cookie block is used to remove one or all cookies that were previously set in the current browser session. It only works with browser windows that were opened using the Start Web Browser block. Browsers started this way begin with an empty history, cache, and cookie store, so this block is typically used to clear cookies created during the test run.
Fully expanded, the Clear Web Cookie block shows the following properties:
Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.
Quick-start
-
Drag Clear Web Cookie onto the canvas.
-
Connect the block in the flow, select a Mode and, if you are clearing a named cookie, set Cookie name. Optionally specify Browser window if you need a particular browser instance.
-
Run the flow when it’s ready.
Building block parameters
Resources
|
Topic |
Description |
|---|---|
|
Common questions about creating, running, and managing flows in Leapwork. |
|
|
Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork. |