Alex Rudenko
cd09c3cee7
chore: refactor frame tree management ( #8952 )
...
This PR removes the strong references between
parent and child frames and stores the frame in a
lazy FrameTree with weak references.
Drive-by: fix --no-coverage flag in test runner
2022-09-16 05:35:51 +00:00
jrandolf
2a2af7134f
chore: incrementally erase cache on text change ( #8961 )
2022-09-15 18:48:55 +02:00
Alex Rudenko
8d5097d7f6
chore: split CI jobs to run in parallel ( #8934 )
2022-09-15 05:59:11 +00:00
Alex Rudenko
db28203e64
chore: support WebDriver BiDi browser instances ( #8932 )
...
This PR adds a basic support for WebDriver BiDi that currently includes only the ability to establish a connection and shutdown the browser. Therefore, the implementation is marked as internal and won't show up in the changelog as it's barely useful at the moment.
The API classes are kept as classes instead of interfaces so that clients relying on instanceof checks still work.
2022-09-15 02:15:15 +02:00
Alex Rudenko
1ecb6e3f19
chore: add custom reporter ( #8931 )
...
This PR adds a custom mocha reporter that is a combination
of the Spec + JSON reporters. This way our test runner can
remove custom printing logic for test runs and only output
expectations.
2022-09-09 12:22:48 +02:00
Alex Rudenko
504c7a1ae6
chore: implement custom mocha interface for the runner ( #8929 )
...
Instead of checking skipped tests in mocha-utils this PR
implements a custom mocha interface for better flexibility
when skipping tests. That should allow skipping tests without
running before and after hooks.
2022-09-09 11:12:18 +02:00
Alex Rudenko
d8830cbc55
chore: implement a test runner on top of mocha ( #8866 )
...
* chore: implement a test runner on top of mocha
This PR implements a test runner on top of mocha
that performs multiple mocha runs as defined in
TestSuites.json and compares the outcome of the runs
against TestExpectations.json. This allows us to
remove most of helpers from mocha-utils and be more
flexible when defining the test configurations.
2022-09-08 10:32:39 +00:00
jrandolf
3499e1292e
chore: generate version on pre-publish ( #8872 )
2022-08-31 17:21:25 +02:00
jrandolf
37906f4708
chore: correct output ( #8871 )
2022-08-31 16:20:05 +02:00
jrandolf
eb6cea4f57
chore: use jobs for artifact generation ( #8864 )
2022-08-31 14:42:53 +02:00
jrandolf
292216652b
chore: add injection framework ( #8862 )
...
* chore: add injection framework
2022-08-31 10:50:22 +02:00
jrandolf
b80beecadf
chore: use js
extension ( #8804 )
2022-08-17 15:40:32 +02:00
jrandolf
03c1814e5b
chore: use jobs for document generation ( #8802 )
2022-08-17 15:14:46 +02:00
jrandolf
bdcb748b98
chore: infrastructure for injecting scripts into DOMWorlds ( #8801 )
2022-08-17 14:39:41 +02:00
jrandolf
90aa628fcc
chore: update NEXT
during versioning ( #8794 )
2022-08-16 08:22:14 +02:00
jrandolf
ddbe88b887
chore: add custom rule for formatting comments ( #8777 )
2022-08-12 14:15:26 +02:00
Alex Rudenko
73221042db
chore: follow test:$browser[:$flavor] naming for tests + retries for Firefox ( #8775 )
2022-08-11 18:45:52 +00:00
Alex Rudenko
b5064b7b8b
fix: specify Puppeteer version for Chromium 105.0.5173.0 ( #8766 )
2022-08-10 11:51:54 +02:00
Alex Rudenko
6934b94f23
docs: introduce the Guides section + restore req interception docs ( #8758 )
...
Closes #8744
2022-08-09 12:01:23 +00:00
jrandolf
f82c03682a
chore: link new puppeteer versions ( #8637 )
2022-07-06 17:49:47 +02:00
jrandolf
5ff205dc8b
fix: extends ElementHandle
to Node
s ( #8552 )
...
* fix: extends `ElementHandle` to `Node`s (#8552 )
2022-07-06 09:05:37 +02:00
jrandolf
b5a345b06b
chore: format docs ( #8629 )
2022-07-05 15:41:43 +02:00
jrandolf
28e236f1a6
chore: use --parallel ( #8612 )
2022-07-05 14:42:55 +02:00
jrandolf
45eb2c607f
chore: remove docusaurus metadata from README.md ( #8624 )
2022-07-05 14:42:31 +02:00
jrandolf
32c9f3e6fb
chore: update contributing.md ( #8616 )
2022-07-01 16:29:21 +02:00
jrandolf
066f440ba7
feat: add documentation ( #8593 )
2022-07-01 11:52:39 +00:00
jrandolf
7001322cd1
feat: export public types only ( #8584 )
2022-06-27 09:24:23 +02:00
jrandolf
93d6c6deae
chore: remove doclint type checking ( #8549 )
2022-06-23 08:39:28 +02:00
jrandolf
84712cbc28
chore: use Google's TS style guide's format config ( #8542 )
2022-06-22 15:25:44 +02:00
jrandolf
ce0dd25349
chore: use braces in function bodies ( #8525 )
2022-06-15 12:42:21 +02:00
jrandolf
570087ea94
chore: use strict typing in tests ( #8524 )
...
* The testing tsconfig.json inherits from the base TS config.
* A lot of type assertions have been inserted...a lot.
* All testing utilities have migrated to TS.
* text-diff is being replaced with diff for TS compatibility.
* ProtocolError has been added to PuppeteerErrors and PuppeteerErrors is no longer a record (it's been frozen).
* Fixes a small bug where null was an allowable media type in emulation (should be undefined).
2022-06-15 12:09:22 +02:00
jrandolf
80373f7a12
chore: use composite
builds for tests ( #8522 )
2022-06-15 12:05:25 +02:00
jrandolf
e6442dd767
chore: use curly
( #8519 )
2022-06-14 13:55:35 +02:00
jrandolf
75c3f94a54
chore: namespace commands ( #8494 )
2022-06-10 11:55:53 +02:00
jrandolf
465a7c405f
feat: export puppeteer methods ( #8493 )
2022-06-09 19:00:50 +02:00
jrandolf
b4e751f29c
feat: use strict typescript ( #8401 )
2022-05-31 16:34:16 +02:00
Randolf Jung
bc1326f16e
chore: build main docs after publishing
2022-05-31 15:38:34 +02:00
jrandolf
d111d19f78
fix: process documentation during publishing ( #8433 )
2022-05-30 21:50:34 +02:00
jrandolf
bfed9cd34a
chore: use exit code 0 for doclint file gen ( #8377 )
2022-05-20 05:13:06 +00:00
jrandolf
f5f8d16947
chore: automate tag on release ( #8366 )
2022-05-19 11:26:42 +00:00
Alex Rudenko
eec2bf882b
chore: set up daily jobs for latest Chromium builds ( #8344 )
2022-05-13 12:15:12 +00:00
jrandolf
6841bd68d8
feat: support ES modules ( #8306 )
2022-05-09 11:17:24 +00:00
Valentin Semirulnik
baa017db92
feat: add support for Apple Silicon chromium builds ( #7546 )
...
Google has published Chromium builds for Apple Silicon so we can fetch it now
Related to #6622
2022-05-05 07:33:19 +00:00
Philip Jägenstedt
e09287f4e9
fix: apparent typo SUPPORTER_PLATFORMS ( #8294 )
...
"Supporter" is a word, but probably not the intended one.
2022-05-02 08:22:32 +02:00
jrandolf
7a51bff47f
feat: add back
and forward
mouse buttons ( #8284 )
2022-04-27 21:00:07 +00:00
jrandolf
e9278fcfcf
feat: export Frame._client
through getter ( #8041 )
...
Co-authored-by: Randolf Jung <jrandolf@chromium.org>
2022-02-21 14:58:37 +00:00
jrandolf
c5e01efdef
chore: update typescript to v4.5.5 ( #8042 )
...
Co-authored-by: Randolf Jung <jrandolf@chromium.org>
2022-02-21 12:30:12 +00:00
Alex Rudenko
7e2b47c974
chore: fix deprecate command ( #8000 )
2022-02-11 07:32:27 +01:00
Alex Rudenko
179ededa14
revert: esm modules ( #7996 )
...
* Revert "fix(puppeteer): export internals (#7991 )"
This reverts commit 448118cbdb
.
* Revert "feat(puppeteer): export esm modules in package.json (#7964 )"
This reverts commit 523b487e88
.
2022-02-10 13:34:36 +00:00
jrandolf
448118cbdb
fix(puppeteer): export internals ( #7991 )
...
Signed-off-by: Randolf Jung <jrandolf@chromium.org>
Co-authored-by: Randolf Jung <jrandolf@chromium.org>
2022-02-10 10:59:24 +00:00