no need for screenshot if there's a trace
This commit is contained in:
parent
784f6ee22a
commit
3473117d12
1 changed files with 0 additions and 1 deletions
|
|
@ -258,7 +258,6 @@ in
|
||||||
print(f"Page has title: {page.title()}")
|
print(f"Page has title: {page.title()}")
|
||||||
eval(line)
|
eval(line)
|
||||||
finally:
|
finally:
|
||||||
page.screenshot(path=f"trace/{i}/final.png")
|
|
||||||
context.tracing.stop(path=f"trace/{i}.zip")
|
context.tracing.stop(path=f"trace/{i}.zip")
|
||||||
|
|
||||||
browser.close()
|
browser.close()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue