Commit Graph

4824 Commits

Author SHA1 Message Date
release-please[bot]
9add4b4815
chore(main): release ng-schematics 0.6.0 (#11820)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-05 13:03:02 +00:00
Nikolay Vitkov
e2d42800c3 chore: fix test 2024-02-05 13:44:00 +01:00
jrandolf
a69984e5db
refactor: move bidi CDPSession (#11833) 2024-02-05 13:25:15 +01:00
Alex Rudenko
8d7d9f1f05
test: rework test expectations (#11824) 2024-02-05 11:04:41 +00:00
dependabot[bot]
8a6557c94b
chore(deps): Bump the all group with 3 updates (#11830)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 10:45:49 +00: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
Alex Rudenko
c63414dbb4
chore: bump firefox test version (#11835) 2024-02-05 10:43:17 +01:00
dependabot[bot]
d0f4a8d03b
chore(deps): Bump the dependencies group with 1 update (#11829)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 10:41:33 +01:00
Nikolay Vitkov
b2c69fe5bd
build: fix EsLint rule and add fixer (#11826) 2024-02-05 10:26:37 +01:00
Henrik Skupin
197f00547e
test: replace usages of webkit-scrollbar with scrollbar-width (#11825) 2024-02-02 17:25:17 +01:00
Alex Rudenko
6514accb26
test: fix pdf tests (#11822) 2024-02-02 13:09:12 +00: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
Alex Rudenko
ef0d4419ba
test: clean up expectations (#11814) 2024-02-02 10:50:12 +00:00
Alex Rudenko
55036e0007
test: disable failing Firefox tests (#11812) 2024-02-02 10:26:57 +01:00
jrandolf
0a9f6d670a
feat: implement boolean env vars (#11811) 2024-02-02 08:02:34 +00:00
jrandolf
0f0813db38
fix: use shareReplay for inflight requests (#11810) 2024-02-02 08:09:33 +01:00
Alex Rudenko
fa353d3a59
ci: clear Firefox cache daily (#11802) 2024-02-01 09:33:52 +00:00
Alex Rudenko
56a2de04e1
ci: add an option to clear cache (#11801) 2024-02-01 09:25:24 +00:00
Henrik Skupin
0de9f59062
chore: for Firefox keep preference "browser.tabs.closeWindowWithLastTab" disabled for CDP (#11794) 2024-01-31 17:30:23 +00:00
Nikolay Vitkov
f4760decdf
ci: make GitHub Actions cache easer to search for (#11800) 2024-01-31 18:06:51 +01: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
Maksim Sadym
6f00f3bfed
test: mark flaky test (#11799) 2024-01-31 15:58:31 +00:00
Nikolay Vitkov
67d6e89021
chore: small fixes (#11797) 2024-01-31 16:01:27 +01:00
dependabot[bot]
6e59e357d2
chore(deps-dev): Bump the dev-dependencies group with 2 updates (#11796)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 10:14:24 +01:00
Alex Rudenko
2930a70c88
feat(bidi): implement UserContexts (#11784) 2024-01-31 09:22:47 +01:00
Alex Rudenko
9ff6bd3805
test: disable 'should work with no default argument' fully (#11791) 2024-01-30 17:15:52 +00:00
Alex Rudenko
422b5a5b03
test: move skipped tests to expectations (#11789) 2024-01-30 17:42:49 +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
dependabot[bot]
2d8acd2021
chore(deps): Bump the dependencies group with 6 updates (#11771)
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-29 13:46:51 +01: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