Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.markdown
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Plain API
:port => 4444,
:browser => "*firefox",
:url => "http://www.google.com",
:timeout_in_second => 60
:timeout_in_seconds => 60

@browser.start_new_browser_session
@browser.open "/"
Expand Down Expand Up @@ -128,7 +128,7 @@ Writing Tests
:port => 4444,
:browser => "*firefox",
:url => "http://www.google.com",
:timeout_in_second => 60
:timeout_in_seconds => 60

browser.start_new_browser_session
end
Expand Down Expand Up @@ -168,7 +168,7 @@ Writing Tests
:port => 4444,
:browser => "*firefox",
:url => "http://www.google.com",
:timeout_in_second => 60
:timeout_in_seconds => 60
end

before(:each) do
Expand Down
8 changes: 0 additions & 8 deletions lib/selenium/client/protocol.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,6 @@ def http_post(data)
http.open_timeout = default_timeout_in_seconds
http.read_timeout = default_timeout_in_seconds
response = http.post('/selenium-server/driver/', data, HTTP_HEADERS)
if response.body !~ /^OK/
puts "#{start} selenium-client received failure from selenium server:"
puts "requested:"
puts "\t" + CGI::unescape(data.split('&').join("\n\t"))
puts "received:"
puts "\t#{response.body.inspect}"
puts "\tcalled from #{called_from}"
end
[ response.body[0..1], response.body ]
end

Expand Down