Nikolay Vitkov
88439f913e
fix: update the target to ES2022 ( #10574 )
2023-07-18 18:28:03 +02:00
Nikolay Vitkov
d560299aa8
chore: add waitForSelector for BiDi ( #10383 )
2023-06-16 09:16:04 +02:00
Nikolay Vitkov
39e9737232
refactor: Deferred to a class ( #10282 )
2023-05-31 23:36:19 +02:00
Alex Rudenko
ff22ba8679
refactor: rename DeferredPromise to Deferred ( #10255 )
2023-05-26 09:42:22 +00:00
Alex Rudenko
c9cca17833
refactor: make deferred promises more robust to use ( #10245 )
2023-05-26 08:02:17 +02:00
Alex Rudenko
575f00a31d
fix: use AbortSignal.throwIfAborted ( #10105 )
2023-05-02 14:08:05 +02:00
Nikolay Vitkov
e4b57c279a
chore: add EsLint rule for no-floating-promises
( #10084 )
2023-04-26 09:53:02 +00:00
jrandolf
bbf2c0a8ec
chore: use AbortSignal instead of AbortController ( #10048 )
2023-04-20 08:18:48 +02:00
Alex Rudenko
9109b76276
feat: support AbortController in waitForSelector ( #10018 )
2023-04-18 16:45:10 +00: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
e8f25e403f
refactor: custom query handlers and global bindings ( #9678 )
2023-02-15 07:33:18 -08:00
jrandolf
023c2dcdbc
refactor: implement reverse argument binding ( #9651 )
2023-02-14 07:54:44 -08:00
Nikolay Vitkov
b8ea891ab8
chore: Extract JSHandle to API ( #9632 )
2023-02-09 18:04:06 +01:00
ggorlen
e16cbc6626
fix: restore WaitTask terminate condition ( #9612 )
2023-02-01 00:10:02 -08: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
jrandolf
f42336cf83
feat: separate puppeteer and puppeteer-core ( #9023 )
...
This PR moves the puppeteer source code into separate mono-repo packages:
- `puppeteer` and `puppeteer-core` are now separated into their own
packages.
- `puppeteer-core` has a new exports called `puppeteer-core/internal`
for internal usage.
Tests and various tools have been updated to accommodate the migration.
2022-10-05 14:17:03 +02:00