docs(api): stock browsers for media codecs (#5352)
* docs(api): stock browsers for media codecs * Update docs/src/api/class-browsertype.md Co-authored-by: Max Schmitt <max@schmitt.mx> * Update docs/src/api/class-browsertype.md Co-authored-by: Max Schmitt <max@schmitt.mx> Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Родитель
3c657cbae6
Коммит
48a295dcf7
|
@ -93,7 +93,7 @@ browser = playwright.chromium.launch( # or "firefox" or "webkit".
|
|||
)
|
||||
```
|
||||
|
||||
> **Chromium-only** Playwright can also be used to control the Chrome browser, but it works best with the version of
|
||||
> **Chromium-only** Playwright can also be used to control the Google Chrome or Microsoft Edge browsers, but it works best with the version of
|
||||
Chromium it is bundled with. There is no guarantee it will work with any other version. Use [`option: executablePath`]
|
||||
option with extreme caution.
|
||||
>
|
||||
|
@ -101,11 +101,8 @@ option with extreme caution.
|
|||
[Chrome Canary](https://www.google.com/chrome/browser/canary.html) or
|
||||
[Dev Channel](https://www.chromium.org/getting-involved/dev-channel) build is suggested.
|
||||
>
|
||||
> In [`method: BrowserType.launch`] above, any mention of Chromium also applies to Chrome.
|
||||
>
|
||||
> See [`this article`](https://www.howtogeek.com/202825/what%E2%80%99s-the-difference-between-chromium-and-chrome/) for
|
||||
a description of the differences between Chromium and Chrome.
|
||||
[`This article`](https://chromium.googlesource.com/chromium/src/+/lkgr/docs/chromium_browser_vs_google_chrome.md)
|
||||
> Stock browsers like Google Chrome and Microsoft Edge are suitable for tests that require proprietary media codecs for video playback. See [this article](https://www.howtogeek.com/202825/what%E2%80%99s-the-difference-between-chromium-and-chrome/) for other differences between Chromium and Chrome.
|
||||
[This article](https://chromium.googlesource.com/chromium/src/+/lkgr/docs/chromium_browser_vs_google_chrome.md)
|
||||
describes some differences for Linux users.
|
||||
|
||||
### option: BrowserType.launch.headless
|
||||
|
|
Загрузка…
Ссылка в новой задаче