Before a Playwright browser is started, it can be configured within the executing code.
Browser engine which should be used.
- chromium (default)
Install browser before starting. If not defined, download is only attempted if the browser fails to launch.
Run the browser in headless mode.
If not defined (or value is
None), the browser will automatically detect
if it is an environment without a valid display device.
Run interactions in slow motion, represented in milliseconds.
Automatically capture a screenshot after each task.