mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: fix some typo (#28450)
This commit is contained in:
parent
607a243380
commit
ac846c1632
@ -133,7 +133,7 @@ To debug a specific test from the line number where the `test(..` is defined, ad
|
||||
npx playwright test example.spec.ts:10 --debug
|
||||
```
|
||||
|
||||
While debugging you can use the Pick Locator button to select an element on the page and see the locator that Playwright would use to find that element. You an also edit the locator and see it highlighting live on the Browser window. Use the Copy Locator button to copy the locator to your clipboard and then paste it into you test.
|
||||
While debugging you can use the Pick Locator button to select an element on the page and see the locator that Playwright would use to find that element. You can also edit the locator and see it highlighting live on the Browser window. Use the Copy Locator button to copy the locator to your clipboard and then paste it into your test.
|
||||
|
||||

|
||||
|
||||
|
@ -129,7 +129,7 @@ pytest -s -k test_get_started_link
|
||||
|
||||
This command will open up a Browser window as well as the Playwright Inspector. You can use the step over button at the top of the inspector to step through your test. Or press the play button to run your test from start to finish. Once the test has finished, the browser window will close.
|
||||
|
||||
While debugging you can use the Pick Locator button to select an element on the page and see the locator that Playwright would use to find that element. You an also edit the locator and see it highlighting live on the Browser window. Use the Copy Locator button to copy the locator to your clipboard and then paste it into you test.
|
||||
While debugging you can use the Pick Locator button to select an element on the page and see the locator that Playwright would use to find that element. You can also edit the locator and see it highlighting live on the Browser window. Use the Copy Locator button to copy the locator to your clipboard and then paste it into your test.
|
||||
|
||||

|
||||
|
||||
|
@ -37,7 +37,7 @@ export default defineConfig({
|
||||
|
||||
To learn more about available options to record a trace check out our detailed guide on [Trace Viewer](/trace-viewer.md).
|
||||
|
||||
Traces are normally run in a Continuous Integration(CI) environment, because locally you can use [UI Mode](/test-ui-mode.md) for developing and debugging tests. However should you want to run traces locally without using [UI Mode](/test-ui-mode.md), you can force tracing to be on with `--trace on`.
|
||||
Traces are normally run in a Continuous Integration(CI) environment, because locally you can use [UI Mode](/test-ui-mode.md) for developing and debugging tests. However, if you want to run traces locally without using [UI Mode](/test-ui-mode.md), you can force tracing to be on with `--trace on`.
|
||||
|
||||
```bash
|
||||
npx playwright test --trace on
|
||||
|
Loading…
x
Reference in New Issue
Block a user