
Increase timeout for Selenium RC
Reported by Mark Dodwell | May 10th, 2009 @ 07:53 AM
I have to increase the timeout from 5 to 10 seconds on my machine or I get sporadic timeout errors because the browser doesn't load quick enough.
I think 5 seconds is too low, my machine is reasonable (2GB 2Ghz Intel Macbook) so I propose changing the timeout to 10 seconds.
Reasonable?
Comments and changes to this ticket
-
gaffo May 15th, 2009 @ 08:52 PM
- State changed from new to wontfix
I'm not sure that increasing the default timeout is the correct answer. If your page is taking more than 5 seconds to load, you likely have another problem. You could also possibly be waiting for the wrong thing, particularly using ajax. I would be more in favor of a patch and tests showing a configurable timeout mechanism than changing the default and making failing builds take even longer (selenium is slow enough).
Don't be put off that I'm marking this "wontfix". It's a housekeeping thing. If you come up with a better solution, we'd be glad to pull it in.
Thanks for the effort!
-
gaffo May 18th, 2009 @ 05:26 PM
- State changed from wontfix to awaiting-patch
Making this a configurable item would be fine though. I may have to do that myself.
-
Bryan Helmkamp May 18th, 2009 @ 05:38 PM
- State changed from awaiting-patch to resolved
(from [fd431f2ce89a903fed4cd33c2631d87120230a80]) [#242 state:resolved] allowed changing the default timeout for browser startup in selenium
http://github.com/brynary/webrat/commit/fd431f2ce89a903fed4cd33c263...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.
People watching this ticket
Attachments
Tags
Referenced by
-
242 Increase timeout for Selenium RC (from [fd431f2ce89a903fed4cd33c2631d87120230a80]) [#242 s...