Commit Graph

917 Commits

Author SHA1 Message Date
release-please[bot]
d9928a68b7
chore(main): release ng-schematics 0.5.1 (#11376)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2023-11-13 16:00:50 +01:00
Nikolay Vitkov
35a05d5cc4
docs: fix ElementHandle boundingBox & boxModel descriptions (#11339) 2023-11-13 15:47:42 +01:00
Alex Rudenko
0a41f8d01e
fix: add --disable-infobars (#11377) 2023-11-13 13:39:18 +00:00
Nikolay Vitkov
64f7bf0af4
fix: support Angular 17 new template (#11375) 2023-11-13 14:24:15 +01:00
Nikolay Vitkov
1b2d920fe6
fix: multi-app project extend root tsconfig.json (#11374) 2023-11-13 14:20:18 +01:00
dependabot[bot]
92f586cf18
chore(deps): Bump the dependencies group with 4 updates (#11359)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 14:08:18 +01:00
Nikolay Vitkov
915eb7ff4e
chore: update Prettier (#11372) 2023-11-13 13:28:15 +01:00
Alex Rudenko
4bf2a09a13
fix: mitt types should not be exported (#11371) 2023-11-13 13:27:17 +01:00
Maksim Sadym
9f161ec76b chore: implement Puppeteer.connect for BiDi over CDP browser (#11350)
Co-authored-by: Maksim Sadym <sadym@google.com>
2023-11-13 10:44:48 +01:00
Alex Rudenko
cbc33bea40
fix: add --disable-field-trial-config (#11352) 2023-11-10 13:33:25 +00:00
Maksim Sadym
0533764aac
test: pass protocol in Puppeteer.connect in tests (#11342)
Add an internal field protocol: 'cdp' | 'webDriverBiDi' to the Browser and use is in tests when Puppeter.connect(...) is called.

Co-authored-by: Maksim Sadym <sadym@google.com>
2023-11-10 12:55:08 +00:00
Nikolay Vitkov
b829f42074
chore: fix min Node 16 (#11347) 2023-11-10 11:29:05 +01:00
Nikolay Vitkov
a52aa51bd8
refactor: revert to private prop (#11332) 2023-11-10 09:49:26 +00:00
Maksim Sadym
3a11926bd8
refactor: respect protocol option in Puppeteer.connect (#11338)
Co-authored-by: Maksim Sadym <sadym@google.com>
2023-11-09 18:12:23 +01:00
Nikolay Vitkov
0fe89b7da9
chore: add new UnsupportedOperation Error (#11322) 2023-11-09 13:57:33 +01:00
release-please[bot]
245f38234d
chore: release main (#11331)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-11-09 13:03:21 +01:00
Nikolay Vitkov
d2480b022d
fix: better debugging for WaitTask (#11330) 2023-11-09 10:38:27 +00:00
Alex Rudenko
2da4915e6b
chore: remove sharedId check (#11328) 2023-11-09 10:20:36 +01:00
Nikolay Vitkov
f7cf05ce4a
docs: move ProductLauncher to abstract class (#11324) 2023-11-08 18:36:56 +00:00
Nikolay Vitkov
1927fb561e
refactor: move waitWithNetworkIdle (#11321) 2023-11-08 14:31:34 +01:00
dependabot[bot]
f22a33bfa2
chore(deps-dev): Bump the dev-dependencies group with 13 updates (#11318)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-08 08:39:53 +00:00
Alex Rudenko
5b8c6cb1fc
chore: enable dpr for bidi (#11319) 2023-11-08 09:28:45 +01:00
dependabot[bot]
07777c14d0
chore(deps-dev): Bump the dev-dependencies group with 5 updates (#11314)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 14:25:16 +01:00
Nikolay Vitkov
8a54722328
refactor: move dependencies where they are used (#11310) 2023-11-06 14:03:57 +01:00
Nikolay Vitkov
f196f84ed0
ci: fix Timeout Error in tests (#11301) 2023-11-06 11:20:04 +01:00
Nikolay Vitkov
47e708b979
chore: use abstract for HTTP classes (#11300) 2023-11-06 10:15:09 +01:00
Nikolay Vitkov
619d9d0262
chore: fix RxJs import for BiDi (#11299) 2023-11-06 06:58:20 +01:00
release-please[bot]
b33ff31c2a
chore: release main (#11275)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-11-02 16:51:26 +01:00
browser-automation-bot
325fa8b1b1
feat: roll to Chrome 119.0.6045.105 (r1204232) (#11287)
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2023-11-02 16:31:34 +01:00
dependabot[bot]
6f60c2e6ed
chore(deps-dev): Bump the dev-dependencies group with 4 updates (#11294)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 10:16:39 +01:00
Alex Rudenko
019bc82192
chore: update expected bidi errors (#11022) 2023-10-31 16:23:29 +01:00
Nikolay Vitkov
b4b6fe2702
chore: update chromium-bidi to 0.4.33 (#11284) 2023-10-31 15:29:37 +01:00
jrandolf
ce4e485d1b
fix: ignore unordered frames (#11283) 2023-10-31 12:39:16 +01:00
dependabot[bot]
0b756aa443
chore(deps): Bump the dependencies group with 2 updates (#11280)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 09:47:45 +01:00
Nikolay Vitkov
0d4aab828a
chore: fix BiDi deserializer (#11264) 2023-10-30 13:02:04 +01:00
Nikolay Vitkov
22aeff1eac
fix: Type for ElementHandle.screenshot (#11274) 2023-10-30 11:02:43 +01:00
dependabot[bot]
809aba2ed4
chore(deps-dev): Bump the dev-dependencies group with 2 updates (#11252)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 11:37:09 +02:00
Darío Kondratiuk
9db4a94617
refactor: remove extra variable on onTargetInfoChanged (#11249) 2023-10-25 16:15:01 +00:00
Nikolay Vitkov
5278de9276
chore: use internal method for networkidle with BiDi (#11167) 2023-10-24 10:07:35 +02:00
release-please[bot]
f5d922c19e
chore: release main (#11214)
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 (#11234) 2023-10-23 15:21:48 +00:00
Thiago Perrotta
edec7d53f8
fix: do not pass --{enable,disable}-features twice when user-provided (#11230) 2023-10-23 13:27:21 +00:00
Alex Rudenko
014c72ae1d
chore: merge locators in a single file (#11233) 2023-10-23 12:23:46 +00:00
Alex Rudenko
b9ce89e460
fix: remove more import cycles (#11231) 2023-10-23 14:06:41 +02:00
Nikolay Vitkov
39e9d5e1ec
ci: use CfT endpoint (#11232) 2023-10-23 13:59:10 +02:00
Alex Rudenko
3edce3aee9
fix: remove circular import in IsolatedWorld (#11228) 2023-10-23 12:54:45 +02:00
Alex Rudenko
20eb38d61b
chore: split a cycle in BiDi (#11229) 2023-10-23 12:27:23 +02:00
Alex Rudenko
525f13cd18
fix: remove import cycle (#11227) 2023-10-23 09:20:04 +00:00
Alex Rudenko
60f1b788a6
fix: remove import cycle in connection (#11225) 2023-10-23 09:02:19 +00:00
Alex Rudenko
bcd1a8e597
chore: exclude unit test sources from npm pkg (#11224) 2023-10-23 08:30:12 +00:00
Susheel Thapa
1dbd985daa
docs: fix typos in docs and website folder (#11212) 2023-10-21 13:18:45 +02:00
campersau
25b90b2b54
fix: typo in screencast error message (#11213) 2023-10-21 08:33:48 +00:00
release-please[bot]
35f9c6d1e6
chore: release main (#11095)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-10-20 12:20:50 +02:00
dependabot[bot]
dc5eb660e8
chore(deps-dev): Bump the dev-dependencies group with 3 updates (#11206)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 08:29:05 +02:00
Donnatello
4206e76c3e
fix: update TextQuerySelector cache on subtree update (#11200) 2023-10-19 11:58:40 +02:00
Nikolay Vitkov
11da21cac2
ci: try to fix request timeouts (#11190) 2023-10-19 11:04:29 +02:00
Nikolay Vitkov
9d34c09013
chore: update chromium-bidi (#11179)
Co-authored-by: Randolf <jrandolf@google.com>
2023-10-19 10:18:12 +02:00
jrandolf
20ee325e62
revert: "ci: try to fix request timeouts (#11183)" (#11184) 2023-10-17 16:46:54 +02:00
Nikolay Vitkov
57dc357e90
ci: try to fix request timeouts (#11183) 2023-10-17 14:43:13 +00:00
Nikolay Vitkov
0316863391
feat: added tagged (accessible) PDFs option (#11182) 2023-10-17 16:37:07 +02:00
Nikolay Vitkov
443ee99a8d
chore: fix RxJS import (#11176) 2023-10-17 08:30:04 +00:00
Nikolay Vitkov
5ce3abe675
chore: use RxJS instead of waitWithTimeout (#11160) 2023-10-16 14:37:52 +02:00
Nikolay Vitkov
511614fe44
chore: enable screencast for BiDi+ (#11171) 2023-10-16 13:54:10 +02:00
Thiago Perrotta
faea1d4791
refactor: use page().mainFrame() instead of manually computing the ro… (#11166) 2023-10-16 09:55:04 +00:00
Alex Rudenko
bb9ef6ee8b
refactor: unify tab target handling in page (#11115) 2023-10-16 07:53:03 +00:00
Thiago Perrotta
257be15d83
fix: Page.waitForDevicePrompt crash (#11153) 2023-10-15 14:32:33 +00:00
Thiago Perrotta
2b578e4a09
feat: merge user-provided --{disable,enable}-features in args (#11152)
Bug: #11072
2023-10-15 14:11:44 +00:00
Thiago Perrotta
d99f9d752b
chore: use CdpPage instead of Page in CDP frames (#11157) 2023-10-13 16:00:20 +00:00
Nikolay Vitkov
8290dc9de9
refactor: use RxJS for waitForHttp (#11133) 2023-10-13 12:35:43 +02:00
Alex Rudenko
8aa6cb37d2
fix: add InlineTextBox as a non-element a11y role (#11142) 2023-10-13 09:20:19 +02:00
Thiago Perrotta
b020e77991
chore: expose enabled chrome features as an array (#11141) 2023-10-12 23:48:42 +00:00
jrandolf
8a2b9f1280
chore: remove jobs (#11136) 2023-10-12 15:04:29 +02:00
Alex Rudenko
3171115085
refactor: move target checks to the api surface (#11137) 2023-10-12 12:15:06 +02:00
Alex Rudenko
9347aae12e
fix: disable ProcessPerSiteUpToMainFrameThreshold in Chrome (#11139) 2023-10-12 10:58:31 +02:00
Nikolay Vitkov
4a2a37b825
chore: add a deflake utility (#11111) 2023-10-11 19:21:50 +02:00
Nikolay Vitkov
e34716ab0e
chore: create TimeoutError only when needed (#11121) 2023-10-11 19:15:06 +02:00
jrandolf
a3fce3118a
chore: add support for format and quality to BiDi (#11124) 2023-10-11 16:53:50 +00:00
jrandolf
4170fefc5c
chore: remove rollup (#11135) 2023-10-11 17:55:32 +02:00
jrandolf
7a38586d9d
chore: use hereby instead of internal job (#11132) 2023-10-11 17:54:26 +02:00
jrandolf
e45f20b52a
chore: rename index.ts to mitt.ts (#11134) 2023-10-11 16:57:27 +02:00
dependabot[bot]
5a3c49b8f7
chore(deps-dev): Bump the dev-dependencies group with 5 updates (#11131)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 14:01:22 +00:00
dependabot[bot]
6eaaea5c65
chore(deps): Bump the dependencies group with 4 updates (#11128)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 15:32:57 +02:00
browser-automation-bot
91d14c8c86
feat: roll to Chrome 118.0.5993.70 (r1192594) (#11123)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-10-11 13:34:13 +02:00
jrandolf
9e7a30ece5
chore: update dependencies (#11119) 2023-10-11 12:03:40 +02:00
Nikolay Vitkov
c8feb3e472
refactor: use RxJS for waitForTarget (#11029) 2023-10-11 08:11:22 +00:00
Alex Rudenko
d63f0cfc61
fix: synchronize frame tree with the events processing (#11112) 2023-10-10 16:44:38 +02:00
Nikolay Vitkov
2811119562
chore: small fixes and type improvement (#11110) 2023-10-10 11:42:31 +02:00
Nikolay Vitkov
067a5b2900
docs: fix screencast links (#11106) 2023-10-09 17:43:54 +02:00
Alex Rudenko
6098bab2ba
fix: xpath queries should be atomic (#11101) 2023-10-09 14:21:22 +02:00
Alex Rudenko
8324c16348
feat: enable tab targets (#11099) 2023-10-09 13:49:27 +02:00
Alex Rudenko
9ce204e27e
fix: make sure discovery happens before auto-attach (#11100) 2023-10-09 11:16:12 +00:00
jrandolf
f060d467c0
feat: implement screencasting (#11084) 2023-10-06 16:50:39 +02:00
release-please[bot]
ddbb43cd09
chore: release main (#11086)
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 (#11091) 2023-10-06 10:38:44 +00:00
jrandolf
9c0c299f0b
chore: remove emulation from touchscreen tests (#11003) 2023-10-06 11:08:44 +02:00
jrandolf
12d7d7247f
chore: update chromium-bidi (#11088) 2023-10-06 09:12:30 +02:00
jrandolf
317f82055b
fix: update file chooser events (#11057) 2023-10-06 08:28:19 +02:00
jrandolf
eb99509a3a
chore: update chromium-bidi (#11085) 2023-10-06 08:09:10 +02:00
release-please[bot]
377cd83ccf
chore: release main (#11081)
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) (#11077) 2023-10-05 14:12:47 +02:00
release-please[bot]
eedbb13ada
chore: release main (#11051)
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 (#11047) 2023-09-28 11:44:04 +02:00
jrandolf
bd6c246b18
chore: add @typescript-eslint/no-import-type-side-effects (#11040) 2023-09-26 18:24:24 +02:00
Nikolay Vitkov
e853e636d4
refactor: use common debugError (#11039) 2023-09-26 17:41:54 +02:00
Nikolay Vitkov
aa16ab1cff
chore: use RxJS for wait for Navigation (#11024) 2023-09-26 15:02:18 +02:00
release-please[bot]
c502ca89e4
chore: release main (#11025)
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 (#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