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

Method evaluate

playwright/_impl/_page.py:1537–1547  ·  view source on GitHub ↗
(self, expression: str, arg: Serializable = None)

Source from the content-addressed store, hash-verified

1535 return self._initializer["url"]
1536
1537 async def evaluate(self, expression: str, arg: Serializable = None) -> Any:
1538 return parse_result(
1539 await self._channel.send(
1540 "evaluateExpression",
1541 None,
1542 dict(
1543 expression=expression,
1544 arg=serialize_argument(arg),
1545 ),
1546 )
1547 )
1548
1549 async def evaluate_handle(
1550 self, expression: str, arg: Serializable = None

Callers

nothing calls this directly

Calls 3

parse_resultFunction · 0.90
serialize_argumentFunction · 0.90
sendMethod · 0.45

Tested by

no test coverage detected