no need for screenshot if there's a trace

This commit is contained in:
ibizaman 2025-01-31 20:36:25 +01:00 committed by Pierre Penninckx
parent 784f6ee22a
commit 3473117d12

View file

@ -258,7 +258,6 @@ in
print(f"Page has title: {page.title()}")
eval(line)
finally:
page.screenshot(path=f"trace/{i}/final.png")
context.tracing.stop(path=f"trace/{i}.zip")
browser.close()