We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
elements()
1 parent 7e6c37a commit c57511bCopy full SHA for c57511b
docs/guide/browser/locators.md
@@ -908,7 +908,7 @@ These locators will always succeed:
908
page.getByText('Hello World').elements() // ✅ [HTMLElement]
909
page.getByText('World').elements() // ✅ [HTMLElement]
910
page.getByText('Hello', { exact: true }).elements() // ✅ [HTMLElement]
911
-page.getByText('Hello').element() // ✅ [HTMLElement, HTMLElement]
+page.getByText('Hello').elements() // ✅ [HTMLElement, HTMLElement]
912
page.getByText('Hello USA').elements() // ✅ []
913
```
914
0 commit comments