Commit Graph

495 Commits

Author SHA1 Message Date
jrandolf
28564b36e1
chore: handle RealmCreated properly (#10834) 2023-09-06 16:32:47 +02:00
Alex Rudenko
73f741ea33
docs: update docs about touchmove (#10847) 2023-09-05 10:42:19 +02:00
Nikolay Vitkov
0ab6f76945
docs: fix warnings, remove node 14, sort files (#10846) 2023-09-05 10:41:21 +02:00
Nikolay Vitkov
7ac04eb2e5
chore: use deep serialization zero for Handles (#10848) 2023-09-05 10:39:52 +02:00
jrandolf
d4bf52985e
refactor: use generic implementations (#10833) 2023-09-05 09:10:16 +02:00
Nikolay Vitkov
06c1588016
fix: LifecycleWatcher sub frames handling (#10841) 2023-09-04 16:16:37 +02:00
Nikolay Vitkov
12bdd70651
chore: more BiDi Connection test to unit (#10839) 2023-09-04 14:06:23 +02:00
jrandolf
690b1c2218
chore: use bindIsolatedHandle (#10810) 2023-09-01 15:13:29 +00:00
jrandolf
f3c7499e67
chore: refactor handles to use realms (#10830) 2023-09-01 12:12:29 +00:00
jrandolf
7e74439c51
chore: enable 'return-await` (#10832) 2023-09-01 09:49:33 +02:00
jrandolf
25db3f1188
chore: use git clean (#10828) 2023-08-31 16:58:31 +02:00
jrandolf
92f38ff5c9
chore: remove excess internal comments (#10827) 2023-08-31 16:39:58 +02:00
jrandolf
538bb73ea7
fix: implement throwIfDetached (#10826) 2023-08-31 16:39:32 +02:00
Nikolay Vitkov
517c4753f2
chore: add cause for callback errors (#10823) 2023-08-31 15:54:57 +02:00
jrandolf
d91c3ed675
chore: implement throwIfDisposed (#10819) 2023-08-31 14:04:40 +02:00
Alex Rudenko
22daf1861f
fix: make page.goBack work with bfcache in tab mode (#10818) 2023-08-30 14:28:07 +00:00
Alex Rudenko
a9446f3d43
refactor: rename secondary page to speculative session (#10817) 2023-08-30 15:07:11 +02:00
jrandolf
8233f61a45
chore: refactor mutex (#10816) 2023-08-30 15:06:19 +02:00
jrandolf
65188dd2e2
chore: rename BiDi classes with Bidi prefix (#10815) 2023-08-30 14:20:25 +02:00
jrandolf
c67141f3ae
chore: implement Disposable/AsyncDisposable on Page and Browser (#10809) 2023-08-30 13:10:06 +02:00
jrandolf
4d3cb6ccf3
chore: refactor Frame (#10808) 2023-08-30 11:09:27 +00:00
Nikolay Vitkov
3ffafc67d5
refactor: event maps and docs warnings (#10800) 2023-08-30 12:25:07 +02:00
jrandolf
b9744b2c95
chore: refactor Sandbox and IsolatedWorld (#10807) 2023-08-30 12:24:38 +02:00
jrandolf
900a1f227d
chore: turn on rulesdir/use-using (#10806) 2023-08-30 10:02:59 +00:00
Alex Rudenko
a540085176
feat: expose DevTools as a target (#10812) 2023-08-30 11:32:38 +02:00
Alex Rudenko
14f0ab7397
fix: apply viewport emulation to prerender targets (#10804) 2023-08-30 11:04:28 +02:00
jrandolf
2401bb46b1
chore: implement moveable (#10803) 2023-08-29 22:48:37 +02:00
jrandolf
8c07631bd1
chore: implement (Async)Disposable on handles (#10802) 2023-08-29 21:44:59 +02:00
Alex Rudenko
085936bd7e
fix: make network manager multi session (#10793) 2023-08-29 18:12:04 +02:00
jrandolf
6f2e3db883
chore: implement disposable stack polyfill (#10797) 2023-08-29 16:33:54 +02:00
Alex Rudenko
599c0694ea
chore: emit target configuration via CDP session (#10794) 2023-08-29 10:52:47 +02:00
Nikolay Vitkov
0eb5e93890
chore: enable more BiDi tests (#10784) 2023-08-29 10:32:43 +02:00
release-please[bot]
b4507c69c1
chore: release main (#10771)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-08-28 13:34:38 +00:00
jrandolf
a3db064cbb
chore: update dependencies (#10785) 2023-08-28 13:01:52 +02:00
Alex Rudenko
6f1dd09cca
chore: allow enabling the tab target for testing (#10790) 2023-08-28 08:53:22 +00:00
Alex Rudenko
c4bad4a6da
chore: support Tab targets (#10148) 2023-08-28 08:20:57 +02:00
jrandolf
c4a4412920
chore: implement waitForFrame and use clickablePoint for ElementHandle operations (#10778) 2023-08-24 20:32:29 +02:00
jrandolf
a4a2cf1d39
chore: update dependencies (#10781) 2023-08-24 14:42:51 +02:00
jrandolf
5c161274f7
chore: implement ElementHandle.prototype.clickablePoint (#10775) 2023-08-24 14:36:24 +02:00
jrandolf
941028f87c
chore: update chromium-bidi (#10780) 2023-08-24 11:49:25 +02:00
jrandolf
5f8d2a43b2
chore: use abstract for implemented methods (#10774) 2023-08-23 18:00:34 +02:00
jrandolf
27636afacf
chore: implement boxModel, contentFrame, and nested frame boundingBox (#10773) 2023-08-23 16:58:18 +02:00
jrandolf
ce9e2df04d
chore: update dependencies (#10763) 2023-08-21 20:13:03 +02:00
Alex Rudenko
8f9388f2ce
fix(locators): do not retry via catchError (#10762) 2023-08-21 16:32:13 +00:00
release-please[bot]
de719dbb86
chore: release main (#10738)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-08-18 09:03:27 +00:00
Alex Rudenko
8424ecf4c4
chore: use setViewport (#10748) 2023-08-18 10:15:43 +02:00
Nikolay Vitkov
532c0eb40c
docs: update custom query handler (#10726) 2023-08-17 13:24:25 +02:00
Alex Rudenko
77ffbba141
chore: add waitForInitiallyDiscoveredTargets (#10745) 2023-08-17 12:48:46 +02:00
Alex Rudenko
fc08a7dd54
fix: locator.fill should work for textareas (#10737)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-08-17 06:05:58 +00:00
Alex Rudenko
81ecb60190
fix: relative ordering of events and command responses should be ensured (#10725) 2023-08-16 14:12:29 +00:00
browser-automation-bot
e12b558f50
feat: roll to Chrome 116.0.5845.96 (r1160321) (#10735) 2023-08-16 07:32:24 +00:00
Alex Rudenko
c6e5bb2e40
refactor: fail early for features that require CDP (#10723) 2023-08-11 09:36:32 +02:00
release-please[bot]
6d7ea9e105
chore: release main (#10721)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-08-11 07:58:27 +02:00
jrandolf
0c59e9a1cb
chore: implement mapHandle and filterHandle (#10716) 2023-08-09 14:36:58 +00:00
Nikolay Vitkov
47dfc3578d
chore: add evaluateOnNewDocument for BiDi (#10712) 2023-08-09 10:00:33 +02:00
Alex Rudenko
f70048c84f
refactor: turn Frame into EventEmitter (#10711) 2023-08-08 16:42:45 +02:00
release-please[bot]
854d488693
chore: release main (#10681)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-08-08 16:05:17 +02:00
Alex Rudenko
420421d41f
refactor: move event listeners in Page to a helper (#10710) 2023-08-08 12:02:56 +00:00
Alex Rudenko
932a5e0415
refactor: add parentSession() to CDPSession (#10709) 2023-08-08 12:21:43 +02:00
Nikolay Vitkov
2dec12fe8b
chore: update test expectations BiDi (#10703) 2023-08-08 08:18:43 +00:00
jrandolf
8b8770c004
fix: destroy puppeteer utility on context destruction (#10672) 2023-08-07 14:44:12 +02:00
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