Allow All Cookies in Safari

You can allow all cookies in Safari using the browserstack.safari.allowAllCookies capability.

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

For example, this is how you allow all cookies in Safari:

// Allowing all cookies in Safari

DesiredCapabilities caps = new DesiredCapabilities();
caps.setCapability("browserstack.safari.allowAllCookies", "true")
// Allowing all cookies in Safari

var capabilities = {
 'browserstack.safari.allowAllCookies' : 'true'
}
// Allowing all cookies in Safari

DesiredCapabilities caps = new DesiredCapabilities();
caps.SetCapability("browserstack.safari.allowAllCookies", "true");
# Allowing all cookies in Safari

$caps = array(
 "browserstack.safari.allowAllCookies" => "true"
);
# Allowing all cookies in Safari

capabilities = {
 "browserstack.safari.allowAllCookies": "true"
}
# Allowing all cookies in Safari

caps = Selenium::WebDriver::Remote::Capabilities.new
caps["browserstack.safari.allowAllCookies"] = "true"
# Allowing all cookies in Safari

my $capabilities = {
  "browserstack.safari.allowAllCookies" => "true"
}

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