Cookie Management in the Desktop Automation built-in browser

Use the Desktop Automation built-in browser to monitor, add, or delete cookies from the CookieStore.

Manage cookies on the Cookies page

To manage cookies in the built-in browser, open the Cookies page by inserting the Open Step and typing cef://cookies in the URI field.



Add a new cookie to the CookieStore

  1. Specify the cookie attributes in the corresponding text boxes:
    • Domain

    • Name

    • Value

    • Path

    • Expires/Max-Age

  2. Click the HTTP toggle to enable the HTTP restriction.
  3. Click the Secure toggle to enable an encrypted connection (HTTPS).
  4. Click the Add button to add the cookie.

Filter the cookies

All cookies on the Cookies page can be filtered by any attribute value.

To filter cookies by attribute, type any attribute value in the Filter field.

Delete the cookies

Use the Cookies page to delete cookies from the CookieStore either separately or all together.

  • To delete a cookie from the CookieStore, click the Delete button at the end of the line.

  • To delete all cookies from the CookieStore, click the Remove all button.

Manage Cookies with the Open Step

Use the Open Step to add or delete cookies directly by a request.

  • To add a new cookie to the CookieStore, type the following text in the URI field of the Open Step:

    cef://cookies/create?domain=MyDomain.com&name=MyCookie&value=MyValue&path=/MyPath&expires=2020-12-31T20:30:10.000Z&http=on&secure=off
  • To delete a cookie from the CookieStore, type the following text in the URI field of the Open Step:

    cef://cookies/remove?domain=.MyDomain.com&name=MyCookie&value=MyValue&path=/MyPath&expires=2020-12-31T20:30:10.000Z&http=on&secure=off
  • To delete all cookies from the CookieStore, type the following text in the URI field of the Open Step:

    cef://cookies/removeall

Extract Value from a Cookie

On the Cookies page, you can extract a cookie value to a text variable.

Right-click the cookie attribute to extract its value, using the context menu as shown below.



You can also extract cookies from the CookieStore and store them in a JSON variable of complex type.