Skip to content

Commit dc8b817

Browse files
committed
Fix StaleElementReferenceException
1 parent 12f983f commit dc8b817

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

helium/_impl/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,8 @@ def should_ignore_exception(self, exception):
655655
return True
656656
if isinstance(exception, MoveTargetOutOfBoundsException):
657657
return True
658+
if isinstance(exception, StaleElementReferenceException):
659+
return True
658660
if isinstance(exception, WebDriverException):
659661
msg = exception.msg
660662
if 'is not clickable at point' in msg \

0 commit comments

Comments
 (0)