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
Currently, browser library throws an AssertionError for every keyword that fails due to timeout or assertion issues. IMO this is too broad and BrowserLibrary should raise custom exceptions for user code to catch so we can be certain that BrowserLibrary is raising an error and not other parts of the testing suite.
I think you don't need to worry about assertion engine. You could probably transform the AssertionError raised by assertion engine into some other exception class
Currently, browser library throws an
AssertionError
for every keyword that fails due to timeout or assertion issues. IMO this is too broad and BrowserLibrary should raise custom exceptions for user code to catch so we can be certain that BrowserLibrary is raising an error and not other parts of the testing suite.This practice is common with other python libraries: https://requests.readthedocs.io/en/latest/_modules/requests/exceptions/
The text was updated successfully, but these errors were encountered: