Merge pull request #674 from JJ/patch-1

Probably a typo?
This commit is contained in:
Leon 2022-11-21 16:40:20 +00:00 committed by GitHub
commit 33d2a72848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def headless_uc(request: FixtureRequest):
request.instance.driver = uc.Chrome(options=options)
def teardown():
request.instance.driver.sapipve_screenshot(FAILED_SCREENSHOT_NAME)
request.instance.driver.save_screenshot(FAILED_SCREENSHOT_NAME)
request.instance.driver.quit()
request.addfinalizer(teardown)