You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like things clear and simple. And more then that, im running it on github actions, so i would like my team members not to need to see all of that tracking. Just the result and error cause.
Anyway, images are better then words, so here we go:
How can I have more fine control over that? I was not able to find in docs myself, or to understand it maybe.
Also, is there a way i can parse the errors to obtain even friendlier messages/reports? I would like to for instance, get this message:
selenium.common.exceptions.TimeoutException: Message: Could not find element with the text E-mail is required
parse it by myself (create a function, add on, fixture, i dont know) and add it to pytest/pylenium, so it is translated to:
"You tried to find element with id = email. This was not found. Check if page elements reference is correct."
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone!
I like things clear and simple. And more then that, im running it on github actions, so i would like my team members not to need to see all of that tracking. Just the result and error cause.
Anyway, images are better then words, so here we go:
How can I have more fine control over that? I was not able to find in docs myself, or to understand it maybe.
Also, is there a way i can parse the errors to obtain even friendlier messages/reports? I would like to for instance, get this message:
E-mail is required
parse it by myself (create a function, add on, fixture, i dont know) and add it to pytest/pylenium, so it is translated to:
"You tried to find element with id = email. This was not found. Check if page elements reference is correct."
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions