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

Function serialize_argument

playwright/_impl/_js_handle.py:207–210  ·  view source on GitHub ↗
(arg: Serializable = None)

Source from the content-addressed store, hash-verified

205
206
207def serialize_argument(arg: Serializable = None) -> Any:
208 handles: List[Channel] = []
209 value = serialize_value(arg, handles)
210 return dict(value=value, handles=handles)
211
212
213def parse_value(value: Any, refs: Optional[Dict[int, Any]] = None) -> Any:

Callers 15

dispatch_eventMethod · 0.90
eval_on_selectorMethod · 0.90
eval_on_selector_allMethod · 0.90
_expectMethod · 0.90
evaluateMethod · 0.90
evaluate_handleMethod · 0.90
dispatch_eventMethod · 0.90
eval_on_selectorMethod · 0.90
eval_on_selector_allMethod · 0.90
wait_for_functionMethod · 0.90
evaluateMethod · 0.90
evaluate_handleMethod · 0.90

Calls 1

serialize_valueFunction · 0.85

Tested by

no test coverage detected