in reply to Re^4: Error Handling in Selenium
in thread Error Handling in Selenium

Hi 9mohit2,

It sounds to me like this "Webdriver prompt" (whatever it is - I haven't worked with it) has its own kind of error handling that is catching and swallowing your errors. If this is the case, neither die nor eval will help. But as Corion already said, we're still guessing as to what the module and the exact problem is. I think the best way forward is if you show us a runnable script that is as short as possible but still reproduces the problem - see Short, Self Contained, Correct (Compatible) Example. As they say - show, don't tell :-)

Regards,
-- Hauke D