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
Sometimes the exception that you want to actually want to look at is the cause of the top-level exception. For example if the exception happened in a condition you get a ConditionFailedWithExceptionError which is fairly unspecific.
Describe the solution you'd like
Either always expect causes, or add a flag to inspect them when configured.
@Retry (
exceptions = [StaleElementReferenceException, ConditionFailedWithExceptionError],
// exceptions don't check causes, so we need to do it in the condition
condition = {
failure instanceofStaleElementReferenceException|| failure.cause instanceofStaleElementReferenceException
}
)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Sometimes the exception that you want to actually want to look at is the cause of the top-level exception. For example if the exception happened in a condition you get a
ConditionFailedWithExceptionError
which is fairly unspecific.Describe the solution you'd like
Either always expect causes, or add a flag to inspect them when configured.
Describe alternatives you've considered
Additional context
No response
The text was updated successfully, but these errors were encountered: