Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # selenium:rc:start
- Selenium::Rake::RemoteControlStartTask.new do |rc|
- rc.port = 4444
- rc.timeout_in_seconds = 2 * 60
- rc.background = true
- rc.wait_until_up_and_running = true
- rc.jar_file = SELENIUM_JAR_FILE_PATH
- rc.log_to = SELENIUM_SERVER_LOG_PATH
- rc.additional_args << "-proxyInjectionMode"
- rc.additional_args << "-trustAllSSLCertificates"
- rc.additional_args << "-avoidProxy"
- end
- Selenium::Rake::RemoteControlStartTask.new("selenium:rc:vanilla") do |rc|
- rc.port = 4444
- rc.timeout_in_seconds = 2 * 60
- rc.background = true
- rc.wait_until_up_and_running = true
- rc.jar_file = SELENIUM_JAR_FILE_PATH
- rc.log_to = VANILLA_SELENIUM_SERVER_LOG_PATH
- end
- Selenium::Rake::RemoteControlStopTask.new("rc:stop") do |rc|
- rc.host = "localhost"
- rc.port = 4444
- rc.timeout_in_seconds = 3 * 60
- end
Add Comment
Please, Sign In to add comment