Make webelem.OrphanedError subclass of webelem.Error
This means something like this: :hint ;; later 20 follow-hint a ;; later 20 tab-close Won't crash anymore, as the webelem.Error will be shown in the statusbar.
This commit is contained in:
parent
dc1d5036b6
commit
76db8d6f81
@ -60,7 +60,7 @@ class Error(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class OrphanedError(Exception):
|
||||
class OrphanedError(Error):
|
||||
|
||||
"""Raised when a webelement's parent has vanished."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user