You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### 2. Install a browser for Playwright tests (e.g., Firefox)
231
+
232
+
Playwright supports several browsers including `firefox`, `chromium`, `webkit`, and `chrome`. You can install a specific browser like Firefox using:
233
+
234
+
```console
235
+
npx playwright install firefox
236
+
```
237
+
238
+
> **Note:**
239
+
> You can install all supported browsers with `npx playwright install`, but be aware that each browser download is over 100MB. To save space and time, install only the browsers you need.
240
+
> In GitHub Actions hosted runners, Chrome is pre-installed, and you might also be able to use your local Chrome installation.
241
+
242
+
---
243
+
244
+
### 3. Run tests against your local site
245
+
246
+
By default, Playwright tests run against [https://git-scm.com/](https://git-scm.com/). To test your local changes, run a local server (e.g., on `http://localhost:5000/`) and then run the tests targeting it:
247
+
248
+
```console
249
+
PLAYWRIGHT_TEST_URL='http://localhost:5000/' npx playwright test --project=firefox
250
+
```
251
+
252
+
You can also run specific tests matching a pattern using `-g <regex>` for more fine-grained testing.
253
+
254
+
---
255
+
256
+
## Content Updates
257
+
258
+
### Manual Pages
259
+
260
+
1. Install Ruby prerequisites:
261
+
262
+
```console
263
+
bundler install
264
+
```
265
+
266
+
2. Build manual pages from a local Git clone:
267
+
268
+
```console
269
+
ruby ./script/update-docs.rb /path/to/git/.git en
270
+
```
271
+
272
+
To build for a specific version:
273
+
274
+
```console
275
+
version=v2.23.0
276
+
REBUILD_DOC=$version ruby ./script/update-docs.rb /path/to/git/.git en
0 commit comments