docs(ff): temporarily remove ff-stable reference (#6585)
This commit is contained in:
parent
5b223f92c8
commit
bc18529191
|
|
@ -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/).
|
[here](http://peter.sh/experiments/chromium-command-line-switches/).
|
||||||
|
|
||||||
## browser-option-channel
|
## 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).
|
Browser distribution channel. Read more about using [Google Chrome and Microsoft Edge](./browsers.md#google-chrome--microsoft-edge).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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/)
|
Playwright's Firefox version matches the recent [Firefox Beta](https://www.mozilla.org/en-US/firefox/channel/desktop/)
|
||||||
build.
|
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
|
## WebKit
|
||||||
|
|
||||||
Playwright's WebKit version matches the recent WebKit trunk build, before it is used in Apple Safari and
|
Playwright's WebKit version matches the recent WebKit trunk build, before it is used in Apple Safari and
|
||||||
|
|
|
||||||
6
types/types.d.ts
vendored
6
types/types.d.ts
vendored
|
|
@ -7016,7 +7016,7 @@ export interface BrowserType<Unused = {}> {
|
||||||
* Browser distribution channel. Read more about using
|
* Browser distribution channel. Read more about using
|
||||||
* [Google Chrome and Microsoft Edge](https://playwright.dev/docs/browsers#google-chrome--microsoft-edge).
|
* [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`.
|
* Enable Chromium sandboxing. Defaults to `true`.
|
||||||
|
|
@ -7350,7 +7350,7 @@ export interface BrowserType<Unused = {}> {
|
||||||
* Browser distribution channel. Read more about using
|
* Browser distribution channel. Read more about using
|
||||||
* [Google Chrome and Microsoft Edge](https://playwright.dev/docs/browsers#google-chrome--microsoft-edge).
|
* [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`.
|
* Enable Chromium sandboxing. Defaults to `true`.
|
||||||
|
|
@ -11130,7 +11130,7 @@ export interface LaunchOptions {
|
||||||
* Browser distribution channel. Read more about using
|
* Browser distribution channel. Read more about using
|
||||||
* [Google Chrome and Microsoft Edge](https://playwright.dev/docs/browsers#google-chrome--microsoft-edge).
|
* [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`.
|
* Enable Chromium sandboxing. Defaults to `true`.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue