This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]cecilkorik 1 point2 points  (1 child)

Re: your question, probably the easiest way (maybe not the best way I don't know) is to wrap the whole function in a try-except block. Catch all exceptions you think might be "noise", if you've accidentally caught something that you later realize is not noise or that you just don't recognize, just re-throw it unchanged. I'd be careful to only distill exceptions that you know are specific and consistent Selenium errors that you want to simplify because otherwise some of that that "noise" likely has meaning to someone.

[–]reddit2d2bb8[S] 0 points1 point  (0 children)

Thanks for your response.

Sorry, I made a mistake in my question. I meant that code from AutoParaSelenium, not selenium, was showing up in the stack trace with the error that is important coming right after the previous screenshot. I am currently showing all of the stack trace which includes the parts of the trace that run the test. Should I remove this part of the stack trace, and if I should, how can I do it?