Skip to content

Commit 92e8eed

Browse files
hughhhheschutho
authored andcommitted
remove eleement reference (#20830)
(cherry picked from commit 2263a76)
1 parent a41ecd2 commit 92e8eed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

superset/utils/webdriver.py

-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ def get_screenshot(
138138
img = element.screenshot_as_png
139139
except TimeoutException:
140140
logger.warning("Selenium timed out requesting url %s", url, exc_info=True)
141-
img = element.screenshot_as_png
142141
except StaleElementReferenceException:
143142
logger.error(
144143
"Selenium got a stale element while requesting url %s",

0 commit comments

Comments
 (0)