Skip to content

Commit

Permalink
Update pytest_playwright/pytest_playwright.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry Gozman <[email protected]>
  • Loading branch information
mxschmitt and dgozman authored Oct 10, 2023
1 parent ecee29e commit 7c69858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_playwright/pytest_playwright.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def browser(launch_browser: Callable[[], Browser]) -> Generator[Browser, None, N
yield browser
browser.close()
try:
# .webm files can be still in use, so we do a best-effort in removing the folder
# On Windows, files can be still in use, so we do a best-effort in removing the folder
# https://github.com/microsoft/playwright-pytest/issues/163
artifacts_folder.cleanup()
except (PermissionError, NotADirectoryError):
Expand Down

0 comments on commit 7c69858

Please sign in to comment.