webdriver v0.6.0

Modules summary

Mix.Tasks.Webdriver
Mix.Tasks.Webdriver.Firefox.Install
WebDriver

This is the Elixir WebDriver application. It can be used to drive a WebDriver enabled browser via Elixir code

WebDriver.Browser

This is the basic skeleton for a Browser port to control a browser. Implementations for specific browsers will need to use this and then implement the other required functionality

WebDriver.BrowserSup

The WebDriver.BrowserSup is a supervisor responsible for overseeing the running of browser instances and their associated session supervisors

WebDriver.Capabilities

The capabilities struct is defined in the WebDriver specification. https://code.google.com/p/selenium/wiki/JsonWireProtocol#Capabilities_JSON_Object

WebDriver.Chrome.Port

This module is a server that controls the running of the Chrome browser. It uses an Erlang port to communicate with chromedriver

WebDriver.Chrome.Port.State
WebDriver.Config

Configuration for a WebDriver browser instance. Note that this record will have fields added as development of the library progresses

WebDriver.Cookie

A module for querying and manipulation of cookies. Cookies are defined in a struct with the following fields:

WebDriver.Element

This module handles WebDriver calls directed at specific DOM elements

WebDriver.Error

Error handling for WebDriver

WebDriver.Error.ErrorMessage
WebDriver.Firefox.Port

This module is a server that controls the running of the Firefox browser. It uses an Erlang port to communicate with the browser

WebDriver.Firefox.Port.State
WebDriver.Firefox.Profile
WebDriver.Keys

This provides symbols to represent various non-printable keystrokes that can be sent to a web browser

WebDriver.Mouse

Mouse driver event

WebDriver.PhantomJS.Port

This module is a server that controls the running of the PhantomJS browser. It uses an Erlang port to communicate with the browser

WebDriver.PhantomJS.Port.State
WebDriver.PortFinder

A convenience module for finding a free port to connect to

WebDriver.Protocol

Implements the HTTP JSON wire protocol for WebDriver. This is the internal protocol and is supposed to be called via the WebDriver session server rather than directly

WebDriver.Protocol.Request
WebDriver.Protocol.Response
WebDriver.Remote.Port

This port connects to a remote Web Driver server. Unlike the other ports it does not manage starting and stopping of the server/browser

WebDriver.Remote.Port.State
WebDriver.Session

This module runs a browser session. Use these functions to drive the browser. The ‘name’ parameter is always the session name atom that is set when you start the session

WebDriver.Session.State
WebDriver.SessionSup

This supervisor maintians sessions for a browser instance. Will restart sessions that have died for some reason

WebDriver.Supervisor

The root supervisor for the WebDriver application supervision tree. This is responsible for keeping the BrowserSup’s alive