NAKAGAWA Masaki > Selenium-Server-0.02 > Selenium::Server

Download:
Selenium-Server-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Selenium::Server - A wrapper of selenium-server-standalone.jar

SYNOPSIS ^

  use Selenium::Server;

  # (default) download and use latest version jar
  my $server = Selenium::Server->new;
  # specify jar
  my $server = Selenium::Server->new(jar => '/path/to/selenium-server.jar');
  # specify version
  my $server = Selenium::Server->new(version => '2.11.0');

  $server->start;
  # with arguments
  $server->start('-timeout 60 -trustAllSSLCertificates');

  my $host = $server->host; # '127.0.0.1'
  my $port = $server->port;

  $server->stop;

DESCRIPTION ^

Selenium::Server is a wrapper of Selenium RemoteWebDriver Server; selenium-server-standalone-{version}.jar file.

METHODS ^

AUTHOR ^

NAKAGAWA Masaki <masaki@cpan.org>

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

Alien::SeleniumRC

http://selenium.googlecode.com/svn/trunk/rb/lib/selenium/server.rb

syntax highlighting: