Function When_I_clear_all_cookies

  • When I clear all cookies:

    When I clear all cookies
    

    Clear all browser cookies.

    Parameters

    • Optionaloptions: DataTable

    Returns void

    When I clear all cookies
    

    With options:

    When I clear all cookies
    | log | true |
    | timeout | 3000 |

    Cypress automatically clears all cookies before each test to prevent state from being shared across tests when test isolation is enabled. You shouldn't need to use this command unless you're using it to clear a specific cookie inside a single test or test isolation is disabled.