Kiko Beats
87aaed4807
feat(screenshot): enable optimizeForSpeed ( #10492 )
2023-07-03 11:43:34 +02:00
Nikolay Vitkov
089e90e3f8
refactor: simplified the LifecycleWatcher ( #10487 )
2023-07-03 09:30:30 +02:00
Nikolay Vitkov
0a7bad6d6a
chore: clean NetworkManager Maps for BiDi ( #10468 )
2023-06-29 08:16:35 +00:00
jrandolf
1c80ebe846
chore: update Bidi key values ( #10466 )
2023-06-29 07:31:49 +00:00
jrandolf
1175fe98c1
chore: update code for chromium-bidi update ( #10467 )
2023-06-28 13:52:50 +02:00
Nikolay Vitkov
1f0dc4f3a3
refactor: move EventEmitter tests ( #10463 )
2023-06-28 13:36:26 +02:00
Nikolay Vitkov
ceb6fbb365
chore: use a less chatty BiDi+ ( #10453 )
2023-06-28 09:54:16 +02:00
Alex Rudenko
c35084dd2c
ci: separate unit tests ( #10436 )
2023-06-26 10:57:48 +02:00
Alex Rudenko
61f4525ae3
fix: fix the util import in Connection.ts ( #10450 )
2023-06-26 10:25:15 +02:00
Nikolay Vitkov
337184e722
chore: BiDi waitForNavigation ( #10424 )
2023-06-21 12:45:17 +02:00
Alex Rudenko
0556799e5a
chore: fix error in Connection for Firefox ( #10422 )
2023-06-20 11:07:56 +02:00
jrandolf
3ba7fba838
chore: implement Bidi keyboard ( #10417 )
2023-06-19 17:44:39 +02:00
jrandolf
4f6b0d4e45
chore: implement Webdriver BiDi mouse and touchscreen ( #10402 )
...
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-06-19 11:26:30 +00:00
jrandolf
39847bd231
refactor: use input API for CDP inputs ( #10401 )
2023-06-19 10:12:43 +02:00
Nikolay Vitkov
138cc5c961
fix: WaitForNetworkIdle and Deferred.race ( #10411 )
2023-06-19 08:11:59 +00:00
Alex Rudenko
90a9de7257
chore: implement default context and newPage/pages ( #10397 )
2023-06-16 15:27:31 +02:00
Alex Rudenko
eda592426e
chore: enable waitForFunction tests ( #10396 )
2023-06-16 12:58:08 +02:00
Nikolay Vitkov
d560299aa8
chore: add waitForSelector for BiDi ( #10383 )
2023-06-16 09:16:04 +02:00
Alex Rudenko
866addd132
chore: emulation over bidi+ ( #10391 )
2023-06-15 15:58:48 +02:00
Alex Rudenko
e4110746f1
chore: move more things to emulation manager ( #10390 )
2023-06-15 12:30:37 +00:00
Alex Rudenko
ca4ab96812
chore: roll back interfaces for wrapping CDP ( #10389 )
2023-06-15 13:34:54 +02:00
Alex Rudenko
853d0dc76f
chore: enable coverage over bidi+ ( #10387 )
2023-06-15 10:00:14 +02:00
Alex Rudenko
3171c12a0c
fix: avoid importing puppeteer-core.js ( #10376 )
2023-06-13 13:57:00 +00:00
Alex Rudenko
2961449391
test: misc test improvements ( #10371 )
2023-06-13 13:05:01 +00:00
Alex Rudenko
7cb6059bcc
fix: mark CDPSessionOnMessageObject as internal ( #10373 )
2023-06-13 13:53:48 +02:00
Alex Rudenko
9473d740e7
chore: tracing over bidi+ ( #10370 )
...
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-06-13 09:25:32 +00:00
Alex Rudenko
c2d3488ad8
fix: specify the context id when adding bindings ( #10366 )
2023-06-13 10:17:48 +02:00
Alex Rudenko
903afc3715
chore: implement acceptInsecureCerts and version for BiDi ( #10365 )
2023-06-13 10:17:23 +02:00
jrandolf
35aedc0dbb
feat: add reset
to mouse ( #10340 )
2023-06-12 17:59:28 +00:00
Nikolay Vitkov
9aee41a53d
chore: run more BiDi test ( #10355 )
2023-06-12 14:50:30 +02:00
Nikolay Vitkov
a31231ef54
chore: implement common functions for BiDi ( #10345 )
2023-06-12 11:32:19 +02:00
Alex Rudenko
edb03d695b
chore: add a11y to bidi over bidi+ ( #10338 )
2023-06-07 13:54:09 +02:00
Nikolay Vitkov
3552d97360
chore: update dependencies ( #10336 )
2023-06-07 11:17:31 +00:00
Nikolay Vitkov
0371beebba
chore: $ and $$ BiDi support ( #10318 )
2023-06-06 12:39:54 +00:00
jrandolf
bc0b04beef
fix: ensure stack trace contains one line ( #10317 )
2023-06-06 07:11:46 +00:00
Nikolay Vitkov
793a371837
refactor: Tracing uses deferred ( #10315 )
2023-06-05 11:34:53 +00:00
Alexandra Borovova
e8d044cb8d
fix: send capabilities property in session.new command ( #10311 )
2023-06-02 17:37:25 +02:00
Nikolay Vitkov
4d0dbbc517
feat: add page.removeExposedFunction
( #10297 )
2023-06-02 14:08:36 +02:00
Nikolay Vitkov
9abd48a062
fix: content() not showing comments outside html tag ( #10293 )
2023-06-01 21:51:16 +02:00
Nikolay Vitkov
74becdb6a0
chore: add browser and browserContext methods to Page ( #10290 )
2023-06-01 11:04:36 +00:00
Nikolay Vitkov
39e9737232
refactor: Deferred to a class ( #10282 )
2023-05-31 23:36:19 +02:00
Nikolay Vitkov
6923c6b3de
chore: simplify waitWithTimeout ( #10278 )
2023-05-31 14:48:51 +02:00
Nikolay Vitkov
6f8ea5764d
chore: add Page.reload for BiDi ( #10274 )
2023-05-31 13:13:34 +02:00
Nikolay Vitkov
3fdad21744
chore: update Docs dependencies ( #10275 )
2023-05-31 09:30:22 +00:00
Nikolay Vitkov
e61d9cbb4b
chore: refactor waitForNetworkIdle + waitForEvent ( #10277 )
2023-05-31 09:32:16 +02:00
Nikolay Vitkov
b03acac30f
chore: add support for waitForNetworkIdle ( #10261 )
2023-05-30 11:07:55 +00:00
Nikolay Vitkov
a94dbceade
chore: add Page/Frame title method ( #10260 )
2023-05-30 08:36:22 +00:00
Nikolay Vitkov
39935c8a40
refactor: use Deferred for session close ( #10258 )
2023-05-30 09:03:42 +02:00
Nikolay Vitkov
f342c26d95
chore: add WaitForRequest and WaitForResponse ( #10257 )
2023-05-26 14:50:00 +02:00
Alex Rudenko
ff22ba8679
refactor: rename DeferredPromise to Deferred ( #10255 )
2023-05-26 09:42:22 +00:00
Junyan
b5a124ff73
feat: Page.removeScriptToEvaluateOnNewDocument ( #10250 )
...
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-05-26 07:56:45 +00:00
Alex Rudenko
c9cca17833
refactor: make deferred promises more robust to use ( #10245 )
2023-05-26 08:02:17 +02:00
Nikolay Vitkov
0cac94c0d6
chore: EventEmitter should mimic NodeJS' one ( #10241 )
2023-05-24 17:57:56 +02:00
Nikolay Vitkov
557ec24cfc
fix: stacktraces should not throw errors ( #10231 )
2023-05-24 14:42:08 +02:00
Nikolay Vitkov
faab64e1f3
chore: use Chrome Canary for BiDi testing ( #10222 )
2023-05-24 11:43:45 +00:00
Nikolay Vitkov
49360eac10
chore: fixes expectation for test in Firefox ( #10239 )
2023-05-24 11:56:24 +02:00
Alex Rudenko
8903d2f6ec
chore: fix uncaught error ( #10234 )
2023-05-23 15:19:12 +02:00
Junyan
81f73a55f3
feat: Page.setBypassServiceWorker ( #10229 )
...
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-05-23 13:51:32 +02:00
Nikolay Vitkov
070ee03d31
chore: network module for BiDi ( #10159 )
2023-05-22 14:52:31 +02:00
Nikolay Vitkov
bcf5fd87ae
fix: ElementHandle dragAndDrop should fail when interception is disabled ( #10209 )
2023-05-19 15:10:43 +02:00
Alex Rudenko
dab77d0c06
refactor: use InitializationStatus consistently ( #10192 )
2023-05-17 10:13:17 +02:00
Alex Rudenko
5a5e4d46a3
refactor: change target promises to be deferred ( #10191 )
2023-05-16 15:18:22 +00:00
Alex Rudenko
372d12172b
refactor: move target updates to the target manager ( #10189 )
2023-05-16 11:34:10 +00:00
Nikolay Vitkov
2808240c71
chore: implement Frames for BiDi ( #10121 )
2023-05-15 16:39:47 +02:00
Alex Rudenko
609584a8b8
refactor: add WorkerTarget and OtherTarget ( #10181 )
2023-05-15 11:12:23 +00:00
jrandolf
d0c68ff002
fix: use encode/decodeURIComponent ( #10183 )
2023-05-15 12:09:43 +02:00
Alex Rudenko
f342a129e8
refactor: introduce an internal PageTarget subclass ( #10167 )
2023-05-12 11:51:28 +02:00
Alex Rudenko
4398f66f28
fix: downloadPath should be used by the install script ( #10163 )
2023-05-11 17:09:24 +00:00
jrandolf
317fa732f9
feat: implement detailed errors for evaluation ( #10114 )
2023-05-10 10:23:29 +02:00
Alex Rudenko
9758cae029
fix: rename PUPPETEER_DOWNLOAD_HOST to PUPPETEER_DOWNLOAD_BASE_URL ( #10130 )
2023-05-05 10:32:58 +02:00
jrandolf
9e21d30f75
chore: update typescript ( #10135 )
2023-05-05 05:46:17 +00:00
Alex Rudenko
575f00a31d
fix: use AbortSignal.throwIfAborted ( #10105 )
2023-05-02 14:08:05 +02:00
Alex Rudenko
df4d60c187
feat!: switch to Chrome for Testing instead of Chromium ( #10054 )
...
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-05-02 08:53:40 +02:00
Alex Rudenko
1b125094b9
chore: implement defaultViewport ( #10089 )
2023-04-26 15:56:23 +02:00
Alex Rudenko
dd8c229a4f
chore: add bidi+ emulation command ( #10087 )
2023-04-26 14:37:31 +02:00
Nikolay Vitkov
e4b57c279a
chore: add EsLint rule for no-floating-promises
( #10084 )
2023-04-26 09:53:02 +00:00
Alex Rudenko
4dd4cb9292
feat: add AbortSignal to waitForFunction ( #10078 )
...
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-04-26 10:50:08 +02:00
jrandolf
8124a7d5bf
fix: implement click count
( #10069 )
2023-04-25 13:28:47 +02:00
jrandolf
a6eaac4c39
fix: infer last pressed button in mouse move ( #10067 )
2023-04-24 13:14:33 +02:00
Nikolay Vitkov
513f658989
chore: bump BiDi Mapper to latest ( #10060 )
2023-04-24 08:25:39 +02:00
jrandolf
e5d6864056
docs: improve docs on file upload ( #10058 )
2023-04-21 14:15:19 +02:00
Alex Rudenko
8283823cb8
fix: continue requests without network instrumentation ( #10046 )
2023-04-20 12:28:56 +00:00
jrandolf
690aec1b5c
fix: install bindings once ( #10049 )
2023-04-20 08:59:36 +02:00
jrandolf
bbf2c0a8ec
chore: use AbortSignal instead of AbortController ( #10048 )
2023-04-20 08:18:48 +02:00
Nikolay Vitkov
5547e43829
refactor: use deferred promise ( #10044 )
2023-04-19 15:28:38 +02:00
zeeker999
c12512822a
feat(webworker): expose WebWorker.client ( #10042 )
...
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-04-19 11:00:08 +02:00
Alex Rudenko
9109b76276
feat: support AbortController in waitForSelector ( #10018 )
2023-04-18 16:45:10 +00:00
jrandolf
34db39e447
fix: improve mouse actions ( #10021 )
2023-04-17 10:56:51 +02:00
Alex Rudenko
26c81b7408
feat: add ElementHandle.isVisible and ElementHandle.isHidden ( #10007 )
2023-04-12 11:19:46 +02:00
Alex Rudenko
0d556a71d6
feat: add ElementHandle.scrollIntoView ( #10005 )
2023-04-12 07:17:18 +02:00
Alex Rudenko
656b562c74
fix: make isIntersectingViewport work with SVG elements ( #10004 )
2023-04-11 14:05:10 +00:00
jrandolf
ab27f738c9
perf: amortize handle iterator ( #10002 )
2023-04-11 13:36:03 +00:00
Alex Rudenko
1eca5663f1
docs: fix typo ( #10000 )
2023-04-11 09:21:15 +00:00
CanadaHonk
c09764e4c4
fix: add filter to setDiscoverTargets for Firefox ( #9693 )
2023-04-06 16:35:12 +00:00
Alex Rudenko
e7265c9aa9
fix: ignore extraInfo events if the response is served from cache ( #9983 )
2023-04-06 12:29:10 +02:00
Nikolay Vitkov
327febe2c9
chore: importFs handles it's own error ( #9971 )
2023-04-04 17:29:29 +02:00
Nikolay Vitkov
0b1e20cf5b
refactor: prefer use of DeferPromise ( #9969 )
2023-04-04 14:10:26 +00:00
Alex Rudenko
c8f6adf9f3
refactor: use browsers for launchers ( #9937 )
2023-04-04 13:29:21 +00:00
Nikolay Vitkov
1396274477
docs: remove some redundant instances of @returns ( #9943 )
2023-03-30 11:54:00 +00:00
Nikolay Vitkov
e0eef01f1c
docs: use code block for single values ( #9936 )
2023-03-29 15:27:29 +02:00
Nikolay Vitkov
a99abc9a2f
docs: remove unhelpful api pages ( #9933 )
2023-03-28 18:02:00 +00:00
Alex Rudenko
4465f4bd19
fix: increase the default protocol timeout ( #9928 )
2023-03-28 12:35:13 +00:00
Nikolay Vitkov
c4e1675589
chore: fix BiDi to use cm ( #9926 )
2023-03-28 11:57:58 +00:00
Nikolay Vitkov
3866e462bc
chore: add basic screenshot to BiDi ( #9923 )
2023-03-28 13:02:59 +02:00
Nikolay Vitkov
bb37df5f64
docs: add DeviceRequestPrompt documentation ( #9918 )
2023-03-27 13:16:51 +02:00
Nikolay Vitkov
95c99e84b8
chore: add PDF print for BiDi ( #9914 )
2023-03-27 11:39:40 +02:00
Nikolay Vitkov
022c909326
fix: viewport.deviceScaleFactor can be set to system default ( #9911 )
2023-03-24 10:56:52 +01:00
Alex Rudenko
de86cafe3c
chore: reduce default timeout to 10s ( #9906 )
2023-03-24 09:35:45 +01:00
Nikolay Vitkov
48e7bdd75e
chore: use events rather than commands ( #9904 )
2023-03-23 17:18:48 +01:00
Alex Rudenko
976684e4e1
chore: remove operations for now ( #9899 )
2023-03-22 16:56:12 +01:00
Nikolay Vitkov
c6a9404bb4
chore: reuse SetContent across implementations ( #9894 )
2023-03-22 10:49:39 +01:00
Alex Rudenko
510b36c500
fix: implement protocol-level timeouts ( #9877 )
2023-03-21 11:53:13 +00:00
Nikolay Vitkov
36c029b38d
fix: waitForNavigation issue with aborted events ( #9883 )
2023-03-21 10:22:57 +01:00
Nikolay Vitkov
3ea15dc395
chore: JavaScript error should produce pageerror
events ( #9884 )
2023-03-21 10:21:48 +01:00
Michael "Z" Goddard
a5149d52f5
feat: add Page.waitForDevicePrompt ( #9299 )
...
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-03-21 10:21:10 +01:00
Nikolay Vitkov
cb079378bb
chore: add BiDi support for SetContent ( #9878 )
2023-03-20 14:00:13 +01:00
Nikolay Vitkov
16b39de5ca
chore: extract HTTP prep for BiDi network module ( #9840 )
2023-03-15 17:51:34 +01:00
Nikolay Vitkov
175362c048
chore: add BiDi for goto
navigation ( #9795 )
2023-03-10 15:59:02 +00:00
Nikolay Vitkov
38d511b5c2
docs: fix some api-extractor warnings ( #9806 )
2023-03-09 09:22:09 +01:00
Alex Rudenko
bc1a04def8
fix: call _detach on disconnect ( #9807 )
2023-03-09 09:21:28 +01:00
jrandolf
364b23f8b5
fix: update dependencies ( #9781 )
2023-03-06 13:43:37 +01:00
Nikolay Vitkov
004a99aaef
chore: implement simple BiDi ElementHandle ( #9753 )
2023-03-01 11:09:17 +01:00
Nikolay Vitkov
4a365a42b4
chore: extract BiDi context to allow emitting only to it ( #9742 )
2023-02-28 11:10:14 +01:00
Nikolay Vitkov
3db7d55d26
chore: remove BigInt exists checks ( #9744 )
2023-02-24 19:26:29 +01:00
Nikolay Vitkov
ba5d4bf2c1
chore: Fix ES Lint import rule ( #9738 )
2023-02-23 13:37:40 +00:00
Paul Irish
81bf443789
chore: DRY up mouse.click() ( #9725 )
2023-02-21 20:50:43 +00:00
Nikolay Vitkov
9910aae2f7
chore: Fix BiDi session.status Param type ( #9723 )
2023-02-21 19:16:07 +00:00
jrandolf
84845e4901
chore: implement operations ( #9717 )
2023-02-21 11:12:27 +01:00
Nikolay Vitkov
9b54365df5
chore: Add Page.Console event to BiDi ( #9700 )
2023-02-20 13:00:29 +01:00
Alex Rudenko
82916c102b
fix: bump chromium-bidi to a version that does not declare mitt as a peer dependency ( #9701 )
2023-02-17 14:14:52 +01:00
Nikolay Vitkov
eefe9583d0
chore: Add EsLint rule import/order ( #9685 )
2023-02-15 15:09:31 -08:00
jrandolf
cfb60d01a8
refactor: remove obsolete wait task binding code ( #9679 )
2023-02-15 10:57:24 -08:00
jrandolf
2b3cf3ace9
chore: implement P queries ( #9639 )
2023-02-15 10:42:32 -08:00
jrandolf
e8f25e403f
refactor: custom query handlers and global bindings ( #9678 )
2023-02-15 07:33:18 -08:00
Nikolay Vitkov
0c85c0611c
chore: Implement JSHandle for BiDi ( #9660 )
2023-02-15 10:29:18 +00:00
jrandolf
56f99f7b10
refactor: migrate to iterator-based query handlers ( #9676 )
2023-02-14 13:31:30 -08:00
jrandolf
023c2dcdbc
refactor: implement reverse argument binding ( #9651 )
2023-02-14 07:54:44 -08:00
jrandolf
eb138635d6
fix: fix circularity on JSHandle interface ( #9661 )
2023-02-13 11:25:07 -08:00
Nikolay Vitkov
b8ea891ab8
chore: Extract JSHandle to API ( #9632 )
2023-02-09 18:04:06 +01:00
Rafael Martins
ddb0cc174d
fix: page.goto
error throwing on 40x/50x responses with an empty body ( #9523 ) ( #9577 )
...
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-02-06 09:40:51 +00:00
Nikolay Vitkov
9b11b6a4e0
chore: Add BiDi serialization for RegExp and Date ( #9623 )
2023-02-03 12:32:26 +00:00
charlieinitialdigital
c8bb11adfc
feat: add touchstart, touchmove and touchend methods ( #9622 )
2023-02-03 10:59:21 +00:00
Nikolay Vitkov
abcc1756dd
chore: Add BiDi Page.evaluate ( #9609 )
2023-02-02 15:14:28 +01:00
Rafael-Martins
f12f27e1eb
docs: clarify the waitForXPath return type ( #9541 ) ( #9583 )
2023-02-01 15:23:32 +00:00
ggorlen
e16cbc6626
fix: restore WaitTask terminate condition ( #9612 )
2023-02-01 00:10:02 -08:00
Alex Rudenko
390685bbe5
fix: ignore not found contexts for console messages ( #9595 )
2023-01-30 10:22:55 +00:00
jrandolf
050a7b0624
fix: atomically get Puppeteer utilities ( #9597 )
2023-01-27 11:58:40 -08:00
jrandolf
1980de91a1
fix: mimic rejection for PuppeteerUtil on early call ( #9589 )
2023-01-26 01:34:47 -08:00
Alex Rudenko
6edd996768
fix(revert): use LazyArg for puppeteer utilities ( #9590 )
...
Reverts puppeteer/puppeteer#9575
2023-01-26 09:50:06 +01:00
jrandolf
496658f029
fix: use LazyArg for puppeteer utilities ( #9575 )
...
This PR fixes the following edge case:
- `const oldPromise = world.puppeteerUtil`.
- setContext occurs but context is immediately destroyed, i.e.
`world.#puppeteerUtil === oldPromise` is not resolved.
- clearContext occurs due to destruction, i.e. `world.#puppeteerUtil` is
replaced (`world.#puppeteerUtil !== oldPromise`).
- `oldPromise` never resolves.
2023-01-26 08:56:33 +01:00