UtilSeleniumDeserializeCookies Method

Deserializes a cookie container from disk, previously saved using SaveCookies(IWebDriver, String) or SaveCookiesOfCurrentDomain(IWebDriver, String) methods.

Definition

Namespace: DevCase.ThirdParty.Selenium
Assembly: DevCase.net48.ThirdParty.Selenium (in DevCase.net48.ThirdParty.Selenium.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static ReadOnlyCollection<Cookie> DeserializeCookies(
	string cookiesPath
)

Parameters

cookiesPath  String
The file path of the cookies container.

Return Value

ReadOnlyCollectionCookie
A ReadOnlyCollectionT object with the cookies.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

Selenium.Support by Selenium Committers

Selenium.WebDriver by Selenium Committers

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also