playwright/docs
Dmitry Gozman 0ade6af689
api(trace): introduce artifacts options (#3914)
api(trace): introduce artifacts options

This introduces launch({ artifactsPath }) and newContext({ relativeArtifactsPath, recordTrace }) options.
- artifactsPath option controls the directory where all artifacts go. If not passed, artifacts are not collected.
- relativeArtifactsPath can be used to put context-specific artifacts into a subfolder. If not passed, shared artifactsPath is used.
- recordTrace controls trace recording.

We also expose trace types under playwright/types/trace.d.ts.

In the follow up:
- videos will be put into artifactsPath;
- downloads will be put into artifactsPath, or keep using existing downloadsPath when artifactsPath is not specified.
2020-09-18 11:54:00 -07:00
..
development docs: fix link to github workflow in releasing doc 2020-07-13 17:24:25 -07:00
docker docs(languages): added Go reference (#3867) 2020-09-14 07:54:58 -07:00
examples docs: update docs (#3253) 2020-07-31 11:58:12 -07:00
actionability.md fix(hover): do not require the element to be enabled before hovering (#3445) 2020-08-14 13:18:32 -07:00
api.md api(trace): introduce artifacts options (#3914) 2020-09-18 11:54:00 -07:00
assertions.md docs: update documentation for evaluation argument (#3287) 2020-08-04 14:45:34 -07:00
auth.md docs: introduce doc on authentication (#3404) 2020-08-12 16:02:23 -07:00
ci.md docs: fix table-of-contents generation (#3840) 2020-09-10 15:14:00 -07:00
core-concepts.md docs: update navigation and loading page (#3655) 2020-08-27 17:47:23 -07:00
debug.md docs: add debugging docs page (#2865) 2020-07-08 08:59:58 -07:00
emulation.md docs(emulation): separate section for dark mode (#2915) 2020-07-13 15:47:13 -07:00
extensibility.md docs(ci): update docs for caching and troubleshooting (#2176) 2020-05-11 09:54:03 -07:00
input.md docs: update docs (#3253) 2020-07-31 11:58:12 -07:00
installation.md docs: update docs for per-browser download hosts (#2630) 2020-06-18 12:35:37 -07:00
intro.md docs(intro): add cli to getting started (#3821) 2020-09-09 17:32:49 -07:00
languages.md docs(languages): added Go reference (#3867) 2020-09-14 07:54:58 -07:00
multi-pages.md docs: update navigation and loading page (#3655) 2020-08-27 17:47:23 -07:00
navigations.md docs: update navigation and loading page (#3655) 2020-08-27 17:47:23 -07:00
network.md docs: introduce doc on authentication (#3404) 2020-08-12 16:02:23 -07:00
pom.md docs(pom.md): fix typo in example function name (#3855) 2020-09-11 12:28:28 -07:00
README.md docs: add page on language bindings (#3819) 2020-09-09 17:33:10 -07:00
selectors.md docs(selectors): update structure and add best practices (#3817) 2020-09-09 17:14:33 -07:00
showcase.md Add RobotFramework Browser library to showcase.md (#3827) 2020-09-10 09:50:31 -07:00
test-runners.md test: slowly removing testOptions (#3464) 2020-08-14 07:22:54 -07:00
troubleshooting.md docs: use "Node.js" instead of "Node" (#3176) 2020-07-27 10:27:41 -07:00
verification.md docs: improve snippets for console logs (#2684) 2020-06-23 19:34:18 -07:00
why-playwright.md docs: add page on language bindings (#3819) 2020-09-09 17:33:10 -07:00

Documentation

Capabilities

Playwright is a library to automate Chromium, Firefox and WebKit with a single API. Playwright is built to enable cross-browser web automation that is ever-green, capable, reliable and fast.

  • Ever-green browser engines
  • Headless execution
  • Scenarios that span multiple pages, domains and iframes
  • Auto-wait for elements to be ready before executing actions (like click, fill)
  • Reliable signals instead of timeouts (like network response, popup, navigation)
  • Intercept network activity for stubbing and mocking network requests
  • Emulate mobile devices, geolocation, permissions
  • Support for web components via shadow-piercing selectors
  • Native input events for mouse and keyboard
  • Upload and download files

Table of contents

  1. Introduction
  2. Guides
  3. Tutorials
  4. Integrations
  5. Reference
  6. Get help