Don't warn if element vanished on mouse release.

This happens somewhat reliably on Ubuntu Trusty with the hint test, and more
reliably on Travis.
This commit is contained in:
Florian Bruhin 2015-11-09 22:12:24 +01:00
parent 5e38861649
commit 566f94111c

View File

@ -292,7 +292,7 @@ class WebView(QWebView):
try:
elem = webelem.focus_elem(self.page().currentFrame())
except (webelem.IsNullError, RuntimeError):
log.mouse.warning("Element/page vanished!")
log.mouse.debug("Element/page vanished!")
return
if elem.is_editable():
log.mouse.debug("Clicked editable element (delayed)!")