Access Keys:
Skip to content (Access Key - 0)
Log in (Access Key - 5)



Toggle Sidebar

createCookie-action-selcore

API Doc

createCookie (nameValuePair, optionsString)

(inherited from Selenium Core)

Create a new cookie whose path and domain are same with those of current page
under test, unless you specified a path for this cookie explicitly.
Arguments:

  • nameValuePair -
    name and value of the cookie in a format "name=value"
  • optionsString -
    options for the cookie.
    Currently supported options include 'path' and 'max_age'.      
    the optionsString's format is "path=/path/, max_age=60". 
    The order of options are irrelevant, the unit
    of the value of 'max_age' is second.
last edited on Mar 28, 2009 12:37
Adaptavist Theme Builder Powered by Atlassian Confluence