Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add firefox-stable channel documentation #6328

Merged
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 41 additions & 1 deletion docs/src/browsers.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,47 @@ on when to opt into stable channels, refer to the [Google Chrome & Microsoft Edg
## Firefox

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, aka `firefox-stable`.
aslushnikov marked this conversation as resolved.
Show resolved Hide resolved

Using `firefox-stable` is a 2-steps process:

1. Installing `firefox-stable` with Playwright CLI.
```shell
aslushnikov marked this conversation as resolved.
Show resolved Hide resolved
$ npx 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

Expand Down