← Back to Target domain

Target.activateTarget

Activates (focuses) the target.

Domain: Target stable

Parameters

NameTypeDescription
targetIdTargetID

Example Request

{
  "id": 1,
  "method": "Target.activateTarget",
  "params": {
    "targetId": "TARGET_ID_HERE"
  }
}

Example Response

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

Usage in Node.js

const result = await send('Target.activateTarget', {"targetId": "TARGET_ID_HERE"});
console.log(result);