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

Method eval_on_selector

playwright/_impl/_frame.py:459–479  ·  view source on GitHub ↗
(
        self,
        selector: str,
        expression: str,
        arg: Serializable = None,
        strict: bool = None,
    )

Source from the content-addressed store, hash-verified

457 )
458
459 async def eval_on_selector(
460 self,
461 selector: str,
462 expression: str,
463 arg: Serializable = None,
464 strict: bool = None,
465 ) -> Any:
466 return parse_result(
467 await self._channel.send(
468 "evalOnSelector",
469 None,
470 locals_to_params(
471 dict(
472 selector=selector,
473 expression=expression,
474 arg=serialize_argument(arg),
475 strict=strict,
476 )
477 ),
478 )
479 )
480
481 async def eval_on_selector_all(
482 self,

Callers

nothing calls this directly

Calls 4

parse_resultFunction · 0.90
locals_to_paramsFunction · 0.90
serialize_argumentFunction · 0.90
sendMethod · 0.45

Tested by

no test coverage detected