Commit Graph

4532 Commits

Author SHA1 Message Date
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
bf03e70e67
chore: disable flaky tests (#11853) 2024-02-06 17:24:49 +01: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
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