remove eleement reference (#20830)

This commit is contained in:
Hugh A. Miles II 2022-07-22 13:56:33 -04:00 committed by GitHub
parent 2c010974e8
commit 2263a76f4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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",