API Docs for: 0.0.2
Show:

Dalek.DriverNative.Commands.Cookie Class

Module: Driver

Cookie related methods

Item Index

Methods

_cookieCb

(
  • name
  • expected
  • hash
  • result
)
Object private

Sends out an event with the results of the setCookie call

Parameters:

  • name String

    Name of the cookie

  • expected String

    Expected contents of the cookie

  • hash String

    Unique hash of that fn call

  • result String

    Serialized JSON with the reuslts of the exists call

Returns:

Object:

promise Exists promise

_setCookieCb

(
  • name
  • contents
  • hash
)
Object private

Sends out an event with the results of the setCookie call

Parameters:

  • name String

    Name of the cookie

  • contents String

    Contents of the cookie

  • hash String

    Unique hash of that fn call

Returns:

Object:

promise Exists promise

setCookie

(
  • name
  • contents
  • hash
)
chainable

Sets an cookie

Parameters:

  • name String

    Name of the cookie

  • contents String

    Contents of the cookie

  • hash String

    Unique hash of that fn call