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 browserstack.yml
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:
Copy
- os: OS X
osVersion: Big Sur
browserName: Safari
browserVersion: 14.1
# ===============================================
# Safari Browser Specific Capabilities (OPTIONAL)
# ===============================================
safari:
driver: 2.45 #Set the driver version you want to use
enablePopups: false #<boolean> (Default: X) Set to true if you want to enable Popups
allowAllCookies: false
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
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!