← Back to Target domain

Target.detachFromTarget

Detaches session with given id.

Domain: Target stable

Parameters

NameTypeDescription
sessionId (optional)SessionIDSession to detach.
targetId (optional)TargetIDDeprecated.

Example Request

{
  "id": 1,
  "method": "Target.detachFromTarget"
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Target.detachFromTarget');
console.log(result);