/**
 * 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":{"last-modified":"Wed, 29 Sep 2021 16:18:57 GMT","referrer-policy":"strict-origin-when-cross-origin","server":"deno/gcp-us-west2","cross-origin-opener-policy":"same-origin","via":"http/2 edgeproxy-h","content-security-policy":"default-src 'none'; style-src 'unsafe-inline'; sandbox","x-content-type-options":"nosniff","accept-ranges":"bytes","x-frame-options":"DENY","access-control-allow-origin":"*","content-type":"application/typescript; charset=utf-8","age":"12698858","server-timing":"fetchSource;dur=20","vary":"Accept-Encoding, Origin","x-amz-cf-id":"kKdhpJnwPKYSGwRHvzm_UrXps00fOvQPTqzSAwwpBFFdWNEbi8lTsw==","x-amz-version-id":"w1sZXvaXqH5EJY9Td6xBTmRL0ez.CE5V","etag":"\"5633ceb57d40fe73530c1197619fcdf4\"","x-amz-replication-status":"COMPLETED","x-cache":"Hit from cloudfront","cache-control":"public, max-age=31536000, immutable","content-length":"1080","cross-origin-resource-policy":"same-origin","date":"Tue, 06 May 2025 16:19:27 GMT","cross-origin-embedder-policy":"same-origin","x-amz-cf-pop":"LAX53-P1","strict-transport-security":"max-age=63072000; includeSubDomains; preload"},"url":"https://deno.land/x/puppeteer@9.0.2/src/deno/LaunchOptions.ts","time":1759247224}