Knowledge base
Tips and tricks Best practice guides, FAQ & more
Find tutorials, guides and use case examples in the
Learning center
A Clear Web Cookie building block is used to clear one or all cookies that were previously set in the current browser. Please note that this block only works with browser windows that were previously opened using the Start Web Browser block. Note also that browsers started this way contain no cookies from the beginning, as the browsers are started with empty history, cache and cookies. Fully expanded, the Clear Web Cookie block shows the following properties:
The green input connector in the header is used to trigger the block to start executing.
The green output connector in the header triggers when the cookie/cookies have been cleared.
The title of the block (“Clear Web Cookie”) can be changed by double-clicking on it and typing in a new title.
Select whether to clear a single named cookie or all cookies in the browser window.
If the mode “Named cookie” is selected, this property must contain the name of the cookie to be cleared.
By setting this property, the building block will use a specific browser window.
Multiple browser windows are not supported by Selenium Grid or external cloud providers such as Sauce Labs and BrowserStack.
©2024, Leapwork. All rights reserved.