Skip to content

This is a simple tool to use the Node.js environment in the playwright package to execute your js script.

License

Notifications You must be signed in to change notification settings

lordqyxz/playwright_nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

There is a Node.js environment in playwright, why not just use it?

example

from pathlib import Path

from playwright_nodejs import Nodejs

source = Path('test.js')
js = "console.log(result)"
re = Nodejs(source=source).call(js).exec()
print(re)

About

This is a simple tool to use the Node.js environment in the playwright package to execute your js script.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published