Save Cookies and local storage snapshot.

Hierarchy

  • Action
    • Save

Properties

Methods - Factory

Methods - Other

Methods - called internally

Properties

abilityAlias?: string
callStack?: CallStackInfo[]

Methods - Factory

  • Save the storage state.

    Parameters

    • path: string

      the file path to save the storage state to.

    Returns Save

    new Save instance

    Example

    actor.attemptsTo(
    Save.storageState('/tmp/storage.json')
    );

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

  • save the cookies and local storage.

    Parameters

    • actor: Actor

      Actor performing this action

    Returns Promise<any>

    cookies and local storage snapshot.

Generated using TypeDoc