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

Function to_impl

playwright/_impl/_helper.py:549–552  ·  view source on GitHub ↗
(obj: T)

Source from the content-addressed store, hash-verified

547
548
549def to_impl(obj: T) -> T:
550 if hasattr(obj, "_impl_obj"):
551 return cast(Any, obj)._impl_obj
552 return obj
553
554
555def object_to_array(obj: Optional[Dict]) -> Optional[List[NameValue]]:

Callers 4

fetchMethod · 0.90
locatorMethod · 0.90
locatorMethod · 0.90
new_cdp_sessionMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected