I've been searching on google for best practices regarding exception handling, however I did not have much success besides using
My framework is set with a
EventFiringWebDriverwhich, according to Selenium documentation has a
I was thinking in implementing it so we can quickly debug the method that threw the exception, as some colleagues are not programmers and don't know a lot about coding.
The other idea I had is adding
try-catchto each method but this seems like a really tedious and worthless endeavour as I would've to keep adding try-catchs to each new method.
So my question is, do you have any best practices regarding exception handling?
Thank you very much.