Commit Graph

484 Commits

Author SHA1 Message Date
browser-automation-bot
e5af57ebd0
fix: roll to Chrome 115.0.5790.170 (r1148114) (#10677) 2023-08-07 06:25:52 +02:00
Nikolay Vitkov
512a0f2a9d
chore: enable _client for Chrome BiDi (#10688) 2023-08-04 13:09:10 +00:00
Nikolay Vitkov
f4c711e25b
chore: BiDi close error (#10687) 2023-08-04 14:45:38 +02:00
Nikolay Vitkov
d9a596511e
chore: add bringToFront for BiDi (#10685) 2023-08-03 19:58:28 +02:00
release-please[bot]
2f6870651e
chore: release main (#10680)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-08-03 12:19:16 +02:00
jrandolf
1b44b911d3
fix: use handle frame instead of page (#10676) 2023-08-03 12:11:44 +02:00
release-please[bot]
9a814a3656
chore: release main (#10598)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-08-02 14:50:46 +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
7de91f16b4
docs: fix typo (#10658) 2023-08-01 14:29:42 +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
jrandolf
16ab291b93
chore: specialize Locator.prototype.setWaitForEnabled (#10649) 2023-07-27 10:17:27 +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
Alex Rudenko
0e40f3e143
refactor: move context actions to the browser (#10621) 2023-07-25 11:30:57 +00: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
4568f1bba5
refactor: remove timeoutSettings from browsingContext (#10624) 2023-07-24 16:03:12 +02:00
Alex Rudenko
996d53fc65
chore: support targets for bidi (#10615) 2023-07-24 12:23:39 +02:00
Alex Rudenko
d0c5b8e089
feat: add page.createCDPSession method (#10515) 2023-07-21 14:03:52 +02:00
browser-automation-bot
8649c53a70
fix: roll to Chrome 115.0.5790.102 (r1148114) (#10608) 2023-07-21 10:02:29 +02:00
Alex Rudenko
0e60ce4cec
refactor: move Target to api (#10602) 2023-07-21 09:04:14 +02:00
Paul Draper
c60572a1ca
fix: remove typescript from peer dependencies (#10593)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-07-21 09:03:55 +02:00
jrandolf
0603f71f77
chore: implement type signatures for internal Locator methods (#10603) 2023-07-20 18:44:02 +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
Alex Rudenko
4a3b8b2d9e
refactor: separate target init from construction (#10600) 2023-07-20 13:00:44 +02:00
release-please[bot]
03adf4189e
chore: release main (#10577)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-07-20 07:36:56 +00: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
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
3b4ff2ad32
test: enable waitForXPath tests (#10580) 2023-07-18 21:11:12 +02:00
Nikolay Vitkov
88439f913e
fix: update the target to ES2022 (#10574) 2023-07-18 18:28:03 +02:00
Alex Rudenko
a419abf509
test: unskip style tag tests (#10572) 2023-07-18 18:27:41 +02:00
release-please[bot]
6be24edacc
chore: release main (#10570)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-07-18 12:40:13 +02:00
Alex Rudenko
e3dd5968ca
fix(locators): reject the race if there are only failures (#10567) 2023-07-18 11:26:06 +02:00
Alex Rudenko
6f31c52217
docs: update gpu docs (#10562) 2023-07-17 12:13:13 +00:00
Nikolay Vitkov
de09b058ba
chore: update Prettier and other deps (#10555) 2023-07-17 10:52:54 +02:00
Adam Raine
cb46413d87
fix: prevent erroneous new main frame (#10549) 2023-07-13 22:11:36 +02:00
release-please[bot]
52ef96214b
chore: release main (#10550)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-07-13 09:14:49 +02:00
release-please[bot]
36ebd1cb18
chore: release main (#10521)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-07-11 13:11:12 +02:00
Alex Rudenko
cbf4f2a669
fix: remove test metadata files (#10520) 2023-07-07 09:22:29 +00:00
release-please[bot]
62886f267b
chore: release main (#10497)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-07-06 16:51:40 +02:00
Alex Rudenko
56a97dd2fb
fix: add an internal page.locatorRace (#10512) 2023-07-06 09:24:19 +02:00
dependabot[bot]
fa412292be
chore(deps): Bump cross-fetch from 3.1.6 to 4.0.0 (#10501)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 15:25:48 +00:00
Nikolay Vitkov
0caf124182
chore: move unit tests (#10498) 2023-07-03 13:25:43 +00:00
Kiko Beats
87aaed4807
feat(screenshot): enable optimizeForSpeed (#10492) 2023-07-03 11:43:34 +02:00
Nikolay Vitkov
089e90e3f8
refactor: simplified the LifecycleWatcher (#10487) 2023-07-03 09:30:30 +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
Nikolay Vitkov
0a7bad6d6a
chore: clean NetworkManager Maps for BiDi (#10468) 2023-06-29 08:16:35 +00:00
jrandolf
1c80ebe846
chore: update Bidi key values (#10466) 2023-06-29 07:31:49 +00:00
jrandolf
1175fe98c1
chore: update code for chromium-bidi update (#10467) 2023-06-28 13:52:50 +02:00
jrandolf
919f0e8e7f
chore: update chromium-bidi (#10465) 2023-06-28 13:38:35 +02:00
Nikolay Vitkov
1f0dc4f3a3
refactor: move EventEmitter tests (#10463) 2023-06-28 13:36:26 +02: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
Alex Rudenko
61f4525ae3
fix: fix the util import in Connection.ts (#10450) 2023-06-26 10:25:15 +02:00
Baptiste Lombard
a88d1936ca
docs: replace evaluateHandle with evaluate in the evaluate page (#10439) 2023-06-23 11:14:30 +02:00
Nikolay Vitkov
337184e722
chore: BiDi waitForNavigation (#10424) 2023-06-21 12:45:17 +02:00
release-please[bot]
3b09e956c6
chore: release main (#10412)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-06-21 09:14:24 +02:00
jrandolf
fbdcc0d646
fix: add parenthesis to JS values in interpolateFunction (#10426) 2023-06-20 16:26:10 +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
d1ffad059a
fix: include src into published package (#10415) 2023-06-19 13:28:35 +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
Nikolay Vitkov
c06e15fb5b
fix: added clipboard permission that was not exposed (#10119) 2023-06-19 08:53:54 +00:00
jrandolf
39847bd231
refactor: use input API for CDP inputs (#10401) 2023-06-19 10:12:43 +02:00
Nikolay Vitkov
138cc5c961
fix: WaitForNetworkIdle and Deferred.race (#10411) 2023-06-19 08:11:59 +00:00
jrandolf
ede6f5cfe2
chore: separate input api (#10400) 2023-06-19 09:33:19 +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
release-please[bot]
f93b94533d
chore: release main (#10386)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-06-16 07:45:43 +00: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
e4110746f1
chore: move more things to emulation manager (#10390) 2023-06-15 12:30:37 +00:00
Alex Rudenko
ca4ab96812
chore: roll back interfaces for wrapping CDP (#10389) 2023-06-15 13:34:54 +02:00
Alex Rudenko
853d0dc76f
chore: enable coverage over bidi+ (#10387) 2023-06-15 10:00:14 +02:00
browser-automation-bot
93115587c9
fix: roll to Chrome 114.0.5735.133 (r1135570) (#10384) 2023-06-15 05:47:56 +00:00
release-please[bot]
b332675974
chore: release main (#10377)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-06-13 14:25:26 +00:00
Alex Rudenko
3171c12a0c
fix: avoid importing puppeteer-core.js (#10376) 2023-06-13 13:57:00 +00:00
Alex Rudenko
2961449391
test: misc test improvements (#10371) 2023-06-13 13:05:01 +00:00
release-please[bot]
3e3911acdb
chore: release main (#10375)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-06-13 12:24:39 +00:00
Alex Rudenko
7cb6059bcc
fix: mark CDPSessionOnMessageObject as internal (#10373) 2023-06-13 13:53:48 +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
Alex Rudenko
ba28724952
fix: Locator.scroll in race (#10363) 2023-06-12 12:07:16 +00:00
Nikolay Vitkov
a31231ef54
chore: implement common functions for BiDi (#10345) 2023-06-12 11:32:19 +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
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
browser-automation-bot
60acefc1d6
fix: roll to Chrome 114.0.5735.90 (r1135570) (#10329) 2023-06-07 06:32:32 +00:00
Nikolay Vitkov
0371beebba
chore: $ and $$ BiDi support (#10318) 2023-06-06 12:39:54 +00:00
Alex Rudenko
dea71bac40
chore: stop disabling DIPS (#10326) 2023-06-06 11:57:48 +00:00
Alex Rudenko
1d43e571d1
chore: refactor locator options (#10325) 2023-06-06 13:03:32 +02:00
Alex Rudenko
b81b019083
chore: mark Locator constructor as private (#10322) 2023-06-06 11:51:34 +02:00
jrandolf
bc0b04beef
fix: ensure stack trace contains one line (#10317) 2023-06-06 07:11:46 +00:00
Nikolay Vitkov
793a371837
refactor: Tracing uses deferred (#10315) 2023-06-05 11:34:53 +00:00
Alex Rudenko
1f978f5fc5
feat: implement Locators (#10305) 2023-06-02 17:46:10 +00:00
Alexandra Borovova
e8d044cb8d
fix: send capabilities property in session.new command (#10311) 2023-06-02 17:37:25 +02:00
Nikolay Vitkov
4d0dbbc517
feat: add page.removeExposedFunction (#10297) 2023-06-02 14:08:36 +02:00
Alex Rudenko
021402d136
feat(chrome): roll to Chrome 114.0.5735.45 (r1135570) (#10302) 2023-06-02 09:12:31 +00:00
Nikolay Vitkov
9abd48a062
fix: content() not showing comments outside html tag (#10293) 2023-06-01 21:51:16 +02:00
Thiago Perrotta
27db1eb4f4
docs: add webp to captureScreenshot.format (#10295) 2023-06-01 15:49:27 +00: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
6923c6b3de
chore: simplify waitWithTimeout (#10278) 2023-05-31 14:48:51 +02:00
Nikolay Vitkov
6f8ea5764d
chore: add Page.reload for BiDi (#10274) 2023-05-31 13:13:34 +02:00
Nikolay Vitkov
3fdad21744
chore: update Docs dependencies (#10275) 2023-05-31 09:30:22 +00: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
50e72a4d11
fix: bind trimCache to the instance (#10270) 2023-05-30 09:10:45 +00:00
Nikolay Vitkov
a94dbceade
chore: add Page/Frame title method (#10260) 2023-05-30 08:36:22 +00:00
Nikolay Vitkov
39935c8a40
refactor: use Deferred for session close (#10258) 2023-05-30 09:03:42 +02: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
Nikolay Vitkov
031b021703
chore: bump TS target to ES2021 (#10247) 2023-05-26 07:37:05 +00:00
Alex Rudenko
c9cca17833
refactor: make deferred promises more robust to use (#10245) 2023-05-26 08:02:17 +02:00
release-please[bot]
b1308d1c95
chore: release main (#10228)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-25 04:52:07 +00:00
Nikolay Vitkov
0cac94c0d6
chore: EventEmitter should mimic NodeJS' one (#10241) 2023-05-24 17:57:56 +02:00
Nikolay Vitkov
557ec24cfc
fix: stacktraces should not throw errors (#10231) 2023-05-24 14:42:08 +02:00
Nikolay Vitkov
faab64e1f3
chore: use Chrome Canary for BiDi testing (#10222) 2023-05-24 11:43:45 +00:00
Nikolay Vitkov
49360eac10
chore: fixes expectation for test in Firefox (#10239) 2023-05-24 11:56:24 +02:00
Alex Rudenko
8903d2f6ec
chore: fix uncaught error (#10234) 2023-05-23 15:19:12 +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
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
release-please[bot]
7487598433
chore: release main (#10201)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-22 08:07:48 +00:00
Nikolay Vitkov
bcf5fd87ae
fix: ElementHandle dragAndDrop should fail when interception is disabled (#10209) 2023-05-19 15:10:43 +02:00
Alex Rudenko
9cba24a961
refactor: make it easier to extend trimCache (#10202) 2023-05-17 16:10:51 +02:00
Alex Rudenko
1ad32ec994
feat: add an ability to trim cache for Puppeteer (#10199) 2023-05-17 15:21:40 +02:00
Alex Rudenko
dab77d0c06
refactor: use InitializationStatus consistently (#10192) 2023-05-17 10:13:17 +02:00