feat(wait): allow waiting for given text (#390)
Fixes https://github.com/microsoft/playwright-mcp/issues/389
This commit is contained in:
parent
65716b60dd
commit
c28b480b51
4 changed files with 124 additions and 12 deletions
10
README.md
10
README.md
|
|
@ -518,11 +518,13 @@ X Y coordinate space, based on the provided screenshot.
|
|||
|
||||
<!-- NOTE: This has been generated via update-readme.js -->
|
||||
|
||||
- **browser_wait**
|
||||
- Title: Wait
|
||||
- Description: Wait for a specified time in seconds
|
||||
- **browser_wait_for**
|
||||
- Title: Wait for
|
||||
- Description: Wait for text to appear or disappear or a specified time to pass
|
||||
- Parameters:
|
||||
- `time` (number): The time to wait in seconds
|
||||
- `time` (number, optional): The time to wait in seconds
|
||||
- `text` (string, optional): The text to wait for
|
||||
- `textGone` (string, optional): The text to wait for to disappear
|
||||
- Read-only: **true**
|
||||
|
||||
<!-- NOTE: This has been generated via update-readme.js -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue