Commit Graph

811 Commits

Author SHA1 Message Date
jrandolf
2a7d4ab1ad
chore: remove screenshot options for firefox (#11026) 2023-09-25 16:56:39 +02:00
jrandolf
ace1230e41
fix: set defaults in screenshot (#11021) 2023-09-25 15:05:20 +02:00
release-please[bot]
50f07a816e
chore: release main (#11010)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-09-22 21:17:39 +00:00
Alex Rudenko
25eca9a747
fix: avoid structuredClone for Node 16 (#11006) 2023-09-22 22:37:03 +02:00
jrandolf
c3bd8eb878
chore: implement BiDi sendCharacter (#11000) 2023-09-22 17:22:25 +02:00
release-please[bot]
242004b950
chore: release main (#10999)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-09-22 15:13:57 +02:00
Alex Rudenko
88c78dea41
fix: do not export bidi and fix import from the entrypoint (#10998) 2023-09-22 14:55:05 +02:00
release-please[bot]
01c33e8177
chore: release main (#10997)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-09-22 14:08:46 +02:00
jrandolf
86c28edadd
chore: remove "module" from @puppeteer/browsers (#10986) 2023-09-22 13:48:31 +02:00
jrandolf
4ca36454c3
chore: set allowViewportExpansion to captureBeyondViewport (#10992) 2023-09-22 13:48:01 +02:00
browser-automation-bot
d048cd965f
fix: roll to Chrome 117.0.5938.92 (r1181205) (#10989) 2023-09-22 09:00:00 +02:00
Alex Rudenko
02a9917d16
test: detect dependency cycles (#10973) 2023-09-21 22:22:38 +02:00
jrandolf
ecd6ac9dfa
chore: implement element screenshot (#10963) 2023-09-21 21:21:12 +02:00
Alex Rudenko
3238b93a79
refactor: remove import cycles in browsers (#10974) 2023-09-21 09:39:02 +00:00
Alex Rudenko
7bcdfcb7e9
fix: handle missing detach events for restored bfcache targets (#10967) 2023-09-21 11:13:12 +02:00
Nikolay Vitkov
0b7f0216e9
chore: remove docs warnings (#10959) 2023-09-21 11:09:27 +02:00
Alex Rudenko
9cfc195794
test: enable queryObjects for bidi (#10964) 2023-09-21 10:49:30 +02:00
jrandolf
c505c85b31
chore: fix BiDi mouse move implementation (#10956) 2023-09-20 17:58:02 +02:00
Nikolay Vitkov
7b5eabcc37
chore: BiDi setCacheEnabled (#10961) 2023-09-20 16:39:36 +02:00
Alex Rudenko
a4f13b53af
test: unskip csp tests (#10960) 2023-09-20 16:27:55 +02:00
jrandolf
7aa3063acd
chore: update dependencies (#10958)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-09-20 16:13:32 +02:00
Nikolay Vitkov
ce5461d0d5
chore: don't use Object.freeze for internal properties (#10945) 2023-09-20 15:59:00 +02:00
Darío Kondratiuk
3fc8da9955
refactor: reuse otherTarget on createTarget (#10957) 2023-09-20 15:58:30 +02:00
Alex Rudenko
af42663edb
test: unskip touch tests (#10955) 2023-09-20 14:52:43 +02:00
Alex Rudenko
3f79beb71a
test: unskip aria tests (#10953) 2023-09-20 12:11:21 +00:00
dependabot[bot]
4bdb113df7
chore(deps): Bump ws from 8.14.1 to 8.14.2 (#10949)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 10:47:59 +02:00
release-please[bot]
d98f488a51
chore: release main (#10942)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-09-19 20:20:53 +02:00
jrandolf
164bdd29b0
chore: use custom disposable stack (#10943) 2023-09-19 18:13:51 +02:00
jrandolf
cfed7b93ec
fix: make CDPSessionEvent.SessionAttached public (#10941) 2023-09-19 17:42:40 +02:00
Nikolay Vitkov
825dd17d2a
chore: fix BiDi redirects (#10929) 2023-09-19 15:41:21 +02:00
release-please[bot]
04384aeaec
chore: release main (#10907)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-09-19 13:03:19 +00:00
jrandolf
86df093824
chore: use cross-platform clean script (#10938) 2023-09-19 12:51:09 +02:00
jrandolf
0e612ab0a4
chore: use ls and grep (#10937) 2023-09-19 11:35:00 +02:00
jrandolf
1cc13fc36a
chore: use -Xf instead of -Xdf (#10936) 2023-09-19 10:57:38 +02:00
jrandolf
2292078969
feat: implement BrowserContext.closed (#10928) 2023-09-18 20:11:55 +02:00
Alex Rudenko
fd72101f7b
refactor: move all emulation state to a state wrapper (#10930) 2023-09-18 17:38:39 +00:00
jrandolf
60582b7fbc
refactor: migrate browsingContext methods to frame (#10881) 2023-09-18 14:14:06 +02:00
jrandolf
a0e57f7eb2
fix: fix line/column number in errors (#10926) 2023-09-18 11:52:04 +02:00
jrandolf
a4345a477f
feat: implement Browser.connected (#10927) 2023-09-18 11:14:10 +02:00
jrandolf
d088da31b2
docs: improve Browser docs (#10925) 2023-09-18 11:05:23 +02:00
Nikolay Vitkov
1283ca5bcf
chore: tweaks after protocol separation (#10917) 2023-09-17 00:00:39 +02:00
jrandolf
09207a71b8
chore: separate code to semantic folders (#10914) 2023-09-16 22:56:40 +02:00
browser-automation-bot
b7bcc9a733
fix: roll to Chrome 117.0.5938.88 (r1181205) (#10920) 2023-09-16 09:44:57 +02:00
jrandolf
a1b1bffb72
fix: remove explicit resource management from types (#10918) 2023-09-15 17:07:05 +02:00
jrandolf
c949656a43
chore: use @typescript-eslint/consistent-type-imports (#10913) 2023-09-15 13:00:20 +02:00
Nikolay Vitkov
e8640fff16
chore: fix bidi reload (#10911) 2023-09-14 15:40:18 +02:00
jrandolf
3c659e7170
chore: add back _client method (#10910) 2023-09-14 14:07:17 +02:00
jrandolf
1c66c547b1
chore: use throwIfDisposed in ElementHandle and JSHandle (#10904) 2023-09-14 11:57:06 +02:00
jrandolf
9342bac263
feat: implement improved Drag n' Drop APIs (#10651) 2023-09-14 11:14:30 +02:00
dependabot[bot]
67f72de274
chore(deps): Bump cosmiconfig from 8.3.5 to 8.3.6 (#10906)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 08:46:48 +02:00
Nikolay Vitkov
aefbde60d7
refactor: align names (#10903) 2023-09-13 21:57:26 +02:00
Alex Rudenko
ea14834fdf
fix: handle frame manager init without unhandled rejection (#10902) 2023-09-13 17:51:58 +00:00
browser-automation-bot
4b8d20d0ed
feat: roll to Chrome 117.0.5938.62 (r1181205) (#10893)
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2023-09-13 14:35:47 +00:00
jrandolf
9b6f1de8b9
feat: implement typed events (#10889) 2023-09-13 15:47:55 +02:00
release-please[bot]
a25527a223
chore: release main (#10897)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-09-13 12:29:09 +02:00
Alex Rudenko
b3f3199d10
refactor: reduce boilerplate in the emulation state management (#10895) 2023-09-13 12:15:22 +02:00
jrandolf
2d851c1398
fix: use supported node range for types (#10896) 2023-09-13 12:13:47 +02:00
dependabot[bot]
2fb00321b3
chore(deps): Bump ws from 8.14.0 to 8.14.1 (#10874)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 10:35:47 +02:00
release-please[bot]
29ff113ec0
chore: release main (#10890)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-09-12 20:50:13 +00:00
Nikolay Vitkov
2e650f36e5
refactor: use RxJs for WaitForNetworkIdle (#10888) 2023-09-12 12:00:04 +00:00
dependabot[bot]
27f07ea447
chore(deps): Bump cosmiconfig from 8.3.4 to 8.3.5 (#10886)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 13:22:18 +02:00
Nikolay Vitkov
2487486675
chore: expectations update (#10859) 2023-09-12 09:24:09 +00:00
Alex Rudenko
4852e222b7
fix: only a single disable features flag is allowed (#10887) 2023-09-12 07:20:30 +00:00
Alex Rudenko
d08ad5fbbe
fix: add --disable-search-engine-choice-screen to default arguments (#10880) 2023-09-11 17:34:19 +00:00
Alex Rudenko
d1b1b10910
refactor: sync emulation settings (#10865) 2023-09-11 15:39:35 +00:00
jrandolf
eb89720704
chore: reimplement document caching (#10878) 2023-09-11 12:07:52 +00:00
jrandolf
253d469515
chore: implement exposeFunction (#10860) 2023-09-11 12:46:17 +02:00
Alex Rudenko
acdd7d3cd5
fix: trimCache should remove Firefox too (#10872) 2023-09-11 08:59:19 +02:00
jrandolf
24a357dbdb
chore: update chromium-bidi (#10862) 2023-09-08 13:51:44 +02:00
Alex Rudenko
f8c7a46448
refactor: sync timezone state (#10857) 2023-09-07 09:57:19 +00:00
Alex Rudenko
7f9c14c745
refactor: remove setImmediate (#10856) 2023-09-07 10:44:33 +02:00
Alex Rudenko
72175906a5
refactor: sync emulation state with secondary clients (#10849) 2023-09-07 10:05:57 +02:00
dependabot[bot]
e92e4b2c82
chore(deps): Bump ws from 8.13.0 to 8.14.0 (#10854)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 07:36:21 +00:00
jrandolf
28564b36e1
chore: handle RealmCreated properly (#10834) 2023-09-06 16:32:47 +02:00
dependabot[bot]
38b190afc8
chore(deps): Bump cosmiconfig from 8.3.2 to 8.3.4 (#10851)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 10:51:08 +00:00
dependabot[bot]
9dade9ecf7
chore(deps): Bump proxy-agent from 6.3.0 to 6.3.1 (#10850)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 10:11:37 +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
9a32bc1d09
chore: update dependencies (#10835) 2023-09-03 13:16:51 +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
Nikolay Vitkov
8fd0157c95
docs: fix website building (#10777) 2023-08-23 14:38:12 +02:00
release-please[bot]
980950ffa8
chore(main): release ng-schematics 0.5.0 (#10769)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-08-22 13:22:53 +02:00
Nikolay Vitkov
42fdd0a733
feat(ng-schematics): release version 0.5.0 (#10768) 2023-08-22 12:58:40 +02:00
Nikolay Vitkov
078e3aa5b0
chore(ng-schematics): small fixes (#10761) 2023-08-22 11:44:54 +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
Nikolay Vitkov
1376b77a7a
chore: ignore libraries (#10756) 2023-08-18 14:16:07 +00:00
Nikolay Vitkov
c794abc8f6
chore: fix issue with build files (#10754) 2023-08-18 14:56:12 +02:00
Nikolay Vitkov
504778d2dd
test(ng-schematics): add tests (#10753) 2023-08-18 13:45:02 +02:00
Nikolay Vitkov
683e18189c
chore: make builder find command (#10751) 2023-08-18 13:30:23 +02:00
Nikolay Vitkov
35dc2d8840
chore(ng-schematics): refactor away user-side complexity (#10750) 2023-08-18 09:09:26 +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
05c120035e
test: update shell tests (#10749) 2023-08-18 08:28:19 +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
Nikolay Vitkov
0a686fbf24
docs(ng-schematics): add Protractor migration info (#10741) 2023-08-16 18:58:32 +02:00
Alex Rudenko
81ecb60190
fix: relative ordering of events and command responses should be ensured (#10725) 2023-08-16 14:12:29 +00:00
Mathias Bynens
3dfff5af6b
chore: add script to update versions.ts (#10742) 2023-08-16 15:38:05 +02:00
Mathias Bynens
416843ba68
feat: support chrome-headless-shell (#10739) 2023-08-16 11:34:54 +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
Alex Rudenko
bec2357aee
feat: allow installing chrome/chromedriver by milestone and version prefix (#10720) 2023-08-10 13:00:22 +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