diff --git a/docs/src/api/params.md b/docs/src/api/params.md index 672f41285c..7ead65a993 100644 --- a/docs/src/api/params.md +++ b/docs/src/api/params.md @@ -607,7 +607,7 @@ Additional arguments to pass to the browser instance. The list of Chromium flags [here](http://peter.sh/experiments/chromium-command-line-switches/). ## browser-option-channel -- `channel` <[BrowserChannel]<"chrome"|"chrome-beta"|"chrome-dev"|"chrome-canary"|"msedge"|"msedge-beta"|"msedge-dev"|"msedge-canary"|"firefox-stable">> +- `channel` <[BrowserChannel]<"chrome"|"chrome-beta"|"chrome-dev"|"chrome-canary"|"msedge"|"msedge-beta"|"msedge-dev"|"msedge-canary">> Browser distribution channel. Read more about using [Google Chrome and Microsoft Edge](./browsers.md#google-chrome--microsoft-edge). diff --git a/docs/src/browsers.md b/docs/src/browsers.md index 2b914fde52..b5079ed017 100644 --- a/docs/src/browsers.md +++ b/docs/src/browsers.md @@ -24,54 +24,6 @@ on when to opt into stable channels, refer to the [Google Chrome & Microsoft Edg Playwright's Firefox version matches the recent [Firefox Beta](https://www.mozilla.org/en-US/firefox/channel/desktop/) build. -### Firefox-Stable - -Playwright team maintains a Playwright Firefox version that matches the latest Firefox Stable, a.k.a. `firefox-stable`. - -Using `firefox-stable` is a 2-steps process: - -1. Installing `firefox-stable` with Playwright CLI. - ```sh js - npx playwright install firefox-stable - ``` - - ```sh java - mvn exec:java -e -Dexec.mainClass=com.microsoft.playwright.CLI -Dexec.args="install firefox-stable" - ``` - - ```sh python - playwright install firefox-stable - ``` - -2. Using `firefox-stable` channel when launching browser. - ```js - const { firefox } = require('playwright'); - const browser = await firefox.launch({ - channel: 'firefox-stable' - }); - ``` - - ```java - import com.microsoft.playwright.*; - - public class Example { - public static void main(String[] args) { - try (Playwright playwright = Playwright.create()) { - BrowserType firefox = playwright.firefox(); - Browser browser = firefox.launch(new BrowserType.LaunchOptions().setChannel("firefox-stable")); - } - } - } - ``` - - ```python async - browser = await playwright.firefox.launch(channel="firefox-stable") - ``` - - ```python sync - browser = playwright.firefox.launch(channel="firefox-stable") - ``` - ## WebKit Playwright's WebKit version matches the recent WebKit trunk build, before it is used in Apple Safari and diff --git a/types/types.d.ts b/types/types.d.ts index 4834de590d..431238d567 100644 --- a/types/types.d.ts +++ b/types/types.d.ts @@ -7016,7 +7016,7 @@ export interface BrowserType { * Browser distribution channel. Read more about using * [Google Chrome and Microsoft Edge](https://playwright.dev/docs/browsers#google-chrome--microsoft-edge). */ - channel?: "chrome"|"chrome-beta"|"chrome-dev"|"chrome-canary"|"msedge"|"msedge-beta"|"msedge-dev"|"msedge-canary"|"firefox-stable"; + channel?: "chrome"|"chrome-beta"|"chrome-dev"|"chrome-canary"|"msedge"|"msedge-beta"|"msedge-dev"|"msedge-canary"; /** * Enable Chromium sandboxing. Defaults to `true`. @@ -7350,7 +7350,7 @@ export interface BrowserType { * Browser distribution channel. Read more about using * [Google Chrome and Microsoft Edge](https://playwright.dev/docs/browsers#google-chrome--microsoft-edge). */ - channel?: "chrome"|"chrome-beta"|"chrome-dev"|"chrome-canary"|"msedge"|"msedge-beta"|"msedge-dev"|"msedge-canary"|"firefox-stable"; + channel?: "chrome"|"chrome-beta"|"chrome-dev"|"chrome-canary"|"msedge"|"msedge-beta"|"msedge-dev"|"msedge-canary"; /** * Enable Chromium sandboxing. Defaults to `true`. @@ -11130,7 +11130,7 @@ export interface LaunchOptions { * Browser distribution channel. Read more about using * [Google Chrome and Microsoft Edge](https://playwright.dev/docs/browsers#google-chrome--microsoft-edge). */ - channel?: "chrome"|"chrome-beta"|"chrome-dev"|"chrome-canary"|"msedge"|"msedge-beta"|"msedge-dev"|"msedge-canary"|"firefox-stable"; + channel?: "chrome"|"chrome-beta"|"chrome-dev"|"chrome-canary"|"msedge"|"msedge-beta"|"msedge-dev"|"msedge-canary"; /** * Enable Chromium sandboxing. Defaults to `true`.