Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs(test-runners): improve slowmo param for python (#22669)
Doug Harrisbbf8d3311392
diff --git a/docs/src/test-runners-python.md b/docs/src/test-runners-python.mdindex 57dca949f8..a37f13987b 100644--- a/docs/src/test-runners-python.md+++ b/docs/src/test-runners-python.md@@ -27,7 +27,7 @@ addopts = --headed --browser firefox- `--headed`: Run tests in headed mode (default: headless).- `--browser`: Run tests in a different browser `chromium`, `firefox`, or `webkit`. It can be specified multiple times (default: `chromium`).- `--browser-channel` [Browser channel](./browsers.md) to be used.-- `--slowmo` Run tests with slow mo.+- `--slowmo` Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on (default: 0).- `--device` [Device](./emulation.md) to be emulated.- `--output` Directory for artifacts produced by tests (default: `test-results`).- `--tracing` Whether to record a [trace](./trace-viewer.md) for each test. `on`, `off`, or `retain-on-failure` (default: `off`).@@ -99,6 +99,8 @@ Run tests with slow mo with the `--slowmo` argument.pytest --slowmo 100```+Slows down Playwright operations by 100 milliseconds.+### Skip test by browser```py