Skip to content

Commit 6c916ce

Browse files
committed
DOC: Autogenerate and update documentation
1 parent 850ee02 commit 6c916ce

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/helpers/Playwright.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,17 @@ Type: [object][6]
8888
May include session cookies, auth tokens, localStorage and (if captured with
8989
`grabStorageState({ indexedDB: true })`) IndexedDB data; treat as sensitive and do not commit.
9090

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+
91102
## handleRoleLocator
92103

93104
Handles role locator objects by converting them to Playwright's getByRole() API

0 commit comments

Comments
 (0)