Lithium::WebDriver::Phantom - Driver specific functions for connecting to phantomjs.
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 /.
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.
Written by Dan Molik <dan at d3fy dot net>
<dan at d3fy dot net>
To install Lithium::WebDriver, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lithium::WebDriver
CPAN shell
perl -MCPAN -e shell install Lithium::WebDriver
For more information on module installation, please visit the detailed CPAN module installation guide.