mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: update the supported browsers page (#12223)
This commit is contained in:
parent
3f08654697
commit
2821970485
@ -35,9 +35,9 @@ function getApiUrl(version) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const docsChromiumSupportTask = task({
|
export const docsChromiumSupportTask = task({
|
||||||
name: 'docs:chromium-support',
|
name: 'docs:supported-browsers',
|
||||||
run: async () => {
|
run: async () => {
|
||||||
const content = await readFile('docs/chromium-support.md', {
|
const content = await readFile('docs/supported-browsers.md', {
|
||||||
encoding: 'utf8',
|
encoding: 'utf8',
|
||||||
});
|
});
|
||||||
const {versionsPerRelease} = await import('./versions.js');
|
const {versionsPerRelease} = await import('./versions.js');
|
||||||
@ -61,7 +61,7 @@ export const docsChromiumSupportTask = task({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
await writeFile(
|
await writeFile(
|
||||||
'docs/chromium-support.md',
|
'docs/supported-browsers.md',
|
||||||
spliceIntoSection('version', content, buffer.join('\n'))
|
spliceIntoSection('version', content, buffer.join('\n'))
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Chromium Support
|
# Supported browsers
|
||||||
|
|
||||||
The following versions of Chromium are supported, mapped to Puppeteer version. This list is automatically updated when the version of Chromium changes in a given release of Puppeteer. If an exact matching version of Puppeteer isn't listed, the supported version of Chromium is that for the immediately prior version of Puppeteer:
|
:::note
|
||||||
|
|
||||||
|
Puppeteer originally only worked with Chromium and downloaded Chromium builds by default. Newer versions use **[Chrome for Testing](https://github.com/GoogleChromeLabs/chrome-for-testing?tab=readme-ov-file#what-is-chrome-for-testing)**, which supports both headless and headful modes sharing the same code path in the browser. The old headless mode is now a separate program called **[chrome-headless-shell](https://developer.chrome.com/blog/chrome-headless-shell)** (use `headless: 'shell'` with Puppeteer). Puppeteer also supports nightly versions of [Firefox](https://www.mozilla.org/en-US/firefox/). This page lists which Puppeteer version works with which Chromium or Chrome for Testing version (chrome-headless-shell versions match Chrome for Testing).
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
|
The following versions of the browsers are supported, mapped to Puppeteer version. This list is automatically updated when the version of the pinned browsers changes in a given release of Puppeteer. If an exact matching version of Puppeteer isn't listed, the supported version of the browser is that for the immediately prior version of Puppeteer:
|
||||||
|
|
||||||
<!-- version-start -->
|
<!-- version-start -->
|
||||||
|
|
@ -83,6 +83,10 @@ const config = {
|
|||||||
from: '/guides',
|
from: '/guides',
|
||||||
to: '/category/guides',
|
to: '/category/guides',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
from: '/chromium-support',
|
||||||
|
to: '/supported-browsers',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
@ -45,7 +45,7 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
'webdriver-bidi',
|
'webdriver-bidi',
|
||||||
'chromium-support',
|
'supported-browsers',
|
||||||
'troubleshooting',
|
'troubleshooting',
|
||||||
'contributing',
|
'contributing',
|
||||||
'faq',
|
'faq',
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"webdriver-bidi",
|
"webdriver-bidi",
|
||||||
"chromium-support",
|
"supported-browsers",
|
||||||
"troubleshooting",
|
"troubleshooting",
|
||||||
"contributing",
|
"contributing",
|
||||||
"faq"
|
"faq"
|
||||||
|
Loading…
Reference in New Issue
Block a user