We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edf0fce commit a462f4fCopy full SHA for a462f4f
seleniumbase/core/log_helper.py
@@ -27,7 +27,7 @@ def log_screenshot(test_logpath, driver, screenshot=None, get=False):
27
return
28
try:
29
if not screenshot:
30
- element = driver.find_element_by_tag_name("body")
+ element = driver.find_element("tag name", "body")
31
screenshot = element.screenshot_as_base64
32
if screenshot != screenshot_warning:
33
with open(screenshot_path, "wb") as file:
0 commit comments