lib/testingbot.rb in testingbot-0.0.4 vs lib/testingbot.rb in testingbot-0.0.5
- old
+ new
@@ -42,12 +42,11 @@
module Selenium
module Client
module Base
DEFAULT_OPTIONS = {
- :screenshot => true,
- :screenrecorder => true
+ :screenshot => true
}
alias :close_current_browser_session_old :close_current_browser_session
alias :start_new_browser_session_old :start_new_browser_session
alias :initialize_old :initialize
@@ -110,11 +109,11 @@
"name" => description.to_s,
"kind" => 2,
"extra" => @selenium_driver.extra
}
- url = URI.parse('http://api.testingbot.com/hq')
+ url = URI.parse('http://testingbot.com/hq')
http = Net::HTTP.new(url.host, url.port)
response = http.post(url.path, params.map { |k, v| "#{k.to_s}=#{v}" }.join("&"))
end
end
end
@@ -139,10 +138,10 @@
"name" => self.to_s,
"kind" => 2,
"extra" => browser.extra
}
- url = URI.parse('http://api.testingbot.com/hq')
+ url = URI.parse('http://testingbot.com/hq')
http = Net::HTTP.new(url.host, url.port)
response = http.post(url.path, params.map { |k, v| "#{k.to_s}=#{v}" }.join("&"))
run_teardown_old
end
\ No newline at end of file