← Back to Tethering domain

Tethering.bind

Request browser port binding.

Domain: Tethering experimental

Parameters

NameTypeDescription
portintegerPort number to bind.

Example Request

{
  "id": 1,
  "method": "Tethering.bind",
  "params": {
    "port": 9222
  }
}

Example Response

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

Usage in Node.js

const result = await send('Tethering.bind', {"port": 9222});
console.log(result);