nit
This commit is contained in:
parent
e0588b7d85
commit
ba112d1e59
|
|
@ -628,7 +628,7 @@ DEBUG=pw:browser dotnet test
|
|||
|
||||
## Running headed
|
||||
|
||||
By default, Playwright launches browsers in headless mode. See in our [Running tests](./running-tests.md) guide how to run tests in headed mode.
|
||||
By default, Playwright launches browsers in headless mode. See in our [Running tests](./running-tests.md#run-tests-in-headed-mode) guide how to run tests in headed mode.
|
||||
|
||||
On Linux agents, headed execution requires [Xvfb](https://en.wikipedia.org/wiki/Xvfb) to be installed. Our [Docker image](./docker.md) and GitHub Action have Xvfb pre-installed. To run browsers in headed mode with Xvfb, add `xvfb-run` before the actual command.
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ Use the following command to run all tests.
|
|||
dotnet test
|
||||
```
|
||||
|
||||
### Run your tests in headed mode
|
||||
### Run tests in headed mode
|
||||
|
||||
Use the following command to run your tests in headed mode opening a browser window for each test.
|
||||
|
||||
|
|
|
|||
|
|
@ -85,6 +85,10 @@ See [here](./test-runners.md) for further details on how to run tests in paralle
|
|||
|
||||
See experimental [JUnit integration](./junit.md) to automatically initialize Playwright objects and more.
|
||||
|
||||
### Run tests in headed mode
|
||||
|
||||
If you prefer, you can run your tests in headed mode by using the `launch(new BrowserType.LaunchOptions().setHeadless(false))` option.
|
||||
|
||||
## What's Next
|
||||
|
||||
- [Debugging tests](./debug.md)
|
||||
|
|
|
|||
Loading…
Reference in a new issue