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 2e814fd commit 07a58e5Copy full SHA for 07a58e5
docs/helpers/Playwright.md
@@ -81,6 +81,7 @@ Type: [object][6]
81
* `highlightElement` **[boolean][26]?** highlight the interacting elements. Default: false. Note: only activate under verbose mode (--verbose).
82
* `recordHar` **[object][6]?** record HAR and will be saved to `output/har`. See more of [HAR options][3].
83
* `testIdAttribute` **[string][9]?** locate elements based on the testIdAttribute. See more of [locate by test id][49].
84
+* `customLocatorStrategies` **[object][6]?** custom locator strategies. An object with keys as strategy names and values as JavaScript functions. Example: `{ byRole: (selector, root) => { return root.querySelector(`[role="${selector}"]`) } }`
85
86
87
0 commit comments