mirror of https://github.com/apache/superset.git
remove eleement reference (#20830)
This commit is contained in:
parent
2c010974e8
commit
2263a76f4d
|
@ -138,7 +138,6 @@ class WebDriverProxy:
|
||||||
img = element.screenshot_as_png
|
img = element.screenshot_as_png
|
||||||
except TimeoutException:
|
except TimeoutException:
|
||||||
logger.warning("Selenium timed out requesting url %s", url, exc_info=True)
|
logger.warning("Selenium timed out requesting url %s", url, exc_info=True)
|
||||||
img = element.screenshot_as_png
|
|
||||||
except StaleElementReferenceException:
|
except StaleElementReferenceException:
|
||||||
logger.error(
|
logger.error(
|
||||||
"Selenium got a stale element while requesting url %s",
|
"Selenium got a stale element while requesting url %s",
|
||||||
|
|
Loading…
Reference in New Issue