puppeteer/test/src
Kyrylo 3e80667048
chore: use named import for devtools-protocol module (#9511)
<!-- Thanks for submitting a pull request! Please provide enough
information so that others can review your pull request. -->

**What kind of change does this PR introduce?**
types fix

**Did you add tests for your changes?**
No

**If relevant, did you update the documentation?**
Not relevant

**Summary**
I am updating `import`s of `devtools-protocol` to always use named
import instead of the default.
For some reason, typescript doesn't understand when it is imported as
default.

```
node_modules/puppeteer-core/lib/esm/puppeteer/common/TargetManager.d.ts:23:59 - error TS2694: Namespace '"/Users/kyrylo/pacakge/node_modules/puppeteer-core/node_modules/devtools-protocol/types/protocol"' has no exported member 'Target'.

23 export declare type TargetFactory = (targetInfo: Protocol.Target.TargetInfo, session?: CDPSession) => Target;
                                                             ~~~~~~


Found 1 error in node_modules/puppeteer-core/lib/esm/puppeteer/common/TargetManager.d.ts:23
```

**Does this PR introduce a breaking change?**
No
<!-- If this PR introduces a breaking change, please describe the impact
and a migration path for existing applications. -->

**Other information**
I am updating `import`s of `devtools-protocol` to always use named
import instead of the default.
2023-01-17 11:34:57 +00:00
..
bidi feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
accessibility.spec.ts fix: improve a11y snapshot handling if the tree is not correct (#9405) 2022-12-13 08:31:26 +00:00
ariaqueryhandler.spec.ts fix(puppeteer-core): target interceptor is not async (#9430) 2022-12-17 17:47:21 +00:00
browser.spec.ts feat(chromium): roll to Chromium 109.0.5412.0 (r1069273) (#9364) 2022-12-07 14:54:00 +01:00
browsercontext.spec.ts feat: expose browser context id (#9134) 2022-10-19 08:30:57 +00:00
CDPSession.spec.ts chore: upgrade mitt (#9340) 2022-11-29 19:50:58 +00:00
chromiumonly.spec.ts chore: implement custom mocha interface for the runner (#8929) 2022-09-09 11:12:18 +02:00
click.spec.ts fix!: remove puppeteer.devices in favor of KnownDevices (#9075) 2022-10-10 15:30:12 +02:00
cookies.spec.ts docs: fix typos (#9476) 2023-01-16 20:25:09 +01:00
coverage.spec.ts feat(chromium): roll to Chromium 110.0.5479.0 (r1083080) (#9500) 2023-01-12 11:31:20 +01:00
defaultbrowsercontext.spec.ts chore: implement custom mocha interface for the runner (#8929) 2022-09-09 11:12:18 +02:00
dialog.spec.ts chore: implement custom mocha interface for the runner (#8929) 2022-09-09 11:12:18 +02:00
diffstyle.css chore: use composite builds for tests (#8522) 2022-06-15 12:05:25 +02:00
drag-and-drop.spec.ts chore: implement custom mocha interface for the runner (#8929) 2022-09-09 11:12:18 +02:00
elementhandle.spec.ts feat: add element validation (#9352) 2022-12-19 13:25:56 +01:00
emulation.spec.ts fix!: remove puppeteer.devices in favor of KnownDevices (#9075) 2022-10-10 15:30:12 +02:00
evaluation.spec.ts chore: implement custom mocha interface for the runner (#8929) 2022-09-09 11:12:18 +02:00
EventEmitter.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
fixtures.spec.ts feat(chromium): roll to Chromium 109.0.5412.0 (r1069273) (#9364) 2022-12-07 14:54:00 +01:00
frame.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
golden-utils.ts chore: use --parallel (#8612) 2022-07-05 14:42:55 +02:00
headful.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
idle_override.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
ignorehttpserrors.spec.ts chore: extract BrowserContext to its own file (#9133) 2022-10-19 07:06:31 +00:00
injected.spec.ts chore: re-export all exports (#9241) 2022-11-10 17:11:18 +01:00
input.spec.ts fix!: deprecate indirect error imports (#9072) 2022-10-06 23:52:51 +02:00
jshandle.spec.ts chore: implement custom mocha interface for the runner (#8929) 2022-09-09 11:12:18 +02:00
keyboard.spec.ts feat(puppeteer-core): keydown supports commands (#9357) 2022-12-03 11:23:47 +01:00
launcher.spec.ts chore: use named import for devtools-protocol module (#9511) 2023-01-17 11:34:57 +00:00
mocha-utils.ts chore: use named import for devtools-protocol module (#9511) 2023-01-17 11:34:57 +00:00
mouse.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
navigation.spec.ts feat(chromium): roll to Chromium 109.0.5412.0 (r1069273) (#9364) 2022-12-07 14:54:00 +01:00
network.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
NetworkManager.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
oopif.spec.ts docs: fix typos (#9476) 2023-01-16 20:25:09 +01:00
page.spec.ts feat(chromium): roll to Chromium 110.0.5479.0 (r1083080) (#9500) 2023-01-12 11:31:20 +01:00
proxy.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
queryhandler.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
queryselector.spec.ts fix!: refactor custom query handler API (#9078) 2022-10-10 16:01:09 +02:00
requestinterception-experimental.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
requestinterception.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
screenshot.spec.ts chore: implement custom mocha interface for the runner (#8929) 2022-09-09 11:12:18 +02:00
target.spec.ts fix!: deprecate indirect error imports (#9072) 2022-10-06 23:52:51 +02:00
TargetManager.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
touchscreen.spec.ts fix!: remove puppeteer.devices in favor of KnownDevices (#9075) 2022-10-10 15:30:12 +02:00
tracing.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
utils.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
waittask.spec.ts chore: fix race in test Frame.waitForFunction should work when context is destroyed (#9368) 2022-12-06 16:59:44 +00:00
worker.spec.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00