Close Method (BrowserWindow)

Action

Close a modal browser dialog, a tab of the browser, or the browser itself if it is the last tab (or IE6).

Syntax

browserWindow.Close()