This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 2263a76f4d remove eleement reference (#20830)
2263a76f4d is described below

commit 2263a76f4d97ef4f3d93e4b45a31e8c3e522e589
Author: Hugh A. Miles II <[email protected]>
AuthorDate: Fri Jul 22 13:56:33 2022 -0400

    remove eleement reference (#20830)
---
 superset/utils/webdriver.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/superset/utils/webdriver.py b/superset/utils/webdriver.py
index ac32ade0de..5fdc0a2131 100644
--- a/superset/utils/webdriver.py
+++ b/superset/utils/webdriver.py
@@ -138,7 +138,6 @@ 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",

Reply via email to