0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
Commit Graph

825 Commits

Author SHA1 Message Date
Nikolay Vitkov
5278de9276
chore: use internal method for networkidle with BiDi () 2023-10-24 10:07:35 +02:00
release-please[bot]
f5d922c19e
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-10-24 06:23:29 +00:00
Alex Rudenko
954c75f9a9
fix: remove import cycle in query handlers () 2023-10-23 15:21:48 +00:00
Thiago Perrotta
edec7d53f8
fix: do not pass --{enable,disable}-features twice when user-provided () 2023-10-23 13:27:21 +00:00
Alex Rudenko
014c72ae1d
chore: merge locators in a single file () 2023-10-23 12:23:46 +00:00
Alex Rudenko
b9ce89e460
fix: remove more import cycles () 2023-10-23 14:06:41 +02:00
Nikolay Vitkov
39e9d5e1ec
ci: use CfT endpoint () 2023-10-23 13:59:10 +02:00
Alex Rudenko
3edce3aee9
fix: remove circular import in IsolatedWorld () 2023-10-23 12:54:45 +02:00
Alex Rudenko
20eb38d61b
chore: split a cycle in BiDi () 2023-10-23 12:27:23 +02:00
Alex Rudenko
525f13cd18
fix: remove import cycle () 2023-10-23 09:20:04 +00:00
Alex Rudenko
60f1b788a6
fix: remove import cycle in connection () 2023-10-23 09:02:19 +00:00
Alex Rudenko
bcd1a8e597
chore: exclude unit test sources from npm pkg () 2023-10-23 08:30:12 +00:00
campersau
25b90b2b54
fix: typo in screencast error message () 2023-10-21 08:33:48 +00:00
release-please[bot]
35f9c6d1e6
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-10-20 12:20:50 +02:00
Donnatello
4206e76c3e
fix: update TextQuerySelector cache on subtree update () 2023-10-19 11:58:40 +02:00
Nikolay Vitkov
9d34c09013
chore: update chromium-bidi ()
Co-authored-by: Randolf <jrandolf@google.com>
2023-10-19 10:18:12 +02:00
Nikolay Vitkov
0316863391
feat: added tagged (accessible) PDFs option () 2023-10-17 16:37:07 +02:00
Nikolay Vitkov
443ee99a8d
chore: fix RxJS import () 2023-10-17 08:30:04 +00:00
Nikolay Vitkov
5ce3abe675
chore: use RxJS instead of waitWithTimeout () 2023-10-16 14:37:52 +02:00
Nikolay Vitkov
511614fe44
chore: enable screencast for BiDi+ () 2023-10-16 13:54:10 +02:00
Thiago Perrotta
faea1d4791
refactor: use page().mainFrame() instead of manually computing the ro… () 2023-10-16 09:55:04 +00:00
Alex Rudenko
bb9ef6ee8b
refactor: unify tab target handling in page () 2023-10-16 07:53:03 +00:00
Thiago Perrotta
257be15d83
fix: Page.waitForDevicePrompt crash () 2023-10-15 14:32:33 +00:00
Thiago Perrotta
2b578e4a09
feat: merge user-provided --{disable,enable}-features in args ()
Bug: 
2023-10-15 14:11:44 +00:00
Thiago Perrotta
d99f9d752b
chore: use CdpPage instead of Page in CDP frames () 2023-10-13 16:00:20 +00:00
Nikolay Vitkov
8290dc9de9
refactor: use RxJS for waitForHttp () 2023-10-13 12:35:43 +02:00
Alex Rudenko
8aa6cb37d2
fix: add InlineTextBox as a non-element a11y role () 2023-10-13 09:20:19 +02:00
Thiago Perrotta
b020e77991
chore: expose enabled chrome features as an array () 2023-10-12 23:48:42 +00:00
jrandolf
8a2b9f1280
chore: remove jobs () 2023-10-12 15:04:29 +02:00
Alex Rudenko
3171115085
refactor: move target checks to the api surface () 2023-10-12 12:15:06 +02:00
Alex Rudenko
9347aae12e
fix: disable ProcessPerSiteUpToMainFrameThreshold in Chrome () 2023-10-12 10:58:31 +02:00
Nikolay Vitkov
4a2a37b825
chore: add a deflake utility () 2023-10-11 19:21:50 +02:00
Nikolay Vitkov
e34716ab0e
chore: create TimeoutError only when needed () 2023-10-11 19:15:06 +02:00
jrandolf
a3fce3118a
chore: add support for format and quality to BiDi () 2023-10-11 16:53:50 +00:00
jrandolf
4170fefc5c
chore: remove rollup () 2023-10-11 17:55:32 +02:00
jrandolf
7a38586d9d
chore: use hereby instead of internal job () 2023-10-11 17:54:26 +02:00
jrandolf
e45f20b52a
chore: rename index.ts to mitt.ts () 2023-10-11 16:57:27 +02:00
browser-automation-bot
91d14c8c86
feat: roll to Chrome 118.0.5993.70 (r1192594) ()
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-10-11 13:34:13 +02:00
jrandolf
9e7a30ece5
chore: update dependencies () 2023-10-11 12:03:40 +02:00
Nikolay Vitkov
c8feb3e472
refactor: use RxJS for waitForTarget () 2023-10-11 08:11:22 +00:00
Alex Rudenko
d63f0cfc61
fix: synchronize frame tree with the events processing () 2023-10-10 16:44:38 +02:00
Nikolay Vitkov
2811119562
chore: small fixes and type improvement () 2023-10-10 11:42:31 +02:00
Nikolay Vitkov
067a5b2900
docs: fix screencast links () 2023-10-09 17:43:54 +02:00
Alex Rudenko
6098bab2ba
fix: xpath queries should be atomic () 2023-10-09 14:21:22 +02:00
Alex Rudenko
8324c16348
feat: enable tab targets () 2023-10-09 13:49:27 +02:00
Alex Rudenko
9ce204e27e
fix: make sure discovery happens before auto-attach () 2023-10-09 11:16:12 +00:00
jrandolf
f060d467c0
feat: implement screencasting () 2023-10-06 16:50:39 +02:00
release-please[bot]
ddbb43cd09
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-10-06 11:48:06 +00:00
Alex Rudenko
5887649891
fix: avoid double subscription to frame manager in Page () 2023-10-06 10:38:44 +00:00
jrandolf
9c0c299f0b
chore: remove emulation from touchscreen tests () 2023-10-06 11:08:44 +02:00
jrandolf
12d7d7247f
chore: update chromium-bidi () 2023-10-06 09:12:30 +02:00
jrandolf
317f82055b
fix: update file chooser events () 2023-10-06 08:28:19 +02:00
jrandolf
eb99509a3a
chore: update chromium-bidi () 2023-10-06 08:09:10 +02:00
release-please[bot]
377cd83ccf
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-10-05 13:39:23 +00:00
browser-automation-bot
0c0e516d73
fix: roll to Chrome 117.0.5938.149 (r1181205) () 2023-10-05 14:12:47 +02:00
release-please[bot]
eedbb13ada
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-09-28 15:03:09 +02:00
Alex Rudenko
b0d7375519
fix: remove the flag disabling bfcache () 2023-09-28 11:44:04 +02:00
jrandolf
bd6c246b18
chore: add @typescript-eslint/no-import-type-side-effects () 2023-09-26 18:24:24 +02:00
Nikolay Vitkov
e853e636d4
refactor: use common debugError () 2023-09-26 17:41:54 +02:00
Nikolay Vitkov
aa16ab1cff
chore: use RxJS for wait for Navigation () 2023-09-26 15:02:18 +02:00
release-please[bot]
c502ca89e4
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-09-26 13:15:40 +02:00
jrandolf
2a7d4ab1ad
chore: remove screenshot options for firefox () 2023-09-25 16:56:39 +02:00
jrandolf
ace1230e41
fix: set defaults in screenshot () 2023-09-25 15:05:20 +02:00
release-please[bot]
50f07a816e
chore: release main ()
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 () 2023-09-22 22:37:03 +02:00
jrandolf
c3bd8eb878
chore: implement BiDi sendCharacter () 2023-09-22 17:22:25 +02:00
release-please[bot]
242004b950
chore: release main ()
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 () 2023-09-22 14:55:05 +02:00
release-please[bot]
01c33e8177
chore: release main ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-09-22 14:08:46 +02:00
jrandolf
4ca36454c3
chore: set allowViewportExpansion to captureBeyondViewport () 2023-09-22 13:48:01 +02:00
browser-automation-bot
d048cd965f
fix: roll to Chrome 117.0.5938.92 (r1181205) () 2023-09-22 09:00:00 +02:00
Alex Rudenko
02a9917d16
test: detect dependency cycles () 2023-09-21 22:22:38 +02:00
jrandolf
ecd6ac9dfa
chore: implement element screenshot () 2023-09-21 21:21:12 +02:00
Alex Rudenko
7bcdfcb7e9
fix: handle missing detach events for restored bfcache targets () 2023-09-21 11:13:12 +02:00
Nikolay Vitkov
0b7f0216e9
chore: remove docs warnings () 2023-09-21 11:09:27 +02:00
Alex Rudenko
9cfc195794
test: enable queryObjects for bidi () 2023-09-21 10:49:30 +02:00
jrandolf
c505c85b31
chore: fix BiDi mouse move implementation () 2023-09-20 17:58:02 +02:00
Nikolay Vitkov
7b5eabcc37
chore: BiDi setCacheEnabled () 2023-09-20 16:39:36 +02:00
Alex Rudenko
a4f13b53af
test: unskip csp tests () 2023-09-20 16:27:55 +02:00
jrandolf
7aa3063acd
chore: update dependencies ()
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 () 2023-09-20 15:59:00 +02:00
Darío Kondratiuk
3fc8da9955
refactor: reuse otherTarget on createTarget () 2023-09-20 15:58:30 +02:00
Alex Rudenko
af42663edb
test: unskip touch tests () 2023-09-20 14:52:43 +02:00
Alex Rudenko
3f79beb71a
test: unskip aria tests () 2023-09-20 12:11:21 +00:00
dependabot[bot]
4bdb113df7
chore(deps): Bump ws from 8.14.1 to 8.14.2 ()
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 ()
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 () 2023-09-19 18:13:51 +02:00
jrandolf
cfed7b93ec
fix: make CDPSessionEvent.SessionAttached public () 2023-09-19 17:42:40 +02:00
Nikolay Vitkov
825dd17d2a
chore: fix BiDi redirects () 2023-09-19 15:41:21 +02:00
release-please[bot]
04384aeaec
chore: release main ()
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 () 2023-09-19 12:51:09 +02:00
jrandolf
0e612ab0a4
chore: use ls and grep () 2023-09-19 11:35:00 +02:00
jrandolf
1cc13fc36a
chore: use -Xf instead of -Xdf () 2023-09-19 10:57:38 +02:00
jrandolf
2292078969
feat: implement BrowserContext.closed () 2023-09-18 20:11:55 +02:00
Alex Rudenko
fd72101f7b
refactor: move all emulation state to a state wrapper () 2023-09-18 17:38:39 +00:00
jrandolf
60582b7fbc
refactor: migrate browsingContext methods to frame () 2023-09-18 14:14:06 +02:00
jrandolf
a0e57f7eb2
fix: fix line/column number in errors () 2023-09-18 11:52:04 +02:00
jrandolf
a4345a477f
feat: implement Browser.connected () 2023-09-18 11:14:10 +02:00
jrandolf
d088da31b2
docs: improve Browser docs () 2023-09-18 11:05:23 +02:00
Nikolay Vitkov
1283ca5bcf
chore: tweaks after protocol separation () 2023-09-17 00:00:39 +02:00
jrandolf
09207a71b8
chore: separate code to semantic folders () 2023-09-16 22:56:40 +02:00
browser-automation-bot
b7bcc9a733
fix: roll to Chrome 117.0.5938.88 (r1181205) () 2023-09-16 09:44:57 +02:00
jrandolf
a1b1bffb72
fix: remove explicit resource management from types () 2023-09-15 17:07:05 +02:00
jrandolf
c949656a43
chore: use @typescript-eslint/consistent-type-imports () 2023-09-15 13:00:20 +02:00
Nikolay Vitkov
e8640fff16
chore: fix bidi reload () 2023-09-14 15:40:18 +02:00
jrandolf
3c659e7170
chore: add back _client method () 2023-09-14 14:07:17 +02:00
jrandolf
1c66c547b1
chore: use throwIfDisposed in ElementHandle and JSHandle () 2023-09-14 11:57:06 +02:00
jrandolf
9342bac263
feat: implement improved Drag n' Drop APIs () 2023-09-14 11:14:30 +02:00
Nikolay Vitkov
aefbde60d7
refactor: align names () 2023-09-13 21:57:26 +02:00
Alex Rudenko
ea14834fdf
fix: handle frame manager init without unhandled rejection () 2023-09-13 17:51:58 +00:00
browser-automation-bot
4b8d20d0ed
feat: roll to Chrome 117.0.5938.62 (r1181205) ()
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2023-09-13 14:35:47 +00:00
jrandolf
9b6f1de8b9
feat: implement typed events () 2023-09-13 15:47:55 +02:00
release-please[bot]
a25527a223
chore: release main ()
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 () 2023-09-13 12:15:22 +02:00
jrandolf
2d851c1398
fix: use supported node range for types () 2023-09-13 12:13:47 +02:00
dependabot[bot]
2fb00321b3
chore(deps): Bump ws from 8.14.0 to 8.14.1 ()
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 ()
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 () 2023-09-12 12:00:04 +00:00
Nikolay Vitkov
2487486675
chore: expectations update () 2023-09-12 09:24:09 +00:00
Alex Rudenko
4852e222b7
fix: only a single disable features flag is allowed () 2023-09-12 07:20:30 +00:00
Alex Rudenko
d08ad5fbbe
fix: add --disable-search-engine-choice-screen to default arguments () 2023-09-11 17:34:19 +00:00
Alex Rudenko
d1b1b10910
refactor: sync emulation settings () 2023-09-11 15:39:35 +00:00
jrandolf
eb89720704
chore: reimplement document caching () 2023-09-11 12:07:52 +00:00
jrandolf
253d469515
chore: implement exposeFunction () 2023-09-11 12:46:17 +02:00
Alex Rudenko
acdd7d3cd5
fix: trimCache should remove Firefox too () 2023-09-11 08:59:19 +02:00
jrandolf
24a357dbdb
chore: update chromium-bidi () 2023-09-08 13:51:44 +02:00
Alex Rudenko
f8c7a46448
refactor: sync timezone state () 2023-09-07 09:57:19 +00:00
Alex Rudenko
7f9c14c745
refactor: remove setImmediate () 2023-09-07 10:44:33 +02:00
Alex Rudenko
72175906a5
refactor: sync emulation state with secondary clients () 2023-09-07 10:05:57 +02:00
dependabot[bot]
e92e4b2c82
chore(deps): Bump ws from 8.13.0 to 8.14.0 ()
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 () 2023-09-06 16:32:47 +02:00
Alex Rudenko
73f741ea33
docs: update docs about touchmove () 2023-09-05 10:42:19 +02:00
Nikolay Vitkov
0ab6f76945
docs: fix warnings, remove node 14, sort files () 2023-09-05 10:41:21 +02:00
Nikolay Vitkov
7ac04eb2e5
chore: use deep serialization zero for Handles () 2023-09-05 10:39:52 +02:00
jrandolf
d4bf52985e
refactor: use generic implementations () 2023-09-05 09:10:16 +02:00
Nikolay Vitkov
06c1588016
fix: LifecycleWatcher sub frames handling () 2023-09-04 16:16:37 +02:00
Nikolay Vitkov
12bdd70651
chore: more BiDi Connection test to unit () 2023-09-04 14:06:23 +02:00
jrandolf
690b1c2218
chore: use bindIsolatedHandle () 2023-09-01 15:13:29 +00:00
jrandolf
f3c7499e67
chore: refactor handles to use realms () 2023-09-01 12:12:29 +00:00
jrandolf
7e74439c51
chore: enable 'return-await` () 2023-09-01 09:49:33 +02:00
jrandolf
25db3f1188
chore: use git clean () 2023-08-31 16:58:31 +02:00
jrandolf
92f38ff5c9
chore: remove excess internal comments () 2023-08-31 16:39:58 +02:00
jrandolf
538bb73ea7
fix: implement throwIfDetached () 2023-08-31 16:39:32 +02:00
Nikolay Vitkov
517c4753f2
chore: add cause for callback errors () 2023-08-31 15:54:57 +02:00
jrandolf
d91c3ed675
chore: implement throwIfDisposed () 2023-08-31 14:04:40 +02:00
Alex Rudenko
22daf1861f
fix: make page.goBack work with bfcache in tab mode () 2023-08-30 14:28:07 +00:00
Alex Rudenko
a9446f3d43
refactor: rename secondary page to speculative session () 2023-08-30 15:07:11 +02:00
jrandolf
8233f61a45
chore: refactor mutex () 2023-08-30 15:06:19 +02:00
jrandolf
65188dd2e2
chore: rename BiDi classes with Bidi prefix () 2023-08-30 14:20:25 +02:00
jrandolf
c67141f3ae
chore: implement Disposable/AsyncDisposable on Page and Browser () 2023-08-30 13:10:06 +02:00
jrandolf
4d3cb6ccf3
chore: refactor Frame () 2023-08-30 11:09:27 +00:00
Nikolay Vitkov
3ffafc67d5
refactor: event maps and docs warnings () 2023-08-30 12:25:07 +02:00
jrandolf
b9744b2c95
chore: refactor Sandbox and IsolatedWorld () 2023-08-30 12:24:38 +02:00
jrandolf
900a1f227d
chore: turn on rulesdir/use-using () 2023-08-30 10:02:59 +00:00
Alex Rudenko
a540085176
feat: expose DevTools as a target () 2023-08-30 11:32:38 +02:00
Alex Rudenko
14f0ab7397
fix: apply viewport emulation to prerender targets () 2023-08-30 11:04:28 +02:00
jrandolf
2401bb46b1
chore: implement moveable () 2023-08-29 22:48:37 +02:00
jrandolf
8c07631bd1
chore: implement (Async)Disposable on handles () 2023-08-29 21:44:59 +02:00
Alex Rudenko
085936bd7e
fix: make network manager multi session () 2023-08-29 18:12:04 +02:00
jrandolf
6f2e3db883
chore: implement disposable stack polyfill () 2023-08-29 16:33:54 +02:00
Alex Rudenko
599c0694ea
chore: emit target configuration via CDP session () 2023-08-29 10:52:47 +02:00
Nikolay Vitkov
0eb5e93890
chore: enable more BiDi tests () 2023-08-29 10:32:43 +02:00
release-please[bot]
b4507c69c1
chore: release main ()
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 () 2023-08-28 13:01:52 +02:00
Alex Rudenko
6f1dd09cca
chore: allow enabling the tab target for testing () 2023-08-28 08:53:22 +00:00
Alex Rudenko
c4bad4a6da
chore: support Tab targets () 2023-08-28 08:20:57 +02:00
jrandolf
c4a4412920
chore: implement waitForFrame and use clickablePoint for ElementHandle operations () 2023-08-24 20:32:29 +02:00
jrandolf
a4a2cf1d39
chore: update dependencies () 2023-08-24 14:42:51 +02:00
jrandolf
5c161274f7
chore: implement ElementHandle.prototype.clickablePoint () 2023-08-24 14:36:24 +02:00
jrandolf
941028f87c
chore: update chromium-bidi () 2023-08-24 11:49:25 +02:00
jrandolf
5f8d2a43b2
chore: use abstract for implemented methods () 2023-08-23 18:00:34 +02:00
jrandolf
27636afacf
chore: implement boxModel, contentFrame, and nested frame boundingBox () 2023-08-23 16:58:18 +02:00
jrandolf
ce9e2df04d
chore: update dependencies () 2023-08-21 20:13:03 +02:00
Alex Rudenko
8f9388f2ce
fix(locators): do not retry via catchError () 2023-08-21 16:32:13 +00:00
release-please[bot]
de719dbb86
chore: release main ()
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 () 2023-08-18 10:15:43 +02:00
Nikolay Vitkov
532c0eb40c
docs: update custom query handler () 2023-08-17 13:24:25 +02:00
Alex Rudenko
77ffbba141
chore: add waitForInitiallyDiscoveredTargets () 2023-08-17 12:48:46 +02:00
Alex Rudenko
fc08a7dd54
fix: locator.fill should work for textareas ()
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 () 2023-08-16 14:12:29 +00:00
browser-automation-bot
e12b558f50
feat: roll to Chrome 116.0.5845.96 (r1160321) () 2023-08-16 07:32:24 +00:00
Alex Rudenko
c6e5bb2e40
refactor: fail early for features that require CDP () 2023-08-11 09:36:32 +02:00
release-please[bot]
6d7ea9e105
chore: release main ()
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 () 2023-08-09 14:36:58 +00:00
Nikolay Vitkov
47dfc3578d
chore: add evaluateOnNewDocument for BiDi () 2023-08-09 10:00:33 +02:00
Alex Rudenko
f70048c84f
refactor: turn Frame into EventEmitter () 2023-08-08 16:42:45 +02:00
release-please[bot]
854d488693
chore: release main ()
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 () 2023-08-08 12:02:56 +00:00
Alex Rudenko
932a5e0415
refactor: add parentSession() to CDPSession () 2023-08-08 12:21:43 +02:00
Nikolay Vitkov
2dec12fe8b
chore: update test expectations BiDi () 2023-08-08 08:18:43 +00:00
jrandolf
8b8770c004
fix: destroy puppeteer utility on context destruction () 2023-08-07 14:44:12 +02:00
browser-automation-bot
e5af57ebd0
fix: roll to Chrome 115.0.5790.170 (r1148114) () 2023-08-07 06:25:52 +02:00
Nikolay Vitkov
512a0f2a9d
chore: enable _client for Chrome BiDi () 2023-08-04 13:09:10 +00:00
Nikolay Vitkov
f4c711e25b
chore: BiDi close error () 2023-08-04 14:45:38 +02:00
Nikolay Vitkov
d9a596511e
chore: add bringToFront for BiDi () 2023-08-03 19:58:28 +02:00
release-please[bot]
2f6870651e
chore: release main ()
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 () 2023-08-03 12:11:44 +02:00
release-please[bot]
9a814a3656
chore: release main ()
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 () 2023-08-02 13:13:39 +02:00
Nikolay Vitkov
4f60a567a6
chore: update chromium-bidi () 2023-08-01 16:38:27 +02:00
Nikolay Vitkov
76f67ebd76
chore: add Dialogs for BiDi () 2023-08-01 15:53:02 +02:00
jrandolf
04369db145
chore: implement partial ElementHandle.prototype.boundingBox () 2023-08-01 15:07:48 +02:00
Nikolay Vitkov
7de91f16b4
docs: fix typo () 2023-08-01 14:29:42 +02:00
Nikolay Vitkov
0757d04358
chore: update chromium-bidi () 2023-07-28 11:11:14 +02:00
jrandolf
fdada74ba7
feat: implement Locator.prototype.waitHandle () 2023-07-27 10:47:29 +02:00
jrandolf
16ab291b93
chore: specialize Locator.prototype.setWaitForEnabled () 2023-07-27 10:17:27 +02:00
Alex Rudenko
448a18310d
refactor: add browser target () 2023-07-27 09:56:13 +02:00
jrandolf
6ad92f7f84
feat: implement function locators () 2023-07-27 09:23:28 +02:00
jrandolf
34be28db5d
feat: implement immutable locator operations () 2023-07-26 17:00:00 +02:00
Alex Rudenko
30ccbf855a
refactor: target events for bidi () 2023-07-26 12:19:27 +00:00
jrandolf
e73d35def0
feat: implement Locator.prototype.filter () 2023-07-25 16:46:10 +02:00
jrandolf
47eecf5bb1
feat: implement Locator.prototype.map () 2023-07-25 16:45:10 +02:00
jrandolf
5d34d42d15
feat: implement Locator.prototype.wait () 2023-07-25 16:43:18 +02:00
Alex Rudenko
0e40f3e143
refactor: move context actions to the browser () 2023-07-25 11:30:57 +00:00
jrandolf
ede43ca2d3
chore: use RxJS for locator implementation ()
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 () 2023-07-24 16:03:12 +02:00
Alex Rudenko
996d53fc65
chore: support targets for bidi () 2023-07-24 12:23:39 +02:00
Alex Rudenko
d0c5b8e089
feat: add page.createCDPSession method () 2023-07-21 14:03:52 +02:00
browser-automation-bot
8649c53a70
fix: roll to Chrome 115.0.5790.102 (r1148114) () 2023-07-21 10:02:29 +02:00
Alex Rudenko
0e60ce4cec
refactor: move Target to api () 2023-07-21 09:04:14 +02:00
Paul Draper
c60572a1ca
fix: remove typescript from peer dependencies ()
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 () 2023-07-20 18:44:02 +02:00
Alex Rudenko
44712d1e6e
refactor!: use Target for filters () 2023-07-20 16:18:00 +02:00
jrandolf
0715ad8281
refactor: move locators to separate files () 2023-07-20 15:06:42 +02:00
Alex Rudenko
4a3b8b2d9e
refactor: separate target init from construction () 2023-07-20 13:00:44 +02:00
release-please[bot]
03adf4189e
chore: release main ()
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 () 2023-07-20 08:52:50 +02:00
Alex Rudenko
6c9306a72e
feat: add autofill support () 2023-07-19 17:42:31 +00:00
jrandolf
c14f9b64a7
chore: implement typed Locators, expects, and internal contexts () 2023-07-19 15:39:38 +00:00
browser-automation-bot
830f926d48
feat: roll to Chrome 115.0.5790.98 (r1148114) ()
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-07-19 08:11:45 +00:00
Alex Rudenko
c7f3fb21be
test: enable addScriptTag tests () 2023-07-18 21:55:30 +02:00
Alex Rudenko
3b4ff2ad32
test: enable waitForXPath tests () 2023-07-18 21:11:12 +02:00
Nikolay Vitkov
88439f913e
fix: update the target to ES2022 () 2023-07-18 18:28:03 +02:00
Alex Rudenko
a419abf509
test: unskip style tag tests () 2023-07-18 18:27:41 +02:00
release-please[bot]
6be24edacc
chore: release main ()
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 () 2023-07-18 11:26:06 +02:00
Alex Rudenko
6f31c52217
docs: update gpu docs () 2023-07-17 12:13:13 +00:00
Nikolay Vitkov
de09b058ba
chore: update Prettier and other deps () 2023-07-17 10:52:54 +02:00
Adam Raine
cb46413d87
fix: prevent erroneous new main frame () 2023-07-13 22:11:36 +02:00
release-please[bot]
52ef96214b
chore: release main ()
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 ()
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 () 2023-07-07 09:22:29 +00:00
release-please[bot]
62886f267b
chore: release main ()
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 () 2023-07-06 09:24:19 +02:00
dependabot[bot]
fa412292be
chore(deps): Bump cross-fetch from 3.1.6 to 4.0.0 ()
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 () 2023-07-03 13:25:43 +00:00
Kiko Beats
87aaed4807
feat(screenshot): enable optimizeForSpeed () 2023-07-03 11:43:34 +02:00
Nikolay Vitkov
089e90e3f8
refactor: simplified the LifecycleWatcher () 2023-07-03 09:30:30 +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
Nikolay Vitkov
0a7bad6d6a
chore: clean NetworkManager Maps for BiDi () 2023-06-29 08:16:35 +00:00
jrandolf
1c80ebe846
chore: update Bidi key values () 2023-06-29 07:31:49 +00:00
jrandolf
1175fe98c1
chore: update code for chromium-bidi update () 2023-06-28 13:52:50 +02:00
jrandolf
919f0e8e7f
chore: update chromium-bidi () 2023-06-28 13:38:35 +02:00
Nikolay Vitkov
1f0dc4f3a3
refactor: move EventEmitter tests () 2023-06-28 13:36:26 +02: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
Alex Rudenko
61f4525ae3
fix: fix the util import in Connection.ts () 2023-06-26 10:25:15 +02:00
Baptiste Lombard
a88d1936ca
docs: replace evaluateHandle with evaluate in the evaluate page () 2023-06-23 11:14:30 +02:00
Nikolay Vitkov
337184e722
chore: BiDi waitForNavigation () 2023-06-21 12:45:17 +02:00
release-please[bot]
3b09e956c6
chore: release main ()
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 () 2023-06-20 16:26:10 +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
d1ffad059a
fix: include src into published package () 2023-06-19 13:28:35 +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
Nikolay Vitkov
c06e15fb5b
fix: added clipboard permission that was not exposed () 2023-06-19 08:53:54 +00:00
jrandolf
39847bd231
refactor: use input API for CDP inputs () 2023-06-19 10:12:43 +02:00
Nikolay Vitkov
138cc5c961
fix: WaitForNetworkIdle and Deferred.race () 2023-06-19 08:11:59 +00:00
jrandolf
ede6f5cfe2
chore: separate input api () 2023-06-19 09:33:19 +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
release-please[bot]
f93b94533d
chore: release main ()
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 () 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
e4110746f1
chore: move more things to emulation manager () 2023-06-15 12:30:37 +00:00
Alex Rudenko
ca4ab96812
chore: roll back interfaces for wrapping CDP () 2023-06-15 13:34:54 +02:00
Alex Rudenko
853d0dc76f
chore: enable coverage over bidi+ () 2023-06-15 10:00:14 +02:00
browser-automation-bot
93115587c9
fix: roll to Chrome 114.0.5735.133 (r1135570) () 2023-06-15 05:47:56 +00:00
release-please[bot]
b332675974
chore: release main ()
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 () 2023-06-13 13:57:00 +00:00
Alex Rudenko
2961449391
test: misc test improvements () 2023-06-13 13:05:01 +00:00
release-please[bot]
3e3911acdb
chore: release main ()
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 () 2023-06-13 13:53:48 +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
Alex Rudenko
ba28724952
fix: Locator.scroll in race () 2023-06-12 12:07:16 +00:00
Nikolay Vitkov
a31231ef54
chore: implement common functions for BiDi () 2023-06-12 11:32:19 +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
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
browser-automation-bot
60acefc1d6
fix: roll to Chrome 114.0.5735.90 (r1135570) () 2023-06-07 06:32:32 +00:00
Nikolay Vitkov
0371beebba
chore: $ and $$ BiDi support () 2023-06-06 12:39:54 +00:00
Alex Rudenko
dea71bac40
chore: stop disabling DIPS () 2023-06-06 11:57:48 +00:00
Alex Rudenko
1d43e571d1
chore: refactor locator options () 2023-06-06 13:03:32 +02:00