Skip to main content

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

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

playwright_nodejs-0.0.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

playwright_nodejs-0.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file playwright_nodejs-0.0.2.tar.gz.

File metadata

  • Download URL: playwright_nodejs-0.0.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for playwright_nodejs-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6d6d506a4f9049fef103a736fdba35a7310966d34b587c1f7338c2fe0b2057f2
MD5 dc2b800020811fdf0df8686d4555d0b2
BLAKE2b-256 0c2c6e3ebcc879a9d6a13918a89bd334c9c5861bd0b0d293d2d570ad7958f599

See more details on using hashes here.

File details

Details for the file playwright_nodejs-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for playwright_nodejs-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b2e6e70f73ab11fbee85fbec49272ba5a714a6aee9380401f6a0fee544c2b14
MD5 bb12ae03b1796a4295a79b87fa406d29
BLAKE2b-256 1a189ea171e929e7dc5fdee8d23402770363df7afe50ed6e9694b7a97866a440

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page