Share via


setBrowserMode method

Sets the browser mode.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

Syntax

var retval = DiagnosticsEmulation.setBrowserMode(browserMode);

Parameters

  • browserMode [in]
    Type: DOMString

  • result [out]
    Type: boolean

Return value

This method does not return a value.

See also

DiagnosticsEmulation