Skip to content

DesktopCdpTransport.getOwnedInstanceEndpoint method

DesktopCdpTransport › getOwnedInstanceEndpoint

Returns the CDP endpoint of the owned, launched instance so the global setup can hand it to test workers (which then **attach** to it instead of launching their own). Returns undefined when this transport is not an owned instance, or its instance has not been launched yet.

Signature:

getOwnedInstanceEndpoint(): OwnedInstanceEndpoint | undefined

Returns: OwnedInstanceEndpoint | undefinedThe owned instance's CDP host and port, or undefined.