Skip to content

Commit

Permalink
message now contains stringified element, change the expression to no…
Browse files Browse the repository at this point in the history
…t include it
  • Loading branch information
tbp105 committed Feb 27, 2020
1 parent 145ed4a commit 893c7a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helium/_impl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ def should_ignore_exception(self, exception):
return True
if isinstance(exception, WebDriverException):
msg = exception.msg
if 'Element is not clickable at point' in msg \
if 'is not clickable at point' in msg \
and 'Other element would receive the click' in msg:
# This can happen when the element has moved.
return True
Expand Down Expand Up @@ -1284,4 +1284,4 @@ def accept(self):
def dismiss(self):
self.first_occurrence.dismiss()
def _write(self, text):
self.first_occurrence.send_keys(text)
self.first_occurrence.send_keys(text)

0 comments on commit 893c7a4

Please sign in to comment.