/**
 * Copyright 2020 Google Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * Launcher options that only apply to Chrome.
 *
 * @public
 */
export interface ChromeArgOptions {
  headless?: boolean;
  args?: string[];
  userDataDir?: string;
  devtools?: boolean;
}

/**
 * Generic launch options that can be passed when launching any browser.
 * @public
 */
export interface LaunchOptions {
  executablePath?: string;
  ignoreDefaultArgs?: boolean | string[];
  timeout?: number;
  env?: Record<string, string>;
  dumpio?: boolean;
}

// denoCacheMetadata={"headers":{"x-frame-options":"DENY","etag":"\"5633ceb57d40fe73530c1197619fcdf4\"","access-control-allow-origin":"*","cross-origin-embedder-policy":"same-origin","last-modified":"Wed, 29 Sep 2021 16:18:57 GMT","content-security-policy":"default-src 'none'; style-src 'unsafe-inline'; sandbox","via":"1.1 e2b754c3734f97ae13a3007bc65d591a.cloudfront.net (CloudFront),HTTP/2 ord.vultr.prod.deno-cluster.net","referrer-policy":"strict-origin-when-cross-origin","alt-svc":"h3=\":443\"; ma=86400","server":"AmazonS3,deployd","vary":"Accept-Encoding, Origin","x-amz-cf-pop":"ORD56-P9","content-type":"application/typescript; charset=utf-8","x-amz-replication-status":"COMPLETED","x-amz-version-id":"w1sZXvaXqH5EJY9Td6xBTmRL0ez.CE5V","age":"168034","cross-origin-opener-policy":"same-origin","content-length":"1080","accept-ranges":"bytes","cross-origin-resource-policy":"same-origin","x-cache":"Hit from cloudfront","x-amz-cf-id":"tT5aKiAjXYB5ZRwFRdKk5Gt_qomZaDz2VucKcEfT-KIar42Wsy1Mxw==","x-content-type-options":"nosniff","date":"Wed, 12 Nov 2025 18:34:35 GMT","x-deno-trace-id":"bc0258ea1e1b29a8740dd0e98e6270a4","server-timing":"fetchSource;dur=4","cache-control":"public, max-age=31536000, immutable","strict-transport-security":"max-age=63072000; includeSubDomains; preload"},"url":"https://deno.land/x/puppeteer@9.0.2/src/deno/LaunchOptions.ts","time":1763140508}