Add Cookies to the Browser.

Hierarchy

  • Action
    • Add

Properties

Methods - Factory

Methods - Other

Methods - called internally

Properties

abilityAlias?: string
callStack?: CallStackInfo[]

Methods - Factory

  • Add the specified cookies.

    Parameters

    • cookies: Cookie[]

      the cookies to add.

    Returns Add

    new Add instance

    Example

    Add.cookies([{
    name: 'my cookie',
    value: 'my value',
    url: 'http://www.myapp.com',
    }]);

Methods - Other

  • Parameters

    • entry: CallStackInfo

    Returns void

  • Parameters

    • calledWith: CallStackCalledWith

    Returns void

  • Set the alias which is used for an underlying ability

    Parameters

    • alias: undefined | string

      with which an ability was initialized

    Returns this

    current action

Methods - called internally

  • add the cookies to the browser.

    Parameters

    • actor: Actor

      Actor performing this action

    Returns Promise<any>

    Adds cookies into this browser context.

Generated using TypeDoc