playwright: High-level API to automate web browsers

Description

High-level API to automate web browsers

SageMath uses Playwright to take screenshots of 3D graphics in a headless browser. Exporting Jupyter notebooks to PDF via nbconvert’s WebPDF technology also uses Playwright.

License

Apache-2.0

Upstream Contact

https://pypi.org/project/playwright/

Type

optional

Dependencies

Version Information

requirements.txt:

playwright

See https://repology.org/project/python:playwright/versions

Installation commands

$ pip install playwright
$ sage -i playwright
$ sudo pacman -S python-playwright
$ conda install playwright
$ nix-env -f \'\<nixpkgs\>\' --install --attr python3.-playwright

However, these system packages will not be used for building Sage because spkg-configure.m4 has not been written for this package; see upstream Issue #27330 for more information.