← Back to Browser domain

Browser.setDockTile

Set dock tile details, platform-specific.

Domain: Browser experimental

Parameters

NameTypeDescription
badgeLabel (optional)string
image (optional)stringPng encoded image. (Encoded as a base64 string when passed over JSON)

Example Request

{
  "id": 1,
  "method": "Browser.setDockTile"
}

Example Response

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

Usage in Node.js

const result = await send('Browser.setDockTile');
console.log(result);