API Docs for: 0.2.7
Show:

Frame Class

Defined in: lib/frame.js:9
Module: Navigation
Parent Module: WebDriver

Managing session-storage

Constructor

Frame

(
  • driver
)

Defined in lib/frame.js:9

Parameters:

Methods

_logMethodCall

(
  • event
)
private

Defined in lib/frame.js:27

Logs a method call by an event

Parameters:

_requestJSON

(
  • method
  • path
  • [body]
)
private

Defined in lib/frame.js:40

Performs a context dependent JSON request for the current session. The result is parsed for errors.

Parameters:

Returns:

:

activate

(
  • id
)

Defined in lib/frame.js:80

Change focus to a specific frame on the page

Parameters:

activateDefault

()

Defined in lib/frame.js:71

Change focus to the default context on the page

activateParent

()

Defined in lib/frame.js:90

Change focus to the parent context. If the current context is the top level browsing context, the context remains unchanged.