Custom Cookies

CheckView allows you to set custom cookies for each test flow. These cookies are included with every request during the test, enabling you to handle authentication, consent banners, session management, and other cookie-dependent functionality.

When to Use Custom Cookies

  • Authentication: Skip login flows by providing a session or authentication cookie.
  • Cookie consent: Pre-accept cookie consent banners to prevent them from blocking test interactions.
  • A/B testing: Force a specific variant by setting the A/B testing platform’s cookie.
  • Locale or language: Set a language preference cookie to test specific translations.

How to Configure

  1. Open the Test Flow you want to configure.
  2. Click the Settings gear icon.
  3. Navigate to Advanced Settings.
  4. In the Custom Cookies section, add your cookie name and value.
  5. Click Save changes.

Important Notes

  • Custom cookies are set at the beginning of the test and persist throughout the entire test run.
  • If you set a cookie that conflicts with one set by the website during testing, the website’s cookie may overwrite yours after the first page load.
  • Custom cookies are specific to each test flow and do not affect other test flows.

Related Articles