Guest User

Untitled

a guest
May 26th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. # selenium:rc:start
  2. Selenium::Rake::RemoteControlStartTask.new do |rc|
  3. rc.port = 4444
  4. rc.timeout_in_seconds = 2 * 60
  5. rc.background = true
  6. rc.wait_until_up_and_running = true
  7. rc.jar_file = SELENIUM_JAR_FILE_PATH
  8. rc.log_to = SELENIUM_SERVER_LOG_PATH
  9. rc.additional_args << "-proxyInjectionMode"
  10. rc.additional_args << "-trustAllSSLCertificates"
  11. rc.additional_args << "-avoidProxy"
  12. end
  13.  
  14. Selenium::Rake::RemoteControlStartTask.new("selenium:rc:vanilla") do |rc|
  15. rc.port = 4444
  16. rc.timeout_in_seconds = 2 * 60
  17. rc.background = true
  18. rc.wait_until_up_and_running = true
  19. rc.jar_file = SELENIUM_JAR_FILE_PATH
  20. rc.log_to = VANILLA_SELENIUM_SERVER_LOG_PATH
  21. end
  22.  
  23. Selenium::Rake::RemoteControlStopTask.new("rc:stop") do |rc|
  24. rc.host = "localhost"
  25. rc.port = 4444
  26. rc.timeout_in_seconds = 3 * 60
  27. end
Add Comment
Please, Sign In to add comment