fix: report with timeout chart (#16674)

This commit is contained in:
Grace Guo
2021-09-15 11:09:21 -07:00
committed by GitHub
parent 88c09c2138
commit 00ca21e016

View File

@@ -141,6 +141,7 @@ class WebDriverProxy:
img = element.screenshot_as_png
except TimeoutException:
logger.warning("Selenium timed out requesting url %s", url, exc_info=True)
img = element.screenshot_as_png
except StaleElementReferenceException:
logger.error(
"Selenium got a stale element while requesting url %s",