docs: locator handler type should be Runnable in java (#29503)

This commit is contained in:
Yury Semikhatsky 2024-02-14 19:21:28 -08:00 committed by GitHub
parent 93a2c00a1d
commit edc1c13f31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3332,11 +3332,18 @@ await page.GetByRole("button", new() { Name = "Start here" }).ClickAsync();
Locator that triggers the handler.
### param: Page.addLocatorHandler.handler
* langs: js, python, csharp
* since: v1.42
- `handler` <[function]>
Function that should be run once [`param: locator`] appears. This function should get rid of the element that blocks actions like click.
### param: Page.addLocatorHandler.handler
* langs: java
* since: v1.42
- `handler` <[Runnable]>
Function that should be run once [`param: locator`] appears. This function should get rid of the element that blocks actions like click.
## async method: Page.reload
* since: v1.8