@pedropaulovc/playwright 1.59.1-next → 1.59.3-next

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -368,10 +368,14 @@ function formatFailure(screen, config, test, index, options) {
368
368
  resultLines.push(screen.colors.dim(` ${relativePath}`));
369
369
  if (attachment.name === "trace") {
370
370
  const packageManagerCommand = (0, import_utils.getPackageManagerExecCommand)();
371
- resultLines.push(screen.colors.dim(` Usage:`));
371
+ resultLines.push(screen.colors.dim(` Usage (GUI):`));
372
372
  resultLines.push("");
373
373
  resultLines.push(screen.colors.dim(` ${packageManagerCommand} playwright show-trace ${quotePathIfNeeded(relativePath)}`));
374
374
  resultLines.push("");
375
+ resultLines.push(screen.colors.dim(` Usage (markdown, LLM friendly):`));
376
+ resultLines.push("");
377
+ resultLines.push(screen.colors.dim(` ${packageManagerCommand} playwright export-trace ${quotePathIfNeeded(relativePath)}`));
378
+ resultLines.push("");
375
379
  }
376
380
  } else {
377
381
  if (attachment.contentType.startsWith("text/") && attachment.body) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pedropaulovc/playwright",
3
- "version": "1.59.1-next",
3
+ "version": "1.59.3-next",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": {
6
6
  "type": "git",