← Back to Emulation domain

Emulation.setLocaleOverride

Overrides default host system locale with the specified one.

Domain: Emulation experimental

Parameters

NameTypeDescription
locale (optional)stringICU style C locale (e.g. "en_US"). If not specified or empty, disables the override and restores default host system locale.

Example Request

{
  "id": 1,
  "method": "Emulation.setLocaleOverride"
}

Example Response

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

Usage in Node.js

const result = await send('Emulation.setLocaleOverride');
console.log(result);