#337 new
Bryan Helmkamp

wait_for swallows Selenium CommandErrors

Reported by Bryan Helmkamp | January 17th, 2010 @ 06:48 PM

Moved from GitHub issue # 22

Created 3 months ago by schubert

When using wait for and there is a command error inside of the block (like a typo in an xpath selector) you get a timeout failure because the command error is swallowed and silently ignored. This makes troubleshooting typos extremely difficult because the failures become misleading.

This is in selenium_session.rb WebRat::SeleniumSession#is_ignorable_wait_for_exception

Comments

brynary September 22, 2009

Thanks for the report... Yes, I'd like to improve these error messages.

Can you grab an example of what's currently happening and what you'd like to happen in an ideal world?

Cheers,

-Bryan

No comments found

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.

New-ticket Create new ticket

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.

Shared Ticket Bins

People watching this ticket

Pages