MCPcopy Index your code
hub / github.com/microsoft/playwright-python / remove_locator_handler

Method remove_locator_handler

playwright/_impl/_page.py:1462–1470  ·  view source on GitHub ↗
(self, locator: "Locator")

Source from the content-addressed store, hash-verified

1460 pass
1461
1462 async def remove_locator_handler(self, locator: "Locator") -> None:
1463 for uid, data in self._locator_handlers.copy().items():
1464 if data.locator._equals(locator):
1465 del self._locator_handlers[uid]
1466 self._channel.send_no_reply(
1467 "unregisterLocatorHandler",
1468 None,
1469 {"uid": uid},
1470 )
1471
1472 async def requests(self) -> List[Request]:
1473 request_objects = await self._channel.send("requests", None)

Calls 4

copyMethod · 0.80
_equalsMethod · 0.80
send_no_replyMethod · 0.80
itemsMethod · 0.45

Tested by 2