Nikolay Vitkov
9abd48a062
fix: content() not showing comments outside html tag ( #10293 )
2023-06-01 21:51:16 +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
jrandolf
317fa732f9
feat: implement detailed errors for evaluation ( #10114 )
2023-05-10 10:23:29 +02:00
Nikolay Vitkov
e4b57c279a
chore: add EsLint rule for no-floating-promises
( #10084 )
2023-04-26 09:53:02 +00:00
jrandolf
8124a7d5bf
fix: implement click count
( #10069 )
2023-04-25 13:28:47 +02: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
e0eef01f1c
docs: use code block for single values ( #9936 )
2023-03-29 15:27:29 +02:00
Nikolay Vitkov
c6a9404bb4
chore: reuse SetContent across implementations ( #9894 )
2023-03-22 10:49:39 +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
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
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
Kian-Meng Ang
4437bceb6e
docs: fix typos ( #9476 )
...
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-01-16 20:25:09 +01:00
Alex Rudenko
30c6b13eec
chore: re-export all exports ( #9241 )
...
Adds index files to subfolders and removes generation of types.ts in
puppeteer-core.
2022-11-10 17:11:18 +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