Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/microsoft/playwright-python
/ _handler
Function
_handler
tests/sync/test_page_add_locator_handler.py:287–289 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
285
called = 0
286
287
def
_handler() -> None:
288
nonlocal called
289
called += 1
290
291
page.add_locator_handler(
292
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