Target.getTargetInfoReturns information about a target.
| Name | Type | Description |
|---|---|---|
targetId (optional) | TargetID |
| Name | Type | Description |
|---|---|---|
targetInfo | TargetInfo |
{
"id": 1,
"method": "Target.getTargetInfo"
}
{
"id": 1,
"result": {
"targetInfo": "targetInfo-value"
}
}
const result = await send('Target.getTargetInfo');
console.log(result);
// {"targetInfo": "targetInfo-value"}