ManageAddCookie Method
Adds a cookie to the current page.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As Manage
Dim name As String
Dim value As String
Dim domain As String
Dim path As String
Dim expiry As String
Dim secure As Boolean
Dim httpOnly As Boolean

instance.AddCookie(name, value, domain, 
	path, expiry, secure, httpOnly)

Parameters

name
Type: SystemString
value
Type: SystemString
domain (Optional)
Type: SystemString
path (Optional)
Type: SystemString
expiry (Optional)
Type: SystemString
secure (Optional)
Type: SystemBoolean
httpOnly (Optional)
Type: SystemBoolean
See Also