setFocus

open fun setFocus(enable: Boolean)

Set or remove keyboard focus to/from the browser window.

Parameters

enable

set to true to give the focus to the browser