| Class | Selenium::Rake::ServerTask |
| In: |
lib/selenium/rake/server_task.rb
|
| Parent: | Object |
Defines rake tasks for starting, stopping and restarting the Selenium server.
Usage:
Selenium::Rake::ServerTask.new do |t|
t.jar = "/path/to/selenium-server-standalone.jar"
t.port = 4444
t.opts = %w[-some options]
end
Tasks defined:
rake selenium:server:start rake selenium:server:stop rake selenium:server:restart
| background | -> | background? |
| background | [RW] | Whether we should detach from the server process. Default: true |
| jar | [RW] | Path to the selenium server jar |
| log | [RW] |
Configure logging. Pass a log file path or a boolean. Default: true
true - log to stdout/stderr false - no logging String - log to the specified file |
| opts | [RW] | Add additional options passed to the server jar. |
| port | [RW] | Port to use for the server. Default: 4444 |
| timeout | [RW] | Timeout in seconds for the server to start/stop. Default: 30 |