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:
Florian Bruhin 2017-12-14 22:43:19 +01:00
parent dc1d5036b6
commit 76db8d6f81

View File

@ -60,7 +60,7 @@ class Error(Exception):
pass
class OrphanedError(Exception):
class OrphanedError(Error):
"""Raised when a webelement's parent has vanished."""