|
1 | | -/** |
2 | | - * Copyright 2020 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 | | -import { BrowserConnectOptions } from "./common/BrowserConnector.js"; |
17 | | -import { Product } from "./common/Product.js"; |
18 | | -import { Browser } from "./common/Browser.js"; |
19 | | -import { ConnectOptions } from "./common/Puppeteer.js"; |
20 | | -import { DevicesMap } from "./common/DeviceDescriptors.js"; |
21 | | -import { PuppeteerErrors } from "./common/Errors.js"; |
22 | | -import { PredefinedNetworkConditions } from "./common/NetworkConditions.js"; |
23 | | -import { CustomQueryHandler } from "./common/QueryHandler.js"; |
24 | | -import { LaunchOptions } from "../../../src/deno/LaunchOptions.ts"; |
25 | | -export * from "./common/Accessibility.js"; |
26 | | -export * from "./common/Browser.js"; |
27 | | -export * from "./common/Coverage.js"; |
28 | | -export * from "./common/Connection.js"; |
29 | | -export * from "./common/ConsoleMessage.js"; |
30 | | -export * from "./common/Coverage.js"; |
31 | | -export * from "./common/DeviceDescriptors.js"; |
32 | | -export * from "./common/Dialog.js"; |
33 | | -export * from "./common/DOMWorld.js"; |
34 | | -export * from "./common/JSHandle.js"; |
35 | | -export * from "./common/ExecutionContext.js"; |
36 | | -export * from "./common/EventEmitter.js"; |
37 | | -export * from "./common/FileChooser.js"; |
38 | | -export * from "./common/FrameManager.js"; |
39 | | -export * from "./common/PuppeteerViewport.js"; |
40 | | -export * from "./common/Input.js"; |
41 | | -export * from "./common/Page.js"; |
42 | | -export * from "./common/Product.js"; |
43 | | -export * from "./common/Puppeteer.js"; |
44 | | -export * from "./common/BrowserConnector.js"; |
45 | | -export * from "./common/HTTPRequest.js"; |
46 | | -export * from "./common/HTTPResponse.js"; |
47 | | -export * from "./common/SecurityDetails.js"; |
48 | | -export * from "./common/Target.js"; |
49 | | -export * from "./common/Errors.js"; |
50 | | -export * from "./common/Tracing.js"; |
51 | | -export * from "./common/NetworkManager.js"; |
52 | | -export * from "./common/WebWorker.js"; |
53 | | -export * from "./common/USKeyboardLayout.js"; |
54 | | -export * from "./common/EvalTypes.js"; |
55 | | -export * from "./common/PDFOptions.js"; |
56 | | -export * from "./common/TimeoutSettings.js"; |
57 | | -export * from "./common/LifecycleWatcher.js"; |
58 | | -export * from "./common/QueryHandler.js"; |
59 | | -export * from "./common/NetworkConditions.js"; |
60 | | -export * from "../vendor/devtools-protocol/types/protocol.d.ts"; |
61 | | -export * from "../../../src/deno/LaunchOptions.ts"; |
62 | | -/** |
63 | | - * @public |
64 | | - * {@inheritDoc PuppeteerNode.launch} |
65 | | - */ |
66 | | -export declare function launch( |
67 | | - options?: |
68 | | - & LaunchOptions |
69 | | - & BrowserConnectOptions |
70 | | - & { |
71 | | - product?: Product; |
72 | | - extraPrefsFirefox?: Record<string, unknown>; |
73 | | - }, |
74 | | -): Promise<Browser>; |
75 | | -/** |
76 | | - * @public |
77 | | - * {@inheritDoc PuppeteerNode.connect} |
78 | | - */ |
79 | | -export declare function connect(options: ConnectOptions): Promise<Browser>; |
80 | | -/** |
81 | | - * @public |
82 | | - * {@inheritDoc Puppeteer.devices} |
83 | | - */ |
84 | | -export declare let devices: DevicesMap; |
85 | | -/** |
86 | | - * @public |
87 | | - */ |
88 | | -export declare let errors: PuppeteerErrors; |
89 | | -/** |
90 | | - * @public |
91 | | - */ |
92 | | -export declare let networkConditions: PredefinedNetworkConditions; |
93 | | -/** |
94 | | - * @public |
95 | | - * {@inheritDoc Puppeteer.registerCustomQueryHandler} |
96 | | - */ |
97 | | -export declare function registerCustomQueryHandler( |
98 | | - name: string, |
99 | | - queryHandler: CustomQueryHandler, |
100 | | -): void; |
101 | | -/** |
102 | | - * @public |
103 | | - * {@inheritDoc Puppeteer.unregisterCustomQueryHandler} |
104 | | - */ |
105 | | -export declare function unregisterCustomQueryHandler(name: string): void; |
106 | | -/** |
107 | | - * @public |
108 | | - * {@inheritDoc Puppeteer.customQueryHandlerNames} |
109 | | - */ |
110 | | -export declare function customQueryHandlerNames(): string[]; |
111 | | -/** |
112 | | - * @public |
113 | | - * {@inheritDoc Puppeteer.clearCustomQueryHandlers} |
114 | | - */ |
115 | | -export declare function clearCustomQueryHandlers(): void; |
0 commit comments