UNPKG

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