Commit Graph

1308 Commits

Author SHA1 Message Date
Nikolay Vitkov
58e9c64f63
chore: fix expectations ()
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-06-30 11:18:01 +00:00
Alex Rudenko
02634d80da
test: update tests for aborted requests () 2023-06-30 11:56:16 +02:00
release-please[bot]
74f588f1c1
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-06-29 16:51:40 +00:00
jrandolf
84a956f56b
fix: fix escaping algo for P selectors () 2023-06-29 11:00:57 +00:00
jrandolf
1c80ebe846
chore: update Bidi key values () 2023-06-29 07:31:49 +00:00
Nikolay Vitkov
1f0dc4f3a3
refactor: move EventEmitter tests () 2023-06-28 13:36:26 +02:00
dependabot[bot]
6edb392ebc
chore(deps): Bump glob from 10.3.0 to 10.3.1 ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 09:15:32 +00:00
Nikolay Vitkov
ceb6fbb365
chore: use a less chatty BiDi+ () 2023-06-28 09:54:16 +02:00
Alex Rudenko
e452647739
chore: move Deferred test () 2023-06-26 14:01:36 +02:00
Alex Rudenko
c35084dd2c
ci: separate unit tests () 2023-06-26 10:57:48 +02:00
Nikolay Vitkov
42bdfa20d7
chore: add Deferred test for BiDi () 2023-06-22 09:39:39 +00:00
dependabot[bot]
28e5cf0f0b
chore(deps): Bump glob from 10.2.7 to 10.3.0 ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 10:48:01 +02:00
Nikolay Vitkov
45a05e038b
chore: add Deferred.race test () 2023-06-21 22:51:15 +02:00
Nikolay Vitkov
ff8529696d
ci: remove before hooks () 2023-06-21 19:41:09 +00:00
Nikolay Vitkov
337184e722
chore: BiDi waitForNavigation () 2023-06-21 12:45:17 +02:00
jrandolf
fbdcc0d646
fix: add parenthesis to JS values in interpolateFunction () 2023-06-20 16:26:10 +02:00
Alex Rudenko
c16a4a7276
ci: check number of tests () 2023-06-20 13:56:11 +02:00
Alex Rudenko
0556799e5a
chore: fix error in Connection for Firefox () 2023-06-20 11:07:56 +02:00
jrandolf
3ba7fba838
chore: implement Bidi keyboard () 2023-06-19 17:44:39 +02:00
Alex Rudenko
769dd593ab
chore: enable locator tests () 2023-06-19 14:28:54 +02:00
jrandolf
4f6b0d4e45
chore: implement Webdriver BiDi mouse and touchscreen ()
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 () 2023-06-19 10:12:43 +02:00
Alex Rudenko
90a9de7257
chore: implement default context and newPage/pages () 2023-06-16 15:27:31 +02:00
Alex Rudenko
eda592426e
chore: enable waitForFunction tests () 2023-06-16 12:58:08 +02:00
Nikolay Vitkov
d560299aa8
chore: add waitForSelector for BiDi () 2023-06-16 09:16:04 +02:00
Alex Rudenko
866addd132
chore: emulation over bidi+ () 2023-06-15 15:58:48 +02:00
Alex Rudenko
853d0dc76f
chore: enable coverage over bidi+ () 2023-06-15 10:00:14 +02:00
Alex Rudenko
2961449391
test: misc test improvements () 2023-06-13 13:05:01 +00:00
Alex Rudenko
b8db12fd8e
chore: fix firefox bidi test () 2023-06-13 13:53:01 +02:00
Alex Rudenko
9473d740e7
chore: tracing over bidi+ ()
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 () 2023-06-13 10:17:48 +02:00
Alex Rudenko
903afc3715
chore: implement acceptInsecureCerts and version for BiDi () 2023-06-13 10:17:23 +02:00
jrandolf
35aedc0dbb
feat: add reset to mouse () 2023-06-12 17:59:28 +00:00
Nikolay Vitkov
9aee41a53d
chore: run more BiDi test () 2023-06-12 14:50:30 +02:00
Nikolay Vitkov
a31231ef54
chore: implement common functions for BiDi () 2023-06-12 11:32:19 +02:00
Nikolay Vitkov
e3e68a99d2
chore: use launch helper () 2023-06-12 10:44:18 +02:00
release-please[bot]
d89072a368
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-06-12 08:11:43 +00:00
Alex Rudenko
edb03d695b
chore: add a11y to bidi over bidi+ () 2023-06-07 13:54:09 +02:00
Alex Rudenko
b8782fd7a2
chore: enable a browser spec test () 2023-06-07 13:50:51 +02:00
Nikolay Vitkov
3552d97360
chore: update dependencies () 2023-06-07 11:17:31 +00:00
Alex Rudenko
9c35e9ab1f
feat: implement Locator.race () 2023-06-07 12:45:02 +02:00
Nikolay Vitkov
dde569b97d
ci: fix flaky test () 2023-06-07 10:18:01 +02:00
Nikolay Vitkov
0371beebba
chore: $ and $$ BiDi support () 2023-06-06 12:39:54 +00:00
Alex Rudenko
272f6c79f4
test: fix expectations for pqueries () 2023-06-06 11:34:12 +02:00
Alex Rudenko
514ad107d7
docs: add a few examples for ARIA queries ()
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-06-06 09:46:26 +02:00
Alex Rudenko
ade6ad89f4
test: update bidi tests for firefox () 2023-06-05 16:11:30 +00:00
Alex Rudenko
1f978f5fc5
feat: implement Locators () 2023-06-02 17:46:10 +00:00
Nikolay Vitkov
4d0dbbc517
feat: add page.removeExposedFunction () 2023-06-02 14:08:36 +02:00
Nikolay Vitkov
9abd48a062
fix: content() not showing comments outside html tag () 2023-06-01 21:51:16 +02:00
Nikolay Vitkov
74becdb6a0
chore: add browser and browserContext methods to Page () 2023-06-01 11:04:36 +00:00
Nikolay Vitkov
39e9737232
refactor: Deferred to a class () 2023-05-31 23:36:19 +02:00
release-please[bot]
5fc136eec1
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-31 13:09:47 +00:00
Nikolay Vitkov
6f8ea5764d
chore: add Page.reload for BiDi () 2023-05-31 13:13:34 +02:00
Nikolay Vitkov
e61d9cbb4b
chore: refactor waitForNetworkIdle + waitForEvent () 2023-05-31 09:32:16 +02:00
Alex Rudenko
54d6192262
chore: add methods to configure locators () 2023-05-30 13:20:00 +00:00
Nikolay Vitkov
b03acac30f
chore: add support for waitForNetworkIdle () 2023-05-30 11:07:55 +00:00
Alex Rudenko
73b72b31b2
test: catch unhandled in a network test () 2023-05-30 08:03:06 +00:00
Nikolay Vitkov
1e5865c911
chore: remove unused files () 2023-05-30 07:22:09 +00:00
Nikolay Vitkov
f342c26d95
chore: add WaitForRequest and WaitForResponse () 2023-05-26 14:50:00 +02:00
Alex Rudenko
ff22ba8679
refactor: rename DeferredPromise to Deferred () 2023-05-26 09:42:22 +00:00
Junyan
b5a124ff73
feat: Page.removeScriptToEvaluateOnNewDocument ()
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-05-26 07:56:45 +00:00
Alex Rudenko
79b5299c5b
chore: recover Buffer.concat on errors () 2023-05-26 06:45:02 +00:00
Alex Rudenko
c9cca17833
refactor: make deferred promises more robust to use () 2023-05-26 08:02:17 +02:00
Nikolay Vitkov
557ec24cfc
fix: stacktraces should not throw errors () 2023-05-24 14:42:08 +02:00
Alex Rudenko
cf28dae775
chore: convert async describe to sync () 2023-05-24 12:08:36 +00:00
Nikolay Vitkov
49360eac10
chore: fixes expectation for test in Firefox () 2023-05-24 11:56:24 +02:00
Alex Rudenko
4edcb72430
chore: fix test expectations () 2023-05-23 14:46:08 +02:00
Alex Rudenko
9ca9bbf259
chore: implement fill for locators () 2023-05-23 13:55:12 +02:00
Junyan
81f73a55f3
feat: Page.setBypassServiceWorker ()
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-05-23 13:51:32 +02:00
Alex Rudenko
640422680f
fix: webpack tests to use dirname () 2023-05-23 12:06:26 +02:00
Nikolay Vitkov
070ee03d31
chore: network module for BiDi () 2023-05-22 14:52:31 +02:00
Alex Rudenko
87ca58f97a
chore: implement locators for scroll and hover () 2023-05-22 09:57:51 +00:00
Alex Rudenko
1ad32ec994
feat: add an ability to trim cache for Puppeteer () 2023-05-17 15:21:40 +02:00
release-please[bot]
1e0cb1a164
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-16 07:42:00 +00:00
Nikolay Vitkov
2808240c71
chore: implement Frames for BiDi () 2023-05-15 16:39:47 +02:00
Alex Rudenko
4398f66f28
fix: downloadPath should be used by the install script () 2023-05-11 17:09:24 +00:00
Nikolay Vitkov
c00cf45009
chore: create a test helper for launching browser () 2023-05-11 13:10:27 +00:00
jrandolf
317fa732f9
feat: implement detailed errors for evaluation () 2023-05-10 10:23:29 +02:00
Alex Rudenko
90ed263eaf
feat: support stable/dev/beta/canary keywords for chrome and chromium () 2023-05-08 14:54:44 +02:00
Alexandra Borovova
510d9717be
chore: try to enable some tests for firefox () 2023-05-08 11:39:23 +02:00
Alex Rudenko
9a1aff8a4c
chore: implement locators with a click ()
Co-authored-by: jrandolf <101637635+jrandolf@users.noreply.github.com>
2023-05-05 09:11:16 +00:00
Nikolay Vitkov
4615607b7d
chore: add test console after navigation () 2023-05-04 09:43:12 +00:00
Alex Rudenko
df4d60c187
feat!: switch to Chrome for Testing instead of Chromium ()
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 () 2023-04-26 15:56:23 +02:00
Alex Rudenko
deeb314930
chore: update test expectations for passing tests () 2023-04-26 15:00:47 +02:00
Alex Rudenko
dd8c229a4f
chore: add bidi+ emulation command () 2023-04-26 14:37:31 +02:00
Nikolay Vitkov
e4b57c279a
chore: add EsLint rule for no-floating-promises () 2023-04-26 09:53:02 +00:00
Alex Rudenko
4dd4cb9292
feat: add AbortSignal to waitForFunction ()
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-04-26 10:50:08 +02:00
Nikolay Vitkov
5e79d53bd3
refactor: tests use toHaveLength and waitEvent () 2023-04-25 15:02:25 +02:00
jrandolf
8124a7d5bf
fix: implement click count () 2023-04-25 13:28:47 +02:00
Nikolay Vitkov
513f658989
chore: bump BiDi Mapper to latest () 2023-04-24 08:25:39 +02:00
Alex Rudenko
704624eb20
fix: move fs.js to the node folder () 2023-04-21 09:45:04 +02:00
Alex Rudenko
8283823cb8
fix: continue requests without network instrumentation () 2023-04-20 12:28:56 +00:00
jrandolf
bbf2c0a8ec
chore: use AbortSignal instead of AbortController () 2023-04-20 08:18:48 +02:00
Alex Rudenko
9109b76276
feat: support AbortController in waitForSelector () 2023-04-18 16:45:10 +00:00
jrandolf
34db39e447
fix: improve mouse actions () 2023-04-17 10:56:51 +02:00
Alex Rudenko
285c7912fc
test: installation test for @puppeteer/browsers () 2023-04-14 16:47:59 +02:00
Alex Rudenko
26c81b7408
feat: add ElementHandle.isVisible and ElementHandle.isHidden () 2023-04-12 11:19:46 +02:00
Alex Rudenko
0d556a71d6
feat: add ElementHandle.scrollIntoView () 2023-04-12 07:17:18 +02:00
Alex Rudenko
656b562c74
fix: make isIntersectingViewport work with SVG elements () 2023-04-11 14:05:10 +00:00
Alex Rudenko
e7265c9aa9
fix: ignore extraInfo events if the response is served from cache () 2023-04-06 12:29:10 +02:00
Nikolay Vitkov
c03f5922f8
docs: small misc. updates ()
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-04-05 18:06:33 +02:00
Alex Rudenko
de0cc3245e
chore: simplify installation tests () 2023-04-04 17:07:24 +00:00
Alex Rudenko
c8f6adf9f3
refactor: use browsers for launchers () 2023-04-04 13:29:21 +00:00
Nikolay Vitkov
fe934ad092
chore: fix only for skipped tests () 2023-04-04 09:37:15 +02:00
jrandolf
728547d460
fix: use shadowRoot for tree walker () 2023-03-31 17:19:59 +02:00
Alex Rudenko
9af680d3e5
chore: increase timeouts for tests creating many pages () 2023-03-28 15:09:18 +00:00
Alex Rudenko
3936600ba9
refactor: use @puppeteer/browsers for install ()
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-03-28 09:27:50 +00:00
Nikolay Vitkov
95c99e84b8
chore: add PDF print for BiDi () 2023-03-27 11:39:40 +02:00
Alex Rudenko
de86cafe3c
chore: reduce default timeout to 10s () 2023-03-24 09:35:45 +01:00
Nikolay Vitkov
48e7bdd75e
chore: use events rather than commands () 2023-03-23 17:18:48 +01:00
jrandolf
6c018acf5d
chore: update deep implementation for P selectors () 2023-03-23 15:46:33 +01:00
Alex Rudenko
f6ef167b0f
chore: validate licenses () 2023-03-23 10:22:52 +01:00
Alex Rudenko
ad7bbaebef
chore: remove retries and fix expectations () 2023-03-23 10:22:17 +01:00
Alex Rudenko
976684e4e1
chore: remove operations for now () 2023-03-22 16:56:12 +01:00
Alex Rudenko
1f76cdda12
chore: replace rimraf with a helper in BrowserFetcher/Connector () 2023-03-21 13:41:56 +01:00
Alex Rudenko
f1488b6c3a
chore: replace rimraf in tests with a helper with retries () 2023-03-21 11:39:15 +01:00
dependabot[bot]
9150cfe253
chore(deps): Bump glob from 9.3.0 to 9.3.1 ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 10:23:26 +01:00
Nikolay Vitkov
36c029b38d
fix: waitForNavigation issue with aborted events () 2023-03-21 10:22:57 +01:00
Nikolay Vitkov
3ea15dc395
chore: JavaScript error should produce pageerror events () 2023-03-21 10:21:48 +01:00
Michael "Z" Goddard
a5149d52f5
feat: add Page.waitForDevicePrompt ()
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 () 2023-03-20 14:00:13 +01:00
Nikolay Vitkov
9ccde6ebf5
chore: added * pattern for test expectations () 2023-03-20 10:59:50 +01:00
Alex Rudenko
aa7c475461
test: add a few regressed selectors () 2023-03-17 12:55:39 +01:00
dependabot[bot]
e3b8321f55
chore(deps): Bump glob from 9.2.1 to 9.3.0 ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-03-17 08:57:58 +01:00
jrandolf
9f9394ca42
chore: use parsel () 2023-03-16 14:41:38 +01:00
Nikolay Vitkov
16b39de5ca
chore: extract HTTP prep for BiDi network module () 2023-03-15 17:51:34 +01:00
Nikolay Vitkov
4351e0de9e
chore: fix Actions Node version to LTS () 2023-03-15 13:59:42 +01:00
Nikolay Vitkov
17c650b6d1
chore: prefer use of fs/promise to utils/promisify ()
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-03-14 18:30:41 +01:00
jrandolf
dd16ecae03
chore: use custom tokenizer () 2023-03-14 10:13:23 +01:00
jrandolf
9044609be3
fix: sort elements based on selector matching algorithm () 2023-03-13 16:11:16 +01:00
Nikolay Vitkov
175362c048
chore: add BiDi for goto navigation () 2023-03-10 15:59:02 +00:00
Alex Rudenko
5bb41e1c11
chore: restore rimraf in test code () 2023-03-10 10:37:14 +01:00
jrandolf
364b23f8b5
fix: update dependencies () 2023-03-06 13:43:37 +01:00
jrandolf
813882db7b
chore: update glob () 2023-03-06 12:28:33 +01:00
jrandolf
2123f809e8
chore: remove rimraf () 2023-03-06 11:33:38 +01:00
jrandolf
f84873c121
chore: support commas in P selectors () 2023-03-06 10:56:52 +01:00
Henrik Skupin
d3b25df34d
chore: update test expectation data for Firefox for 19.7.2 downstream sync () 2023-03-01 13:00:51 +00:00
Nikolay Vitkov
004a99aaef
chore: implement simple BiDi ElementHandle () 2023-03-01 11:09:17 +01:00
Nikolay Vitkov
232873ae76
chore: fix Mocha test runner suggestion when hooks fail () 2023-02-28 12:55:20 +01:00
Nikolay Vitkov
3db7d55d26
chore: remove BigInt exists checks () 2023-02-24 19:26:29 +01:00
Nikolay Vitkov
9910aae2f7
chore: Fix BiDi session.status Param type () 2023-02-21 19:16:07 +00:00
jrandolf
84845e4901
chore: implement operations () 2023-02-21 11:12:27 +01:00
Nikolay Vitkov
9b54365df5
chore: Add Page.Console event to BiDi () 2023-02-20 13:00:29 +01:00
Nikolay Vitkov
eefe9583d0
chore: Add EsLint rule import/order () 2023-02-15 15:09:31 -08:00
jrandolf
2b3cf3ace9
chore: implement P queries () 2023-02-15 10:42:32 -08:00
jrandolf
e8f25e403f
refactor: custom query handlers and global bindings () 2023-02-15 07:33:18 -08:00
Nikolay Vitkov
0c85c0611c
chore: Implement JSHandle for BiDi () 2023-02-15 10:29:18 +00:00
jrandolf
56f99f7b10
refactor: migrate to iterator-based query handlers () 2023-02-14 13:31:30 -08:00
Alex Rudenko
df59d010c2
feat(chromium): roll to Chromium 111.0.5556.0 (r1095492) () 2023-02-13 09:46:01 +00:00