Commit Graph

4595 Commits

Author SHA1 Message Date
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
dependabot[bot]
4e3a0d6575
chore(deps-dev): Bump the dev-dependencies group with 3 updates (#11765)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 10:01:25 +00:00
dependabot[bot]
0242d22132
chore(deps): Bump the all group with 5 updates (#11766)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 09:47:07 +00:00
Alex Rudenko
a91a9e1aa4
build: disable license fixer (#11768) 2024-01-29 09:13:21 +00:00
richestrinh
96b7af5988
build: ESLint rule to check/add license headers (#11716) 2024-01-27 06:25:39 +01:00
jrandolf
d085127bba
refactor: use generic implementation for waitForNetworkIdle (#11757) 2024-01-26 16:06:41 +01:00
Alex Rudenko
932b010932
build: add a firefox:bidi:headful command (#11760) 2024-01-26 10:05:59 +00: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
f67b205776
test: update expectation for Page.removeScriptToEvaluateOnNewDocument (#11755) 2024-01-25 16:37:21 +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
Nikolay Vitkov
3a4a23faa8
ci: use .nvmrc everywhere (#11747) 2024-01-25 10:20:58 +01:00
Alex Rudenko
b53de4e094
test: dedupe test names (#11746) 2024-01-24 18:13:55 +01:00
Nikolay Vitkov
230d041a4f
chore: move test under correct file (#11745) 2024-01-24 15:24:17 +00: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
df0c43262b
chore: disable eslint for herebyfile (#11741) 2024-01-24 12:28:37 +00:00
Alex Rudenko
415cfaca20
feat: roll to Chrome 120.0.6099.109 (r1217362) (#11733) 2024-01-24 13:10:23 +01:00
Alex Rudenko
b5e50865a4
build: regen package-lock.json (#11735) 2024-01-24 11:38:21 +00:00
jrandolf
fa175a0d60
ci: limit PR CI to linux (#11738) 2024-01-24 10:55:37 +00:00
Alex Rudenko
6cbc58cf19
ci: test node-version-file (#11737) 2024-01-24 11:27:35 +01:00
Alex Rudenko
3ba6b2edf6
build(deps): update cosmiconfig (#11731) 2024-01-24 09:38:09 +00: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
dependabot[bot]
9df9ede0b7
chore(deps-dev): Bump the dev-dependencies group with 3 updates (#11729)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 18:10:24 +01:00
dependabot[bot]
9c4bcecb7b
chore(deps): Bump the dependencies group with 1 update (#11728)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 17:48:03 +01:00
Nikolay Vitkov
6147abbdef
ci: weekly dependabot updates (#11725) 2024-01-23 16:59:19 +01:00