Skip to content

Commit

Permalink
remove eleement reference (#20830)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2263a76)
  • Loading branch information
hughhhh authored and eschutho committed Sep 27, 2022
1 parent a41ecd2 commit 92e8eed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion superset/utils/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ def get_screenshot(
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",
Expand Down

0 comments on commit 92e8eed

Please sign in to comment.