use exec to run python playwright commands
This commit is contained in:
parent
afb062666f
commit
e4d1e3d7c2
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue