Name Description Size Coverage
AriaQueryHandler.ts The selectors consist of an accessible name to query for and optionally further aria attributes on the form `[<attribute>=<value>]`. Currently, we only support the `name` and `role` attribute. The following examples showcase how the syntax works wrt. querying: - 'title[role="heading"]' queries for elements with name 'title' and role 'heading'. - '[role="image"]' queries for elements with role 'image' and any name. - 'label' queries for elements with name 'label' and any role. - '[name=""][role="button"]' queries for elements with no name and role 'button'. 2625 -
BrowserConnector.ts Users should never call this directly; it's called when calling `puppeteer.connect`. This method attaches Puppeteer to an existing browser instance. @internal 5372 -
BrowserWebSocketTransport.ts @internal 1206 -
CallbackRegistry.ts Manages callbacks and their IDs for the protocol request/response communication. @internal 4141 -
common.ts 1454 -
Configuration.ts Defines experiment options for Puppeteer. See individual properties for more information. @public 5301 -
ConnectionTransport.ts @public 263 -
ConnectOptions.ts @public 3793 -
ConsoleMessage.ts @public 2823 -
Cookie.ts Represents the cookie's 'SameSite' status: https://tools.ietf.org/html/draft-west-first-party-cookies @public 5403 -
CSSQueryHandler.ts @internal 693 -
CustomQueryHandler.ts @public 4842 -
Debug.ts @internal 2728 -
Device.ts @public 47475 -
DownloadBehavior.ts @public 677 -
Errors.ts The base class for all Puppeteer-specific errors @public 1925 -
EventEmitter.test.ts 5473 -
EventEmitter.ts @public 5386 -
FileChooser.ts File choosers let you react to the page requesting for a file. @remarks `FileChooser` instances are returned via the {@link Page.waitForFileChooser} method. In browsers, only one file chooser can be opened at a time. All file choosers must be accepted or canceled. Not doing so will prevent subsequent file choosers from appearing. @example ```ts const [fileChooser] = await Promise.all([ page.waitForFileChooser(), page.click('#upload-file-button'), // some button that triggers file selection ]); await fileChooser.accept(['/tmp/myfile.pdf']); ``` @public 2447 -
GetQueryHandler.ts @internal 2335 -
HandleIterator.ts This will transpose an iterator JSHandle into a fast, Puppeteer-side iterator of JSHandles. @param size - The number of elements to transpose. This should be something reasonable. 1988 -
LazyArg.ts @internal 895 -
NetworkManagerEvents.ts We use symbols to prevent any external parties listening to these events. They are internal to Puppeteer. @internal 1217 -
PDFOptions.ts @public 6134 -
PierceQueryHandler.ts @internal 708 -
PQueryHandler.ts @internal 596 -
PSelectorParser.test.ts 2059 -
PSelectorParser.ts @internal 3258 -
Puppeteer.ts Settings that are common to the Puppeteer class, regardless of environment. @internal 3155 -
QueryHandler.ts @internal 6168 -
ScriptInjector.ts @internal 1172 -
SecurityDetails.ts The SecurityDetails class represents the security details of a response that was received over a secure connection. @public 1796 -
SupportedBrowser.ts Browsers supported by Puppeteer. @public 201 -
TaskQueue.ts @internal 478 -
TextQueryHandler.ts @internal 416 -
TimeoutSettings.ts @internal 931 -
types.ts @public 2317 -
USKeyboardLayout.ts @internal 18746 -
util.ts @internal 11135 -
Viewport.ts @public 1133 -
WaitTask.ts @internal 7141 -
XPathQueryHandler.ts @internal 700 -