puppeteer.d.ts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. * Copyright 2017 Google Inc. All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. export { Protocol } from 'devtools-protocol';
  17. export * from 'puppeteer-core/internal/common/Device.js';
  18. export * from 'puppeteer-core/internal/common/Errors.js';
  19. export * from 'puppeteer-core/internal/common/PredefinedNetworkConditions.js';
  20. export * from 'puppeteer-core/internal/common/Puppeteer.js';
  21. export * from 'puppeteer-core/internal/node/BrowserFetcher.js';
  22. /**
  23. * @deprecated Use the query handler API defined on {@link Puppeteer}
  24. */
  25. export * from 'puppeteer-core/internal/common/QueryHandler.js';
  26. export { LaunchOptions } from 'puppeteer-core/internal/node/LaunchOptions.js';
  27. import { PuppeteerNode } from 'puppeteer-core/internal/node/PuppeteerNode.js';
  28. /**
  29. * @public
  30. */
  31. declare const puppeteer: PuppeteerNode;
  32. export declare const connect: (options: import("puppeteer-core/internal/common/Puppeteer.js").ConnectOptions) => Promise<import("./types").Browser>,
  33. /** @deprecated Import {@link BrowserFetcher} directly and use the constructor. */
  34. createBrowserFetcher: (options: import("puppeteer-core/internal/node/BrowserFetcher.js").BrowserFetcherOptions) => import("puppeteer-core/internal/node/BrowserFetcher.js").BrowserFetcher, defaultArgs: (options?: import("puppeteer-core/internal/node/LaunchOptions.js").BrowserLaunchArgumentOptions | undefined) => string[], executablePath: (channel?: string | undefined) => string, launch: (options?: import("puppeteer-core/internal/node/PuppeteerNode.js").PuppeteerLaunchOptions | undefined) => Promise<import("./types").Browser>;
  35. export default puppeteer;
  36. //# sourceMappingURL=puppeteer.d.ts.map