API Docs for: 0.0.2
Show:

Dalek.DriverNative.Commands.Url Class

Module: Driver

Url related methods

Item Index

Methods

_openCb

(
  • url
  • hash
  • uuid
)
Object private

Sends out an event with the results of the open call

Parameters:

  • url String

    Url to navigate to

  • hash String

    Unique hash of that fn call

  • uuid String

    Unique hash of that fn call

Returns:

Object:

promise Open promise

_urlCb

(
  • expected
  • hash
  • url
)
Object private

Sends out an event with the results of the url call

Parameters:

  • expected String

    Expected url

  • hash String

    Unique hash of that fn call

  • url String

    Serialized JSON result of url call

Returns:

Object:

promise Url promise

back

(
  • hash
  • uuid
)
chainable

Navigate backwards in the browser history, if possible.

Parameters:

  • hash String

    Unique hash of that fn call

  • uuid String

    Unique hash of that fn call

forward

(
  • hash
  • uuid
)
chainable

Navigate forwards in the browser history, if possible.

Parameters:

  • hash String

    Unique hash of that fn call

  • uuid String

    Unique hash of that fn call

open

(
  • url
  • hash
  • uuid
)
chainable

Navigate to a new URL

Parameters:

  • url String

    Url to navigate to

  • hash String

    Unique hash of that fn call

  • uuid String

    Unique hash of that fn call

refresh

(
  • hash
  • uuid
)
chainable

Refresh the current page

Parameters:

  • hash String

    Unique hash of that fn call

  • uuid String

    Unique hash of that fn call

url

(
  • expected
  • hash
)
chainable

Fetches the current url

Parameters:

  • expected String

    Expected url

  • hash String

    Unique hash of that fn call