Skip to main content
Experience faster, smarter testing with BrowserStack AI Agents. See what your workflow’s been missing. Explore now!
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Allow all cookies

Cookies are allowed by default on Chrome and Firefox browsers. However to allow cookies on Safari browser, you need to use a specific capability.

If you are using BrowserStack SDK, you can set the following capabilities in the configuration file:

Capability Description Expected values
allowAllCookies Enable all cookies in Safari A string. Default is false.
true if you want to enable all cookies in Safari

You can allow all cookies in Safari as shown below:

browserstack.yml
Copy icon Copy

You can disallow cookies on Chrome and Firefox browsers using ChromeOptions and FirefoxProfile. Know more about disabling cookies

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle