@pedropaulovc/playwright-core 1.59.0-next → 1.59.0-next.1

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.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -295,19 +295,17 @@ Examples:
295
295
 
296
296
  $ show-trace
297
297
  $ show-trace https://example.com/trace.zip`);
298
- import_utilsBundle.program.command("export-trace <trace>").description("export trace to LLM-friendly markdown files").option("-o, --output <dir>", "output directory", "./trace-export").option("--no-assets", "skip extracting screenshots and snapshots").action(async function(trace, options) {
298
+ import_utilsBundle.program.command("export-trace <trace>").description("export trace to LLM-friendly markdown files").option("-o, --output <dir>", "output directory", "./trace-export").action(async function(trace, options) {
299
299
  const traceFile = import_path.default.resolve(trace);
300
300
  await (0, import_traceExporter.exportTraceToMarkdown)(traceFile, {
301
- outputDir: import_path.default.resolve(options.output),
302
- includeAssets: options.assets
301
+ outputDir: import_path.default.resolve(options.output)
303
302
  }).catch(logErrorAndExit);
304
303
  console.log(`Trace exported to ${options.output}`);
305
304
  }).addHelpText("afterAll", `
306
305
  Examples:
307
306
 
308
307
  $ export-trace trace.zip
309
- $ export-trace trace.zip -o ./my-export
310
- $ export-trace trace.zip --no-assets`);
308
+ $ export-trace trace.zip -o ./my-export`);
311
309
  async function launchContext(options, extraOptions) {
312
310
  validateOptions(options);
313
311
  const browserType = lookupBrowserType(options);
@@ -676,7 +676,6 @@ class Page extends import_channelOwner.ChannelOwner {
676
676
  }
677
677
  return result.pdf;
678
678
  }
679
- // @ts-expect-error agents are hidden
680
679
  async agent(options = {}) {
681
680
  const params = {
682
681
  api: options.provider?.api,
@@ -691,7 +690,6 @@ class Page extends import_channelOwner.ChannelOwner {
691
690
  maxTokens: options.limits?.maxTokens,
692
691
  maxActions: options.limits?.maxActions,
693
692
  maxActionRetries: options.limits?.maxActionRetries,
694
- // @ts-expect-error runAgents is hidden
695
693
  secrets: options.secrets ? Object.entries(options.secrets).map(([name, value]) => ({ name, value })) : void 0,
696
694
  systemPrompt: options.systemPrompt
697
695
  };