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

Secured cookies aren't returned for IE #5978

Closed
0vid1u opened this issue Jun 3, 2018 · 2 comments
Closed

Secured cookies aren't returned for IE #5978

0vid1u opened this issue Jun 3, 2018 · 2 comments
Labels

Comments

@0vid1u
Copy link

0vid1u commented Jun 3, 2018

Meta -

OS:
Windows 10
Selenium Version:
3.4
Browser:
Internet Explorer 11, IEDriverServer 3.11.0 32 bit

Expected Behavior -

Return all cookies.

Actual Behavior -

Secured cookies aren't returned.

Steps to reproduce -

driver.manage().getCookies()

@barancev barancev added the D-IE label Jun 3, 2018
@alexlazarciuc
Copy link

alexlazarciuc commented Mar 7, 2019

Hi @ovixeu

I just run this sample test on my local and everything works fine. I can get the cookies & attach new cookie too. Bear in mind to you x32 architecture of IE Driver (https://www.seleniumhq.org/download/)

[Test]
public static void Main()
{
IWebDriver driver = new InternetExplorerDriver();
driver.Url = "https://www.google.com";
Thread.Sleep(2000);
var instance = (RemoteWebDriver)driver;
var webDriver = instance.Manage();
var cookies = webDriver.Cookies.AllCookies;
Cookie cookie = new Cookie("test", "test", null, null,null);
driver.Manage().Cookies.AddCookie(cookie);
}

@diemol
Copy link
Member

diemol commented Jan 8, 2021

I'll close this since there was no more input after the comment above, and no logs were provided either. If this is still an issue with the most recent versions, please feel free to reopen or create a new issue.

@diemol diemol closed this as completed Jan 8, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants