use exec to run python playwright commands

This commit is contained in:
ibizaman 2025-07-11 09:53:27 +02:00 committed by Pierre Penninckx
parent afb062666f
commit e4d1e3d7c2

View file

@ -281,7 +281,7 @@ in
for line in u['nextPageExpect']:
print(f"Running: {line}")
print(f"Page has title: {page.title()}")
eval(line)
exec(line)
finally:
context.tracing.stop(path=f"trace/{i}.zip")