Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot delete cookies in Safari #381

Closed
Zeao opened this issue Mar 9, 2015 · 1 comment
Closed

Cannot delete cookies in Safari #381

Zeao opened this issue Mar 9, 2015 · 1 comment

Comments

@Zeao
Copy link

Zeao commented Mar 9, 2015

Hello,

Repro:
.url(site_with_cookies)
.waitForElementVisible('body', 10000)
.getCookies(function callback(result)
{
for (var i = 0; i < result.value.length; i++) {
console.log(result.value[i].name)
};
})
.deleteCookies().refresh().waitForElementVisible('body', 10000)
.getCookies(function callback(result)
{
for (var i = 0; i < result.value.length; i++) {
console.log(result.value[i].name)
};
})
All the cookies are still there. There is a known issues about Selenium, where it cannot start safari with no cookies: https://code.google.com/p/selenium/issues/detail?id=5212

@beatfactor
Copy link
Member

That sounds like it's a Selenium issue rather than Nightwatch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants