Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/microsoft/playwright-python
/ _handler
Function
_handler
tests/async/test_page_add_locator_handler.py:291–293 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
289
called = 0
290
291
def
_handler() -> None:
292
nonlocal called
293
called += 1
294
295
await page.add_locator_handler(
296
page.locator(
"body"
), _handler, no_wait_after=True, times=2
Callers
nothing calls this directly
Calls
3
click
Method · 0.45
wait_for
Method · 0.45
locator
Method · 0.45
Tested by
no test coverage detected