Skip to content

Commit 55f3b25

Browse files
committed
Add SeleniumBase custom exceptions
1 parent 46ac868 commit 55f3b25

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

seleniumbase/common/exceptions.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
""" SeleniumBase Exceptions
2+
NoSuchFileException => Used by self.assert_downloaded_file(...)
3+
TimeLimitExceededException => Used by "--time-limit=SECONDS"
4+
"""
5+
6+
7+
class NoSuchFileException(Exception):
8+
pass
9+
10+
11+
class TimeLimitExceededException(Exception):
12+
pass

0 commit comments

Comments
 (0)