Commit Graph

920 Commits

Author SHA1 Message Date
Alex Rudenko
3448a4097b
build: fix windows build (#11975) 2024-02-22 15:30:58 +01:00
dependabot[bot]
5e942b3b2f
chore(deps): Bump the dependencies group with 1 update (#11973)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-02-22 13:45:38 +00:00
Alex Rudenko
873d6db020
build: make sure license information is preserved (#11971) 2024-02-22 13:42:59 +01:00
Alex Rudenko
753a954456
fix: supress viewport errors for pages that do not support changing it (#11970) 2024-02-22 13:10:59 +01:00
release-please[bot]
19fe78f797
chore: release main (#11949)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-22 09:09:03 +01:00
Alex Rudenko
ceab7a9042
fix: deprecate isIncognito (#11962) 2024-02-21 13:52:58 +01:00
jrandolf
013bd0b12d
fix: update touchscreen tests (#11960) 2024-02-21 11:24:36 +01:00
browser-automation-bot
70ad3b2448
feat: roll to Chrome 122.0.6261.57 (r1250580) (#11958)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-02-21 11:14:39 +01:00
Alex Rudenko
76143f328f
test: fix frameset clicks in WebDriver BiDi (#11952) 2024-02-19 14:30:21 +00:00
browser-automation-bot
03ef7a62c2
fix: roll to Chrome 121.0.6167.184 (r1233107) (#11948) 2024-02-19 12:28:58 +00:00
release-please[bot]
f6e7cbcade
chore: release main (#11901)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-17 12:43:56 +01:00
Alex Rudenko
f00a94a809
fix: Chrome for Testing downloads have a new URL (#11923) 2024-02-17 10:17:04 +00:00
jrandolf
a02c7a56f4
chore: wait for frames to be destroyed (#11919) 2024-02-15 09:22:23 +01:00
jrandolf
bd4d0febf0
chore: waitForNavigation should fail if navigation aborts or fails (#11914) 2024-02-15 09:16:46 +01:00
dependabot[bot]
634d5b805d
chore(deps-dev): Bump the dev-dependencies group with 13 updates (#11908)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2024-02-14 18:20:12 +00:00
Alex Rudenko
58e7e4fcef
test: implement workarounds for current state of WebDriver BiDi (#11911)
Co-authored-by: jrandolf <101637635+jrandolf@users.noreply.github.com>
2024-02-14 18:43:02 +01:00
Alex Rudenko
6cd0ce75d0
refactor: remove forgotten log (#11912) 2024-02-13 18:10:05 +01:00
jrandolf
d14c47097d
chore: implement BiDi workers (#11909) 2024-02-13 16:09:33 +01:00
jrandolf
0b74d752fb
chore: implement shared worker in bidi/core (#11907) 2024-02-13 13:16:23 +00:00
Alex Rudenko
1bdae40ec8
feat: support closing workers (#11870) 2024-02-13 13:40:59 +01:00
jrandolf
928d14ac84
chore: use internal event emitter for trusted events (#11898) 2024-02-13 11:35:10 +00:00
jrandolf
5b6456a7ca
chore: add README to bidi/core (#11882) 2024-02-13 12:09:30 +01:00
jrandolf
e9f9f4c356
refactor: adopt the rest of bidi/core (#11836) 2024-02-12 16:28:21 +00:00
jrandolf
d3f00bf032
chore: use redirectCount for redirect detection in bidi/core (#11896) 2024-02-12 15:58:22 +00:00
dependabot[bot]
97824e2de9
chore(deps): Bump the dependencies group with 4 updates (#11885)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 09:57:24 +00:00
jrandolf
c75dbf4f36
chore: consolidate user context creation (#11880) 2024-02-08 15:23:02 +01:00
jrandolf
59c4daa5ee
chore: fixup redirect in bidi/core (#11879) 2024-02-08 15:22:41 +01:00
jrandolf
bfcd65d2f7
chore: fix bidi/core navigation (#11878) 2024-02-08 15:22:17 +01:00
jrandolf
8a9fb1051a
chore: remove Page.prototype.target from WebDriver BiDi (#11873) 2024-02-08 13:08:02 +00:00
jrandolf
15c986c2bc
fix: deprecate Page.prototype.target (#11872) 2024-02-08 12:56:58 +00:00
Nikolay Vitkov
86c3988e26
test: remove Buffer.concat overwrite (#11876) 2024-02-08 11:00:37 +00:00
jrandolf
41ab6337d4
refactor: small cleanup around realms and handles (#11866) 2024-02-07 13:17:16 +01:00
Alex Rudenko
47c9fe5cd4
refactor: cleanup headless check (#11863) 2024-02-07 10:20:37 +01:00
jrandolf
87b4e401e0
chore: do not dispose window realm when the context is not destroyed (#11856) 2024-02-07 07:59:37 +01:00
jrandolf
194e7f5063
chore: move worlds to CDP (#11852) 2024-02-06 17:49:51 +01:00
jrandolf
dfdd1aab38
chore: use existing types (#11851)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2024-02-06 17:42:51 +01:00
jrandolf
6c5b9ad3b9
refactor: rename _requestId to id (#11850)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2024-02-06 17:42:25 +01:00
jrandolf
27c71a9cf6
chore: use generic implementation for BrowserContext.waitForTarget (#11848)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2024-02-06 17:42:05 +01:00
jrandolf
f62380d373
chore: add storage.getCookies and storage.setCookie to bidi/core (#11847)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2024-02-06 16:34:41 +00:00
jrandolf
b63ebc721d
chore: add const to UserContext.DEFAULT (#11846) 2024-02-06 15:42:02 +00:00
Alex Rudenko
799058cc7b
docs: fix NetworkConditions descriptions (#11843) 2024-02-06 12:24:10 +00:00
Alex Rudenko
c5cee0e37d
fix: frameElement should work for framesets (#11842) 2024-02-06 12:13:06 +00:00
jrandolf
a69984e5db
refactor: move bidi CDPSession (#11833) 2024-02-05 13:25:15 +01:00
release-please[bot]
9fbb9f9653
chore: release main (#11821)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-05 10:22:00 +00:00
Alex Rudenko
46a3ef2681
refactor!: rename createIncognitoBrowserContext to createBrowserContext (#11834) 2024-02-05 10:43:37 +01:00
Nikolay Vitkov
b2c69fe5bd
build: fix EsLint rule and add fixer (#11826) 2024-02-05 10:26:37 +01:00
Alex Rudenko
75c9e117f1
refactor!: enable the new-headless mode by default (#11815) 2024-02-02 13:25:43 +01:00
Alex Rudenko
7564dfa911
refactor!: remove networkConditions in favor of PredefinedNetworkConditions (#11806) 2024-02-02 13:25:20 +01:00
Nikolay Vitkov
84d9a94d62
refactor!: use ReadableStreams (#11805) 2024-02-02 13:25:02 +01:00
Nikolay Vitkov
514e2d5241
refactor!: remove duplicate type names (#11803) 2024-02-02 13:22:47 +01:00
Alex Rudenko
f1608743c8
refactor!: remove add/removeEventListener in favor of on/off (#11792) 2024-02-02 13:22:28 +01:00
Alex Rudenko
d4e9d8d591
fix!: make console warn level compatible with WebDriver BiDi (#11790) 2024-02-02 13:22:07 +01:00
Alex Rudenko
f18d44761c
refactor!: remove InterceptResolutionStrategy (#11788) 2024-02-02 13:21:48 +01:00
Alex Rudenko
eb360e3a76
refactor!: remove devices in favor of KnownDevices (#11787) 2024-02-02 13:20:33 +01:00
Nikolay Vitkov
53c9134809
refactor!: remove $x and waitForXpath (#11782) 2024-02-02 13:18:43 +01:00
Nikolay Vitkov
1900fa9418
refactor!: remove waitForTimeout (#11780) 2024-02-02 13:17:24 +01:00
Alex Rudenko
4fc14026e9
feat!: generate accessible PDFs by default (#11778) 2024-02-02 13:17:06 +01:00
Nikolay Vitkov
b3bfdd2024
refactor!: remove error const, change CustomError to PuppeteerError (#11777)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-02-02 13:15:20 +01:00
jrandolf
ced2235ada
fix!: remove viewport resizing from ElementHandle.screenshot (#11774) 2024-02-02 13:14:59 +01:00
Alex Rudenko
4677281877
feat!: remove PUPPETEER_DOWNLOAD_PATH in favor of PUPPETEER_CACHE_DIR (#11605) 2024-02-02 13:14:38 +01:00
Maksim Sadym
9cb1fde589
feat!: BiDi cookies (#11532)
Co-authored-by: Maksim Sadym <sadym@google.com>
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2024-02-02 13:13:00 +01:00
Nikolay Vitkov
953f4207b1
feat!: drop support for node16 (#10912) 2024-02-02 13:12:28 +01:00
release-please[bot]
e04016a4a0
chore: release main (#11785)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-02 11:13:09 +00:00
jrandolf
0f0813db38
fix: use shareReplay for inflight requests (#11810) 2024-02-02 08:09:33 +01:00
Henrik Skupin
0de9f59062
chore: for Firefox keep preference "browser.tabs.closeWindowWithLastTab" disabled for CDP (#11794) 2024-01-31 17:30:23 +00:00
dependabot[bot]
b7285fc24d
chore(deps): Bump the dependencies group with 1 update (#11798)
Bumps the dependencies group with 1 update: [chromium-bidi](https://github.com/GoogleChromeLabs/chromium-bidi).

Updates `chromium-bidi` from 0.5.6 to 0.5.8
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/GoogleChromeLabs/chromium-bidi/releases">chromium-bidi's releases</a>.</em></p>
<blockquote>
<h2>chromium-bidi: v0.5.8</h2>
<h2><a href="https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.7...chromium-bidi-v0.5.8">0.5.8</a> (2024-01-31)</h2>
<h3>Features</h3>
<ul>
<li>add temp <code>context</code> into worker realm for Puppeteer (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1801">#1801</a>) (<a href="3703549736">3703549</a>)</li>
</ul>
<h2>chromium-bidi: v0.5.7</h2>
<h2><a href="https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.6...chromium-bidi-v0.5.7">0.5.7</a> (2024-01-30)</h2>
<h3>Features</h3>
<ul>
<li>separate realm types (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1709">#1709</a>) (<a href="9307f0515d">9307f05</a>)</li>
<li>support user context in cookies API (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1781">#1781</a>) (<a href="d838757a16">d838757</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/GoogleChromeLabs/chromium-bidi/blob/main/CHANGELOG.md">chromium-bidi's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.7...chromium-bidi-v0.5.8">0.5.8</a> (2024-01-31)</h2>
<h3>Features</h3>
<ul>
<li>add temp <code>context</code> into worker realm for Puppeteer (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1801">#1801</a>) (<a href="3703549736">3703549</a>)</li>
</ul>
<h2><a href="https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.6...chromium-bidi-v0.5.7">0.5.7</a> (2024-01-30)</h2>
<h3>Features</h3>
<ul>
<li>separate realm types (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1709">#1709</a>) (<a href="9307f0515d">9307f05</a>)</li>
<li>support user context in cookies API (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1781">#1781</a>) (<a href="d838757a16">d838757</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6e6ea06be5"><code>6e6ea06</code></a> chore(main): release chromium-bidi 0.5.8 (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1802">#1802</a>)</li>
<li><a href="3703549736"><code>3703549</code></a> feat: add temp <code>context</code> into worker realm for Puppeteer (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1801">#1801</a>)</li>
<li><a href="b5aed185e4"><code>b5aed18</code></a> ci: add labeled as option (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1800">#1800</a>)</li>
<li><a href="79b539f665"><code>79b539f</code></a> ci: fix Puppeteer label (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1798">#1798</a>)</li>
<li><a href="119dd4c694"><code>119dd4c</code></a> refactor: clean up some naming (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1796">#1796</a>)</li>
<li><a href="38b574ccbc"><code>38b574c</code></a> build(deps): Bump wpt from <code>3c5b215</code> to <code>b44c438</code> (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1787">#1787</a>)</li>
<li><a href="fe46377c02"><code>fe46377</code></a> test: fix Promise rejection was handled asynchronously (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1784">#1784</a>)</li>
<li><a href="aea8599c5f"><code>aea8599</code></a> refactor: update types to more accurate represenation (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1780">#1780</a>)</li>
<li><a href="b2a97245bf"><code>b2a9724</code></a> chore(main): release chromium-bidi 0.5.7 (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1778">#1778</a>)</li>
<li><a href="d838757a16"><code>d838757</code></a> feat: support user context in cookies API (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1781">#1781</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.6...chromium-bidi-v0.5.8">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=chromium-bidi&package-manager=npm_and_yarn&previous-version=0.5.6&new-version=0.5.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 17:49:40 +01:00
Nikolay Vitkov
67d6e89021
chore: small fixes (#11797) 2024-01-31 16:01:27 +01:00
Alex Rudenko
2930a70c88
feat(bidi): implement UserContexts (#11784) 2024-01-31 09:22:47 +01:00
Nikolay Vitkov
b99d478cd4
feat: add outline to PDF generation (#11779) 2024-01-30 12:34:33 +01:00
Alex Rudenko
2c3711e885
docs: clarify current behavior of PUPPETEER_BROWSER_REVISION (#11783) 2024-01-30 11:37:54 +01:00
release-please[bot]
31a23399a9
chore: release main (#11756)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-01-29 13:55:30 +00:00
jrandolf
9cd66731d1
fix: set viewport for element screenshots (#11772) 2024-01-29 13:09:09 +00:00
Maksim Sadym
0dedc75df1
chore(deps): Bump chromium-bidi to 0.5.6 (#11770)
Updates `chromium-bidi` from 0.5.4 to 0.5.6
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/GoogleChromeLabs/chromium-bidi/releases">chromium-bidi's releases</a>.</em></p>
<blockquote>
<h2>chromium-bidi: v0.5.6</h2>
<h2><a href="https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.5...chromium-bidi-v0.5.6">0.5.6</a> (2024-01-29)</h2>
<h3>Features</h3>
<ul>
<li>add CPD specific field in cookies (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1759">#1759</a>) (<a href="d24584ac0d">d24584a</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>handle headless errors when creating a target (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1757">#1757</a>) (<a href="cd7e772b39">cd7e772</a>)</li>
</ul>
<h2>chromium-bidi: v0.5.5</h2>
<h2><a href="https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.4...chromium-bidi-v0.5.5">0.5.5</a> (2024-01-25)</h2>
<h3>Features</h3>
<ul>
<li>allow not partitioned cookies (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1718">#1718</a>) (<a href="d54a4f1860">d54a4f1</a>)</li>
<li>implement user contexts (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1715">#1715</a>) (<a href="b75def3778">b75def3</a>)</li>
<li>provide logs before Mapper is launched via NodeJS runner (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1737">#1737</a>) (<a href="0b278f30f9">0b278f3</a>)</li>
<li>return all cookies for a given browsing context (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1746">#1746</a>) (<a href="456d9473a7">456d947</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/GoogleChromeLabs/chromium-bidi/blob/main/CHANGELOG.md">chromium-bidi's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.5...chromium-bidi-v0.5.6">0.5.6</a> (2024-01-29)</h2>
<h3>Features</h3>
<ul>
<li>add CPD specific field in cookies (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1759">#1759</a>) (<a href="d24584ac0d">d24584a</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>handle headless errors when creating a target (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1757">#1757</a>) (<a href="cd7e772b39">cd7e772</a>)</li>
</ul>
<h2><a href="https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.4...chromium-bidi-v0.5.5">0.5.5</a> (2024-01-25)</h2>
<h3>Features</h3>
<ul>
<li>allow not partitioned cookies (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1718">#1718</a>) (<a href="d54a4f1860">d54a4f1</a>)</li>
<li>implement user contexts (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1715">#1715</a>) (<a href="b75def3778">b75def3</a>)</li>
<li>provide logs before Mapper is launched via NodeJS runner (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1737">#1737</a>) (<a href="0b278f30f9">0b278f3</a>)</li>
<li>return all cookies for a given browsing context (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1746">#1746</a>) (<a href="456d9473a7">456d947</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3ad4653293"><code>3ad4653</code></a> chore(main): release chromium-bidi 0.5.6 (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1758">#1758</a>)</li>
<li><a href="a1e5f8fa1b"><code>a1e5f8f</code></a> build(deps): Bump wpt from <code>83ac63c</code> to <code>3c5b215</code> (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1763">#1763</a>)</li>
<li><a href="6d09a82bb5"><code>6d09a82</code></a> build: update cddlconv (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1761">#1761</a>)</li>
<li><a href="d24584ac0d"><code>d24584a</code></a> feat: add CPD specific field in cookies (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1759">#1759</a>)</li>
<li><a href="e273bf6000"><code>e273bf6</code></a> refactor: types + logic fix (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1760">#1760</a>)</li>
<li><a href="cd7e772b39"><code>cd7e772</code></a> fix: handle headless errors when creating a target (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1757">#1757</a>)</li>
<li><a href="db34f89443"><code>db34f89</code></a> build(deps): Bump wpt from <code>a8510ed</code> to <code>83ac63c</code> (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1756">#1756</a>)</li>
<li><a href="455a1e720a"><code>455a1e7</code></a> ci: pin version to file (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1755">#1755</a>)</li>
<li><a href="33cae112bf"><code>33cae11</code></a> build(deps): Bump the all group with 7 updates (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1754">#1754</a>)</li>
<li><a href="1a6f173fbf"><code>1a6f173</code></a> build(deps): Bump the all group with 3 updates (<a href="https://redirect.github.com/GoogleChromeLabs/chromium-bidi/issues/1753">#1753</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/GoogleChromeLabs/chromium-bidi/compare/chromium-bidi-v0.5.4...chromium-bidi-v0.5.6">compare view</a></li>
</ul>
</details>
<br />

Co-authored-by: Maksim Sadym <sadym@google.com>
2024-01-29 11:04:06 +00:00
jrandolf
d085127bba
refactor: use generic implementation for waitForNetworkIdle (#11757) 2024-01-26 16:06:41 +01:00
Alex Rudenko
ce894a2ffc
feat: download chrome-headless-shell by default and use it for the old headless mode (#11754) 2024-01-25 21:39:07 +01:00
Alex Rudenko
f88e1da638
feat: add experimental browser.debugInfo (#11748) 2024-01-25 14:57:45 +00:00
jrandolf
08f761486e
refactor: use generic implementation for waitForRequest (#11753) 2024-01-25 14:52:11 +01:00
jrandolf
3698fa8aec
refactor: use generic implementation for waitForResponse (#11752) 2024-01-25 14:22:48 +01:00
jrandolf
398b31de26
refactor: adopt core/UserContext on BidiBrowserContext (#11734) 2024-01-24 14:07:45 +00:00
release-please[bot]
d57b1044f2
chore: release main (#11744)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-01-24 13:53:06 +00:00
browser-automation-bot
0eec94cf57
feat: roll to Chrome 121.0.6167.85 (r1233107) (#11743)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2024-01-24 13:28:45 +00:00
release-please[bot]
2f87accd67
chore: release main (#11742)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-01-24 14:01:55 +01:00
Alex Rudenko
415cfaca20
feat: roll to Chrome 120.0.6099.109 (r1217362) (#11733) 2024-01-24 13:10:23 +01:00
jrandolf
69e44fc808
chore: handle disposal of core/bidi resources (#11730) 2024-01-24 10:10:42 +01:00
jrandolf
bc7bd01d85
chore: add dispose to core/UserContext (#11727) 2024-01-24 10:09:24 +01:00
jrandolf
86423469ec
chore: add dispose to core/UserPrompt (#11726) 2024-01-23 15:48:46 +00:00
jrandolf
5ca65e06c3
chore: implement higher order event emitters (#11723) 2024-01-23 16:08:20 +01:00
Alex Rudenko
d17a9df027
revert: refactor: adopt core/UserContext on BidiBrowserContext (#11721) 2024-01-23 11:43:40 +00:00
jrandolf
ab5d4ac602
refactor: adopt core/UserContext on BidiBrowserContext (#11714) 2024-01-22 14:53:48 +00:00
dependabot[bot]
2b094b7c67
chore(deps-dev): Bump the dev-dependencies group with 2 updates (#11695)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 14:27:32 +01:00
jrandolf
bb45951e2f
refactor: adopt core/Browser on BidiBrowser (#11702) 2024-01-22 11:38:34 +01:00
Nikolay Vitkov
76da4e6479
chore: extract protocol utils to separate files (#11706) 2024-01-19 13:36:26 +00:00
Nikolay Vitkov
6a28525fc9
chore: remove unused code and dep (#11705) 2024-01-19 14:03:29 +01:00
dependabot[bot]
07889b5bb3
chore(deps): Bump the dependencies group with 1 update (#11703)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-19 10:56:01 +01:00
jrandolf
afb7d9eb58
refactor: implement core/Connection on BidiConnection (#11700) 2024-01-18 14:24:41 +01:00
jrandolf
0abede9a5f
refactor: implement bidi/core (#11649) 2024-01-18 13:29:52 +01:00
Darío Kondratiuk
f6c6d768df
chore: remove updated but unused variable (#11679) 2024-01-15 10:12:49 +01:00
Darío Kondratiuk
3b3b9c385f
chore: remove redundant type-check (#11678) 2024-01-15 08:39:52 +00:00
Nikolay Vitkov
864ebc86c9
chore: remove some instances of TS any (#11661) 2024-01-11 14:26:02 +00:00
Nikolay Vitkov
cf879b82f6
fix: expose function for Firefox BiDi (#11660) 2024-01-11 11:08:21 +00:00
dependabot[bot]
5ab09e8c33
chore(deps): Bump the dependencies group with 1 update (#11668)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 10:46:30 +00:00
jrandolf
d0dd209850
refactor: implement fromEmitterEvent (#11658) 2024-01-09 13:45:45 +00:00
jrandolf
93fb2f4ea4
refactor: make Deferred.valueOrThrow idempotent. (#11657) 2024-01-09 11:40:26 +01:00
jrandolf
27dd2fc8ca
refactor: move PDF options to utilities (#11651) 2024-01-08 19:45:32 +01:00
jrandolf
cf16cb49c9
refactor: rename Dialog.sendCommand to Dialog.handle (#11650) 2024-01-08 18:05:19 +00:00
Alex Rudenko
cc3aeeb6ea
fix: wait for WebDriver BiDi browser to close gracefully (#11636) 2024-01-05 10:00:59 +00:00
Nikolay Vitkov
e8b501de6f
docs: update website deps and fix some broken links (#11631) 2024-01-05 08:28:39 +00:00
release-please[bot]
864012a86d
chore: release main (#11593)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-01-04 13:39:46 +00:00
Nikolay Vitkov
b6c5642cc9
chore: update license headers (#11563) 2024-01-03 10:11:33 +00:00
dependabot[bot]
c7421ddfcd
chore(deps-dev): Bump the dev-dependencies group with 7 updates (#11612)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2024-01-03 09:53:39 +01:00
Alex Rudenko
b0c5392cb3
fix: improve reliability of exposeFunction (#11600) 2024-01-02 13:58:55 +01:00
Nikolay Vitkov
42b03a67d0
chore: enable no-useless-template-literals rule (#11573) 2024-01-02 12:35:01 +00:00
Alex Rudenko
66aa770038
feat: allow converting other targets to pages (#11604) 2024-01-02 10:32:03 +00:00
Alex Rudenko
80143def96
feat: support fetching request POST data (#11598) 2024-01-02 11:02:08 +01:00
Alex Rudenko
c660d4001d
feat: support timeouts per CDP command (#11595) 2024-01-02 11:00:07 +01:00
Henrik Skupin
e41a2656d9
fix: disable GFX sanity window for Firefox and enable WebDriver BiDi CI jobs for Windows (#11578) 2023-12-28 13:20:22 +01:00
Darío Kondratiuk
107b8337e5
fix: change viewportHeight in screencast (#11583) 2023-12-28 05:54:41 +00:00
dependabot[bot]
949f4e90ca
chore(deps): Bump the dependencies group with 2 updates (#11588)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-28 05:41:29 +00:00
Ben Elliott
0651d2c68e
docs: clarify Page.waitForFunction() docs to mention that it will w… (#11592) 2023-12-28 04:11:58 +00:00
jrandolf
d001163d0a
chore: update chromium-bidi (#11560) 2023-12-17 22:50:19 +01:00
jrandolf
af6eba4bea
chore: abstract web worker API (#11558) 2023-12-15 13:08:28 +01:00
release-please[bot]
dd750b9576
chore: release main (#11546)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-12-13 15:19:18 +01:00
jrandolf
62a5a07c2a
chore: revert to Chrome 119.0.6045.105 (#11540) 2023-12-13 14:52:24 +01:00
jrandolf
2bcf1e62d8
revert: "feat: download chrome-headless-shell by default and use it for the old headless mode" (#11545) 2023-12-13 14:40:06 +01:00
dependabot[bot]
1d512d87d6
chore(deps): Bump the dependencies group with 1 update (#11537)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 09:31:50 +00:00
jrandolf
b6d1163f7f
fix: emulate if captureBeyondViewport is false (#11525) 2023-12-12 23:12:24 +00:00
dependabot[bot]
983e25ba28
chore(deps): Bump the dependencies group with 1 update (#11526)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 11:23:40 +01:00
Alex Rudenko
b4a65245b0
fix: ensure fission.bfcacheInParent is disabled for cdp in Firefox (#11522) 2023-12-08 11:40:46 +00:00
Alex Rudenko
04b879944a
test: add a test for eval followed by a mouse event (#11506) 2023-12-08 10:38:49 +01:00
Alex Rudenko
75ba27bca2
feat: download chrome-headless-shell by default and use it for the old headless mode (#11093) 2023-12-07 10:00:20 +00:00
browser-automation-bot
fc0b0796be
fix: roll to Chrome 120.0.6099.71 (r1217362) (#11513)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-12-07 09:12:53 +01:00
browser-automation-bot
b38f637adf
feat: roll to Chrome 120.0.6099.62 (r1217362) (#11501)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-12-06 09:24:27 +01:00
release-please[bot]
8c0ac61260
chore: release main (#11431)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-12-06 09:04:56 +01:00
Alex Rudenko
f8c94699c7
fix: remove CDP-specific preferences from defaults for Firefox (#11477) 2023-12-05 15:40:49 +00:00
Alex Rudenko
37bcb77494
test: implement page target for BiDi to run the console test (#11480) 2023-12-01 10:55:58 +01:00
Maksim Sadym
be081ba17a
feat: BiDi implementation of Puppeteer.connect for Firefox (#11451)
Co-authored-by: Maksim Sadym <sadym@google.com>
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-12-01 08:30:01 +00:00
Maksim Sadym
a66d029607
fix: end WebDriver BiDi session on disconnect (#11470)
Co-authored-by: Maksim Sadym <sadym@google.com>
2023-11-30 14:27:49 +00:00
Alex Rudenko
957a8293bb
fix: warn about launch Chrome using Node x64 on arm64 Macs (#11471) 2023-11-30 14:26:49 +01:00
Alex Rudenko
585b7c1941
docs: fix clickCount docs (#11468) 2023-11-30 10:07:24 +00:00
Nikolay Vitkov
8be3e797bb
refactor: move setContent to common impl (#11455)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-11-29 17:25:54 +00:00
Alex Rudenko
1014abc087
docs: fixing docs (#11460) 2023-11-29 13:29:13 +00:00
Alex Rudenko
8aba033dde
feat: experimental WebDriver BiDi support with Firefox (#11412)
Co-authored-by: Jecelyn Yeen <5917927+jecfish@users.noreply.github.com>
2023-11-28 13:07:53 +01:00
dependabot[bot]
9673b1f562
chore(deps-dev): Bump the dev-dependencies group with 10 updates (#11449)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 15:43:09 +01:00
Alex Rudenko
f8f1a0f06f
chore: implement goBack/goForward for WebDriver BiDi (#11447) 2023-11-27 11:38:59 +00:00
Alex Rudenko
bbff323edf
docs: clarify the viewport() behavior (#11442) 2023-11-27 11:38:42 +01:00
Alex Rudenko
54b0bcbc46
docs: update faq (#11441) 2023-11-24 10:01:53 +00:00
Alex Rudenko
53fb69bf7f
feat: implement the Puppeteer CLI (#11344) 2023-11-23 08:51:37 +00:00
dependabot[bot]
d6cecd4ae0
chore(deps): Bump the dependencies group with 2 updates (#11419)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 14:30:54 +01:00
dependabot[bot]
97b70eaad2
chore(deps): Bump the dependencies group with 1 update (#11415)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maksim Sadym <sadym@google.com>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-11-20 09:56:29 +00:00
Nikolay Vitkov
d54b80fa80
docs: use link with placeholder (#11405) 2023-11-16 21:53:04 +01:00
Nikolay Vitkov
63a0d8b683
chore: fail fast waitForSelector BiDi (#11406) 2023-11-16 21:52:43 +01:00
Nikolay Vitkov
f9f31ce9fa
docs: add more privateRemarks for BiDi (#11402) 2023-11-16 16:32:56 +01:00
Nathan
c7921ae42c
docs: fix typo in setViewport docs (#11382) 2023-11-16 13:48:02 +01:00
jrandolf
2bf28ea1e5
chore: implement document screenshots in BiDi (#11398) 2023-11-16 12:46:28 +00:00
Nikolay Vitkov
923434bd56
chore: emit CDP event only on CdpSession (#11393) 2023-11-16 09:31:41 +01:00
Nikolay Vitkov
8644744dce
chore: use a type for protocol (#11394) 2023-11-16 08:23:08 +01:00
Nikolay Vitkov
7c499cb0b5
chore: mark where APIs don't work for BiDi (#11396) 2023-11-16 08:22:32 +01:00
Nikolay Vitkov
b58ba6b07c
chore: small fixes (#11397) 2023-11-16 08:16:40 +01:00
Nikolay Vitkov
856802fec3
chore: implement Page.close prompt unload (#11399) 2023-11-16 08:10:20 +01:00
release-please[bot]
a6b508aa36
chore: release main (#11364)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-11-15 10:48:54 +00:00
Nikolay Vitkov
ee06a1381b
chore: update unsupported to return never (#11391) 2023-11-14 17:56:00 +01:00
Nikolay Vitkov
474d73fe1b
refactor: extract Connect interfaces into common (#11392) 2023-11-14 15:21:24 +01:00
Nikolay Vitkov
a9e959e8fe
docs: prefer ts code block (#11389) 2023-11-14 13:39:58 +01:00
dependabot[bot]
ecc4239acc
chore(deps-dev): Bump the dev-dependencies group with 5 updates (#11373)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 15:19:05 +00: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
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
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
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
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