puppeteer/src/common
Jack Franklin e655bb6ca2
chore(agnostification): split up root Puppeteer class (#6504)
The `Puppeteer` class had two concerns:

* connect to an existing browser
* launch a new browser

The first of those concerns is needed in all environments, but the
second is only needed in Node.
https://github.com/puppeteer/puppeteer/pull/6484 landing enabled us to
pull the `Puppeteer` class apart into two:

1. `Puppeteer` which hosts the behaviour for connecting to existing
   browsers.
2. `PuppeteerNode`, which extends `Puppeteer` and also adds the ability
   to launch a new browser.

This is a non-breaking change, because Node users will still get an
instance of a class with all the methods they expect, but it'll be a
`PuppeteerNode` rather than `Puppeteer`. I don't expect this to cause
people any issues.

We also now have new files that are effectively the entry points for
Puppeteer:

* `node.ts`: the main entry point for Puppeteer on Node.
* `web.ts`: the main entry point for Puppeteer on the web.
* `node-puppeteer-core.ts`: for those using puppeteer-core (which only
  exists in Node, not on the web).
2020-10-13 16:19:26 +01:00
..
Accessibility.ts fix: revise interesting classification for AXNodes (#6334) 2020-08-14 14:18:46 +02:00
AriaQueryHandler.ts feat(a11y-query): extend aria handler with waitFor (#6472) 2020-10-07 10:49:11 +02:00
assert.ts chore: create common directory (#6042) 2020-06-18 15:53:23 +01:00
Browser.ts chore(agnostification): split up root Puppeteer class (#6504) 2020-10-13 16:19:26 +01:00
BrowserConnector.ts chore(agnostification): split up launcher class (#6484) 2020-10-12 10:08:57 +01:00
Connection.ts chore: update eslint & eslint plugins (#6487) 2020-10-12 10:30:35 +01:00
ConnectionTransport.ts chore: create common directory (#6042) 2020-06-18 15:53:23 +01:00
ConsoleMessage.ts feat(console): expose stack trace for console messages (#6445) 2020-09-25 15:27:13 +02:00
Coverage.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
Debug.ts fix: configure debug logging in browser (#6210) 2020-07-20 11:05:12 +01:00
DeviceDescriptors.ts chore: create common directory (#6042) 2020-06-18 15:53:23 +01:00
Dialog.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
DOMWorld.ts feat(a11y-query): extend aria handler with waitFor (#6472) 2020-10-07 10:49:11 +02:00
EmulationManager.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
Errors.ts chore(agnostification): split up root Puppeteer class (#6504) 2020-10-13 16:19:26 +01:00
EvalTypes.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
EventEmitter.ts chore: vendor Mitt & update project structure (#6209) 2020-07-14 16:57:29 +01:00
Events.ts chore: migrate NetworkManager events (#6174) 2020-07-07 16:43:55 +01:00
ExecutionContext.ts feat(a11y-query): extend aria handler with waitFor (#6472) 2020-10-07 10:49:11 +02:00
fetch.ts chore(agnostification): split up launcher class (#6484) 2020-10-12 10:08:57 +01:00
FileChooser.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
FrameManager.ts chore: update eslint & eslint plugins (#6487) 2020-10-12 10:30:35 +01:00
helper.ts feat(a11y-query): extend aria handler with waitFor (#6472) 2020-10-07 10:49:11 +02:00
HTTPRequest.ts feat(chromium): roll Chromium to r800071 (#6407) 2020-09-09 21:23:46 +02:00
HTTPResponse.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
Input.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
JSHandle.ts chore: update eslint & eslint plugins (#6487) 2020-10-12 10:30:35 +01:00
LifecycleWatcher.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
NetworkManager.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
Page.ts feat(a11y-query): extend aria handler with waitFor (#6472) 2020-10-07 10:49:11 +02:00
PDFOptions.ts chore(docs): migrate page.pdf() docs (#6228) 2020-07-17 13:58:56 +01:00
Product.ts chore(agnostification): split up launcher class (#6484) 2020-10-12 10:08:57 +01:00
Puppeteer.ts chore(agnostification): split up root Puppeteer class (#6504) 2020-10-13 16:19:26 +01:00
PuppeteerViewport.ts chore: create common directory (#6042) 2020-06-18 15:53:23 +01:00
QueryHandler.ts feat(queryhandler): add built-in pierce handler (#6509) 2020-10-13 11:05:47 +02:00
SecurityDetails.ts chore: use devtools-protocol package (#6172) 2020-07-10 11:51:52 +01:00
Target.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
TimeoutSettings.ts chore(docs): fix DOMWorld doc warnings (#6166) 2020-07-06 12:37:16 +01:00
Tracing.ts fix: handle promise for reading protocol stream of trace (#6270) 2020-07-23 16:21:15 +02:00
USKeyboardLayout.ts chore(docs): reduce warnings when generating docs (#6138) 2020-07-02 12:15:39 +01:00
WebSocketTransport.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00
WebWorker.ts chore: enforce file extensions on imports (#6202) 2020-07-13 10:22:26 +01:00