← Back to Target domain

Target.setRemoteLocations

Enables target discovery for the specified locations, when `setDiscoverTargets` was set to `true`.

Domain: Target experimental

Parameters

NameTypeDescription
locationsarrayList of remote locations.

Example Request

{
  "id": 1,
  "method": "Target.setRemoteLocations",
  "params": {
    "locations": []
  }
}

Example Response

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

Usage in Node.js

const result = await send('Target.setRemoteLocations', {"locations": []});
console.log(result);