Skip to content

Commit

Permalink
docs: update docs of no-raw-selector to include all usage of .locator()
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Aug 25, 2023
1 parent 7b9ec83 commit 84138cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/prefer-user-facing-locators.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Disallow using `page.locator` (`no-raw-selector`)
## Disallow using raw selectors (`no-raw-selector`)

Prefer using user-facing locators over `page.locator` to make tests more robust.
Prefer using user-facing locators over raw selectors to make tests more robust.

Check out the [Playwright documentation](https://playwright.dev/docs/locators)
for more information.
Expand Down

0 comments on commit 84138cc

Please sign in to comment.