diff --git a/docs/src/selectors.md b/docs/src/selectors.md index b68971de9d..bb7de8d012 100644 --- a/docs/src/selectors.md +++ b/docs/src/selectors.md @@ -254,7 +254,7 @@ Text selector has a few variations: await page.Locator("text=Log in").ClickAsync(); ``` -- `text="Log in"` - text body can be escaped with single or double quotes to search for a text node with exact content. For example, `text="Log"` does not match `` because ``, because `` because ``, because ``. Quoted body follows the usual escaping rules, e.g. use `\"` to escape double quote in a double-quoted string: `text="foo\"bar"`.