mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-11 12:33:45 +03:00
0ade6af689
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. |
||
---|---|---|
.. | ||
doclint | ||
flakiness-dashboard | ||
generate_types | ||
linux-browser-dependencies | ||
protocol-types-generator | ||
testserver | ||
build_driver.sh | ||
check_chromium_cdn.js | ||
check_deps.js | ||
copyright.js | ||
draft_release_notes.sh | ||
ESTreeWalker.js | ||
generate_channels.js | ||
list_closed_issues.sh | ||
print_versions.js | ||
publish_all_packages.sh | ||
roll_browser.js | ||
runWebpack.js | ||
update_version.js | ||
watch.js |