| ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > Instance Class : GetCookie Method |
Type: System.String
The domain of cookie. The default value is empty string.
Type: System.Boolean
The true, if need format of cookie "name1=value1; name2=value2; ...", otherwise false. The default value is false. The default format is "Host\tDomainFlag\tPath\tSecureFlag\tExpiry\tName\tValue\tHttpOnlyFlag\tSessionFlag\r\n ..."
Type: System.String
The domain of cookie. The default value is empty string.
Type: System.Boolean
The true, if need format of cookie "name1=value1; name2=value2; ...", otherwise false. The default value is false. The default format is "Host\tDomainFlag\tPath\tSecureFlag\tExpiry\tName\tValue\tHttpOnlyFlag\tSessionFlag\r\n ..."
Type: System.String
The cookies in the string format.
instance.ActiveTab.Navigate("http://google.com/"); instance.ActiveTab.WaitDownloading(); // get cookie by domain return instance.GetCookie("google.com", true);
$instance->ActiveTab->Navigate("http://google.com/"); $instance->ActiveTab->WaitDownloading(); // get cookie by domain return $instance->GetCookie("google.com", true);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.