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.
1 parent 850ee02 commit 6c916ceCopy full SHA for 6c916ce
1 file changed
docs/helpers/Playwright.md
@@ -88,6 +88,17 @@ Type: [object][6]
88
May include session cookies, auth tokens, localStorage and (if captured with
89
`grabStorageState({ indexedDB: true })`) IndexedDB data; treat as sensitive and do not commit.
90
91
+## createCustomSelectorEngine
92
+
93
+Creates a Playwright selector engine factory for a custom locator strategy.
94
95
+### Parameters
96
97
+* `name` **[string][9]** Strategy name for error messages
98
+* `func` **[Function][22]** The locator function (selector, root) => Element|Element[]
99
100
+Returns **[Function][22]** Selector engine factory
101
102
## handleRoleLocator
103
104
Handles role locator objects by converting them to Playwright's getByRole() API
0 commit comments