Remove either Session Storage Items or Local Storage Items from the Browser.

Hierarchy

  • Action
    • Remove

Properties

abilityAlias?: string
callStack?: CallStackInfo[]

Methods - Factory

  • Remove a local storage item, if a key/value pair with the given key exists.

    Parameters

    • key: string

      the key that specifies the item.

    Returns Remove

    new Remove instance for local storage

    Example

    Remove.localStorageItem('some key');
    
  • Remove a session storage item, if a key/value pair with the given key exists.

    Parameters

    • key: string

      the key that specifies the item.

    Returns Remove

    new Remove instance for session storage

    Example

    Remove.sessionStorageItem('some key');
    

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

  • wait for either a specified loading state or for a locator to become visible/active.

    Parameters

    • actor: Actor

      Actor performing this action

    Returns Promise<any>

    Returns the value of the pageFunction invocation.

Generated using TypeDoc