Class Selenium::SeleniumServer
In: lib/selenium/selenium_server.rb
Parent: Object

Selenium server driver that provides API to start/stop server and check if server is running. NOTE: The start does not return until the server shuts down.

Methods

new   ping   port_number   run   running?   start   stop  

Attributes

port_number  [R] 
print_log  [RW]  Turn off INFO level server logs, only WARN and above message will be printed
request_timeout  [R] 

Public Class methods

Initialize the server driver with an opitonal port number (default to 4444) and request timeout (default to 30)

Public Instance methods

ping the server to see if it is running, raises error if not returns the ping status

Check if the Selenium is running by sending a test_complete command with invalid session ID

Starts the Selenium server. This does not return until the server is shutdown.

Stops the Selenium server

[Validate]