playwright/utils/generate_types
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
..
test feat: add browser type to device descriptors (#3731) 2020-09-03 13:12:43 -07:00
exported.json feat(types): export ConnectOptions (#3147) 2020-08-16 16:40:25 -07:00
index.js api(trace): introduce artifacts options (#3914) 2020-09-18 11:54:00 -07:00
overrides.d.ts feat: add browser type to device descriptors (#3731) 2020-09-03 13:12:43 -07:00
parseOverrides.js types: better types (#1166) 2020-03-20 01:30:35 -07:00