
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
0.08h
|
Remaining Estimate:
|
0.08h
|
Time Spent:
|
Unknown
|
|
Environment:
|
Linux, ruby
|
|
|
Since method timeout from ruby has parameter in seconds not in miliseconds there is in class SeleniumDriver bug around code:
....
169: def do_command(verb, args)
171: timeout(@timeout) do
172: http = Net::HTTP.new(@server_host, @server_port)
173: command_string = '/selenium-server/driver/?cmd=' + CGI::escape(verb)
174: args.length.times do |i|
....
variable @timeout is initialized in miliseconds, thereat fix should be like :
169: def do_command(verb, args)
171: -- timeout(@timeout) do
171: ++ timeout(@timeout/1000) do
172: http = Net::HTTP.new(@server_host, @server_port)
|
|
Description
|
Since method timeout from ruby has parameter in seconds not in miliseconds there is in class SeleniumDriver bug around code:
....
169: def do_command(verb, args)
171: timeout(@timeout) do
172: http = Net::HTTP.new(@server_host, @server_port)
173: command_string = '/selenium-server/driver/?cmd=' + CGI::escape(verb)
174: args.length.times do |i|
....
variable @timeout is initialized in miliseconds, thereat fix should be like :
169: def do_command(verb, args)
171: -- timeout(@timeout) do
171: ++ timeout(@timeout/1000) do
172: http = Net::HTTP.new(@server_host, @server_port) |
Show » |
|