Skip to content

Commit eef9817

Browse files
committed
DOC: Autogenerate and update documentation
1 parent aed9f0e commit eef9817

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

docs/helpers/Playwright.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,21 +90,14 @@ Type: [object][6]
9090
## handleRoleLocator
9191

9292
Handles role locator objects by converting them to Playwright's getByRole() API
93+
Accepts both raw objects ({role: 'button', text: 'Submit'}) and Locator-wrapped role objects.
9394
Returns elements array if role locator, null otherwise
9495

9596
### Parameters
9697

9798
* `context`  
9899
* `locator`  
99100

100-
## isRoleLocatorObject
101-
102-
Checks if a locator is a role locator object (e.g., {role: 'button', text: 'Submit', exact: true})
103-
104-
### Parameters
105-
106-
* `locator`  
107-
108101

109102

110103
#### Video Recording Customization

0 commit comments

Comments
 (0)