wallaby v0.10.0 Wallaby.Driver
Implements the webdriver protocol for Phantomjs
Summary
Functions
Gets the value of an elements attribute
Clears the value in an element
Clicks an element
Creates a new session with the driver
Gets the current url
Checks if the node is being displayed
Executes javascript synchoronously, taking as arguments the script to execute,
and optionally a list of arguments available in the script via arguments
Finds an element on the page for a session. If an element is provided then the query will be scoped to within that element
Gets the size of the window
Retrieves logs from the browser
Gets the title of the current page
Gets the height, width, x, and y position of an Element
Gets the selected value of the element
Sends a list of key strokes to active element
Sends text characters to the active element
Sets the value of an element
Sets the size of the window
Gets the size of a node
Takes a screenshot
Gets the text for an element
Visits a specific page
Types
Functions
Checks if the node is being displayed.
This is based on what is available in phantom and doesn’t match the current specification.
Executes javascript synchoronously, taking as arguments the script to execute,
and optionally a list of arguments available in the script via arguments
Finds an element on the page for a session. If an element is provided then the query will be scoped to within that element.
Gets the height, width, x, and y position of an Element.
This is based on the standard but currently is un-supported by Phantom.
Gets the selected value of the element.
For Checkboxes and Radio buttons it returns the selected option. For options selects it returns the selected option