Commit Graph

1352 Commits

Author SHA1 Message Date
Nikolay Vitkov
f4c711e25b
chore: BiDi close error (#10687) 2023-08-04 14:45:38 +02:00
Nikolay Vitkov
4a0a2bb2db
chore: enable PuppeteerUtil test for BiDi (#10686) 2023-08-04 11:02:30 +00:00
jrandolf
1b44b911d3
fix: use handle frame instead of page (#10676) 2023-08-03 12:11:44 +02:00
Nikolay Vitkov
63b2be122d
chore: fix waitForNavigation BiDi (#10671) 2023-08-02 13:13:39 +02:00
Nikolay Vitkov
4f60a567a6
chore: update chromium-bidi (#10670) 2023-08-01 16:38:27 +02:00
Nikolay Vitkov
76f67ebd76
chore: add Dialogs for BiDi (#10659) 2023-08-01 15:53:02 +02:00
jrandolf
04369db145
chore: implement partial ElementHandle.prototype.boundingBox (#10660) 2023-08-01 15:07:48 +02:00
Nikolay Vitkov
0757d04358
chore: update chromium-bidi (#10620) 2023-07-28 11:11:14 +02:00
jrandolf
fdada74ba7
feat: implement Locator.prototype.waitHandle (#10650) 2023-07-27 10:47:29 +02:00
Alex Rudenko
448a18310d
refactor: add browser target (#10642) 2023-07-27 09:56:13 +02:00
jrandolf
6ad92f7f84
feat: implement function locators (#10632) 2023-07-27 09:23:28 +02:00
jrandolf
34be28db5d
feat: implement immutable locator operations (#10638) 2023-07-26 17:00:00 +02:00
Alex Rudenko
30ccbf855a
refactor: target events for bidi (#10634) 2023-07-26 12:19:27 +00:00
jrandolf
e73d35def0
feat: implement Locator.prototype.filter (#10631) 2023-07-25 16:46:10 +02:00
jrandolf
47eecf5bb1
feat: implement Locator.prototype.map (#10630) 2023-07-25 16:45:10 +02:00
jrandolf
5d34d42d15
feat: implement Locator.prototype.wait (#10629) 2023-07-25 16:43:18 +02:00
jrandolf
ede43ca2d3
chore: use RxJS for locator implementation (#10607)
Using RxJS greatly simplifies the control flow for locators and comes with automatic cleanup on failure. It greatly simplifies the `signal` logic and the retry logic.
2023-07-25 12:43:07 +02:00
Alex Rudenko
e8e7bf1d3c
test: format test expectations (#10628) 2023-07-25 10:02:28 +02:00
Nikolay Vitkov
7d97b5804f
chore: launcher test should respect headless (#10625) 2023-07-25 07:06:35 +00:00
Julian Descottes
186b994fba
test: upstream test and expectation for Firefox sync to puppeteer v20.9.0 (#10622) 2023-07-25 08:30:03 +02:00
Alex Rudenko
d0c5b8e089
feat: add page.createCDPSession method (#10515) 2023-07-21 14:03:52 +02:00
Alex Rudenko
c5016cc670
test: update Firefox expectations (#10611) 2023-07-21 11:52:10 +02:00
Alex Rudenko
0e60ce4cec
refactor: move Target to api (#10602) 2023-07-21 09:04:14 +02:00
Alex Rudenko
44712d1e6e
refactor!: use Target for filters (#10601) 2023-07-20 16:18:00 +02:00
jrandolf
0715ad8281
refactor: move locators to separate files (#10591) 2023-07-20 15:06:42 +02:00
jrandolf
5a411ca629
chore: use clock.restore for locator test (#10597) 2023-07-20 10:23:37 +02:00
Alex Rudenko
25e33717f5
chore: implement isIncognito (#10595) 2023-07-20 08:52:50 +02:00
Alex Rudenko
6c9306a72e
feat: add autofill support (#10565) 2023-07-19 17:42:31 +00:00
jrandolf
c14f9b64a7
chore: implement typed Locators, expects, and internal contexts (#10573) 2023-07-19 15:39:38 +00:00
Alex Rudenko
bf6304e064
fix: restore proxy-agent (#10569) 2023-07-19 13:38:52 +02:00
browser-automation-bot
830f926d48
feat: roll to Chrome 115.0.5790.98 (r1148114) (#10584)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-07-19 08:11:45 +00:00
Alex Rudenko
c7f3fb21be
test: enable addScriptTag tests (#10583) 2023-07-18 21:55:30 +02:00
Alex Rudenko
d71836e7ed
test: remove obsolete expectations (#10581) 2023-07-18 21:12:00 +02:00
Alex Rudenko
3b4ff2ad32
test: enable waitForXPath tests (#10580) 2023-07-18 21:11:12 +02:00
jrandolf
b032b629cb
test: skip headful tests in headless modes (#10578) 2023-07-18 20:18:22 +02:00
Alex Rudenko
a419abf509
test: unskip style tag tests (#10572) 2023-07-18 18:27:41 +02:00
Alex Rudenko
e3dd5968ca
fix(locators): reject the race if there are only failures (#10567) 2023-07-18 11:26:06 +02:00
Nikolay Vitkov
de09b058ba
chore: update Prettier and other deps (#10555) 2023-07-17 10:52:54 +02:00
dependabot[bot]
5e50bf2104
chore(deps): Bump glob from 10.3.1 to 10.3.3 (#10539)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 17:41:02 +02:00
Alex Rudenko
56a97dd2fb
fix: add an internal page.locatorRace (#10512) 2023-07-06 09:24:19 +02:00
Nikolay Vitkov
0d2c42a1c4
ci: fix Actions not running sometimes (#10503) 2023-07-04 14:17:25 +02:00
Nikolay Vitkov
0caf124182
chore: move unit tests (#10498) 2023-07-03 13:25:43 +00:00
Nikolay Vitkov
d0d738d2fc
chore: readd browser setup hook (#10478) 2023-07-03 14:01:29 +02:00
Alex Rudenko
5a3abb2f5e
ci: fix mocha utils (#10496) 2023-07-03 11:41:24 +02:00
Nikolay Vitkov
58e9c64f63
chore: fix expectations (#10484)
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 (#10476) 2023-06-30 11:56:16 +02:00
release-please[bot]
74f588f1c1
chore: release main (#10445)
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 (#10474) 2023-06-29 11:00:57 +00:00
jrandolf
1c80ebe846
chore: update Bidi key values (#10466) 2023-06-29 07:31:49 +00:00
Nikolay Vitkov
1f0dc4f3a3
refactor: move EventEmitter tests (#10463) 2023-06-28 13:36:26 +02:00
dependabot[bot]
6edb392ebc
chore(deps): Bump glob from 10.3.0 to 10.3.1 (#10460)
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+ (#10453) 2023-06-28 09:54:16 +02:00
Alex Rudenko
e452647739
chore: move Deferred test (#10452) 2023-06-26 14:01:36 +02:00
Alex Rudenko
c35084dd2c
ci: separate unit tests (#10436) 2023-06-26 10:57:48 +02:00
Nikolay Vitkov
42bdfa20d7
chore: add Deferred test for BiDi (#10434) 2023-06-22 09:39:39 +00:00
dependabot[bot]
28e5cf0f0b
chore(deps): Bump glob from 10.2.7 to 10.3.0 (#10433)
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 (#10432) 2023-06-21 22:51:15 +02:00
Nikolay Vitkov
ff8529696d
ci: remove before hooks (#10431) 2023-06-21 19:41:09 +00:00
Nikolay Vitkov
337184e722
chore: BiDi waitForNavigation (#10424) 2023-06-21 12:45:17 +02:00
jrandolf
fbdcc0d646
fix: add parenthesis to JS values in interpolateFunction (#10426) 2023-06-20 16:26:10 +02:00
Alex Rudenko
c16a4a7276
ci: check number of tests (#10423) 2023-06-20 13:56:11 +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
Alex Rudenko
769dd593ab
chore: enable locator tests (#10416) 2023-06-19 14:28:54 +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
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
853d0dc76f
chore: enable coverage over bidi+ (#10387) 2023-06-15 10:00:14 +02:00
Alex Rudenko
2961449391
test: misc test improvements (#10371) 2023-06-13 13:05:01 +00:00
Alex Rudenko
b8db12fd8e
chore: fix firefox bidi test (#10374) 2023-06-13 13:53:01 +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
Nikolay Vitkov
e3e68a99d2
chore: use launch helper (#10344) 2023-06-12 10:44:18 +02:00
release-please[bot]
d89072a368
chore: release main (#10298)
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+ (#10338) 2023-06-07 13:54:09 +02:00
Alex Rudenko
b8782fd7a2
chore: enable a browser spec test (#10342) 2023-06-07 13:50:51 +02:00
Nikolay Vitkov
3552d97360
chore: update dependencies (#10336) 2023-06-07 11:17:31 +00:00
Alex Rudenko
9c35e9ab1f
feat: implement Locator.race (#10337) 2023-06-07 12:45:02 +02:00
Nikolay Vitkov
dde569b97d
ci: fix flaky test (#10335) 2023-06-07 10:18:01 +02:00
Nikolay Vitkov
0371beebba
chore: $ and $$ BiDi support (#10318) 2023-06-06 12:39:54 +00:00
Alex Rudenko
272f6c79f4
test: fix expectations for pqueries (#10323) 2023-06-06 11:34:12 +02:00
Alex Rudenko
514ad107d7
docs: add a few examples for ARIA queries (#10320)
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 (#10316) 2023-06-05 16:11:30 +00:00
Alex Rudenko
1f978f5fc5
feat: implement Locators (#10305) 2023-06-02 17:46:10 +00: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
release-please[bot]
5fc136eec1
chore: release main (#10281)
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 (#10274) 2023-05-31 13:13:34 +02:00
Nikolay Vitkov
e61d9cbb4b
chore: refactor waitForNetworkIdle + waitForEvent (#10277) 2023-05-31 09:32:16 +02:00
Alex Rudenko
54d6192262
chore: add methods to configure locators (#10273) 2023-05-30 13:20:00 +00:00
Nikolay Vitkov
b03acac30f
chore: add support for waitForNetworkIdle (#10261) 2023-05-30 11:07:55 +00:00
Alex Rudenko
73b72b31b2
test: catch unhandled in a network test (#10242) 2023-05-30 08:03:06 +00:00
Nikolay Vitkov
1e5865c911
chore: remove unused files (#10259) 2023-05-30 07:22:09 +00: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
79b5299c5b
chore: recover Buffer.concat on errors (#10252) 2023-05-26 06:45:02 +00:00
Alex Rudenko
c9cca17833
refactor: make deferred promises more robust to use (#10245) 2023-05-26 08:02:17 +02:00
Nikolay Vitkov
557ec24cfc
fix: stacktraces should not throw errors (#10231) 2023-05-24 14:42:08 +02:00
Alex Rudenko
cf28dae775
chore: convert async describe to sync (#10238) 2023-05-24 12:08:36 +00:00
Nikolay Vitkov
49360eac10
chore: fixes expectation for test in Firefox (#10239) 2023-05-24 11:56:24 +02:00
Alex Rudenko
4edcb72430
chore: fix test expectations (#10232) 2023-05-23 14:46:08 +02:00
Alex Rudenko
9ca9bbf259
chore: implement fill for locators (#10220) 2023-05-23 13:55: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
Alex Rudenko
640422680f
fix: webpack tests to use dirname (#10230) 2023-05-23 12:06:26 +02:00
Nikolay Vitkov
070ee03d31
chore: network module for BiDi (#10159) 2023-05-22 14:52:31 +02:00
Alex Rudenko
87ca58f97a
chore: implement locators for scroll and hover (#10219) 2023-05-22 09:57:51 +00:00
Alex Rudenko
1ad32ec994
feat: add an ability to trim cache for Puppeteer (#10199) 2023-05-17 15:21:40 +02:00
release-please[bot]
1e0cb1a164
chore: release main (#10185)
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 (#10121) 2023-05-15 16:39:47 +02:00
Alex Rudenko
4398f66f28
fix: downloadPath should be used by the install script (#10163) 2023-05-11 17:09:24 +00:00
Nikolay Vitkov
c00cf45009
chore: create a test helper for launching browser (#10152) 2023-05-11 13:10:27 +00:00
jrandolf
317fa732f9
feat: implement detailed errors for evaluation (#10114) 2023-05-10 10:23:29 +02:00
Alex Rudenko
90ed263eaf
feat: support stable/dev/beta/canary keywords for chrome and chromium (#10140) 2023-05-08 14:54:44 +02:00
Alexandra Borovova
510d9717be
chore: try to enable some tests for firefox (#10136) 2023-05-08 11:39:23 +02:00
Alex Rudenko
9a1aff8a4c
chore: implement locators with a click (#10009)
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 (#10110) 2023-05-04 09:43:12 +00: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
deeb314930
chore: update test expectations for passing tests (#10088) 2023-04-26 15:00:47 +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
Nikolay Vitkov
5e79d53bd3
refactor: tests use toHaveLength and waitEvent (#10061) 2023-04-25 15:02:25 +02:00
jrandolf
8124a7d5bf
fix: implement click count (#10069) 2023-04-25 13:28:47 +02:00
Nikolay Vitkov
513f658989
chore: bump BiDi Mapper to latest (#10060) 2023-04-24 08:25:39 +02:00
Alex Rudenko
704624eb20
fix: move fs.js to the node folder (#10055) 2023-04-21 09:45:04 +02:00
Alex Rudenko
8283823cb8
fix: continue requests without network instrumentation (#10046) 2023-04-20 12:28:56 +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
jrandolf
34db39e447
fix: improve mouse actions (#10021) 2023-04-17 10:56:51 +02:00
Alex Rudenko
285c7912fc
test: installation test for @puppeteer/browsers (#10027) 2023-04-14 16:47:59 +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
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
c03f5922f8
docs: small misc. updates (#9978)
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 (#9945) 2023-04-04 17:07:24 +00:00
Alex Rudenko
c8f6adf9f3
refactor: use browsers for launchers (#9937) 2023-04-04 13:29:21 +00:00
Nikolay Vitkov
fe934ad092
chore: fix only for skipped tests (#9964) 2023-04-04 09:37:15 +02:00
jrandolf
728547d460
fix: use shadowRoot for tree walker (#9950) 2023-03-31 17:19:59 +02:00