playwright/utils
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
..
doclint chore: roll test runner to 0.3.9 (#3847) 2020-09-11 10:02:07 -07:00
flakiness-dashboard doc: fix typos (#1284) 2020-03-07 08:37:47 -08:00
generate_types api(trace): introduce artifacts options (#3914) 2020-09-18 11:54:00 -07:00
linux-browser-dependencies chore: move browserPaths to utils, enforce more deps (#3584) 2020-08-22 21:15:03 -07:00
protocol-types-generator fix(devops): fix firefox protocol.ts location (#3630) 2020-08-25 16:23:43 -07:00
testserver feat(screencast): use ffmpeg to produce webm in chromium (#3668) 2020-08-31 08:43:14 -07:00
build_driver.sh enh: bake browser revisions and api into driver (#3514) 2020-08-26 16:01:42 -07:00
check_chromium_cdn.js devops: migrate //utils/check_availability.js off browser fetcher (#3418) 2020-08-12 15:01:07 -07:00
check_deps.js chore: introduce "instrumentation" that is used for debug and trace (#3775) 2020-09-04 16:31:52 -07:00
copyright.js chore(eslint): lint for copyrights on files (#2858) 2020-07-07 11:12:45 -07:00
draft_release_notes.sh chore: update release notes draft gen (#2932) 2020-07-13 14:48:29 -07:00
ESTreeWalker.js Initial commit 2019-11-19 10:58:15 -08:00
generate_channels.js feat(rpc): allow sending metadata with rpc calls (#3836) 2020-09-10 19:25:44 -07:00
list_closed_issues.sh chore: add script to fetch closed bugs since git commit (#2066) 2020-04-30 17:57:45 -07:00
print_versions.js chore: update webkit version (#2804) 2020-07-06 15:13:53 -07:00
publish_all_packages.sh devops: fix publishing of @next packages to NPM (#3759) 2020-09-03 11:59:58 -07:00
roll_browser.js chore: move browserPaths to utils, enforce more deps (#3584) 2020-08-22 21:15:03 -07:00
runWebpack.js chore: introduce "instrumentation" that is used for debug and trace (#3775) 2020-09-04 16:31:52 -07:00
update_version.js chore: drop dependency on playwright-core in all our packages (#2318) 2020-05-21 13:18:15 -07:00
watch.js chore(testrunner): move out of the repo (#3687) 2020-08-29 08:27:32 -07:00