| C# | |
|---|---|
public string GetCookie( string domain, bool isCookieFormat ) | |
Parameters
- domain
Type: System.String
The domain of cookie. The default value is empty string.
- isCookieFormat
Type: System.Boolean
The domain of cookie. The default value is false.
The following example uses the GetCookie method.
| C# | Copy Code |
|---|---|
instance.ActiveTab.Navigate("http://google.com/"); instance.ActiveTab.WaitDownloading(); // get cookie by domain return instance.GetCookie("google.com", true); | |
| PHP | Copy Code |
|---|---|
$instance->ActiveTab->Navigate("http://google.com/"); $instance->ActiveTab->WaitDownloading(); // get cookie by domain return $instance->GetCookie("google.com", true); | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven