Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit e53d7a6

Browse files
committed
Cookies
1 parent 5e6a6e9 commit e53d7a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

synthetics/browser-test/set-up-browser-test.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,9 @@ Custom headers can be used to set cookies, but we recommend using the Cookies se
438438
Cookies
439439
-------------
440440

441-
Set cookies in the browser before the test starts. For example, to circumvent a popup modal from randomly appearing and interfering with your test, you can set cookies. Any cookies that are set will apply to the domain of the starting URL of the check. Splunk Synthetics Monitoring uses the :new-page:`public suffix list <https://publicsuffix.org/>` to determine the domain.
441+
Set cookies in the browser before the test starts. For example, your site may respond to a cookie to circumvent a popup modal from randomly appearing and interfering with your test flow.
442+
443+
To set a cookie, a key and value must be provided. A domain and path may optionally be provided to only apply the cookie to requests to the given domain and/or path. By default, the cookie will aply to the to the domain of the starting URL of the check and all paths on that domain. Splunk Synthetics Monitoring uses the :new-page:`public suffix list <https://publicsuffix.org/>` to determine the domain.
442444

443445

444446
.. _browser-host-overrides:

0 commit comments

Comments
 (0)