, Edge - . , , .
, , ~ 1-3 .
Edge , , Browser = Edge.
, , , cookie, .
I don’t know about your test environment, but I use the ConfirmOnThisPage () methods every time I go from one page to another. So, as soon as I find out that the page is loaded, I can easily process the cookies that will be tested here by calling the DeleteCookie (Cookie cookie) function, which contains the page update as part of the confirmation method of my page. I am using the following:
public IWebDriver DeleteCookie(Cookie cookie){
driver.Manage().Cookies.DeleteCookieNamed(cookie);
driver.Navigate().Refresh();
return driver;
}
source
share