The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lithium::WebDriver::Phantom - Driver specific functions for connecting to phantomjs.

DESCRIPTION

The selenium hub/standalones and the phantomjs webdriver behave slightly different. The major difference is the base url path, while the hub and standalone have an added /wd/hub, the phantomjs webdriver has a base path of just /.

FUNCTIONS

connect($url)

Overrides Driver->connect, to as to set the phantomjs user-agent string and to test if the the end point is a selenium hub or a stand alone ghost driver

Notice: it is no longer necessary to call visit after giving a root url, although this behavior is still supported.

AUTHOR

Written by Dan Molik <dan at d3fy dot net>