diff --git a/helium/_impl/__init__.py b/helium/_impl/__init__.py index e1767ac..1e08378 100644 --- a/helium/_impl/__init__.py +++ b/helium/_impl/__init__.py @@ -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 @@ -1284,4 +1284,4 @@ def accept(self): def dismiss(self): self.first_occurrence.dismiss() def _write(self, text): - self.first_occurrence.send_keys(text) \ No newline at end of file + self.first_occurrence.send_keys(text)