Close Tab

Closes the browser's active tab or all of its tabs. The active tab is the selected tab in the most recently used browser window (the window most recently focused or opened, or the window in which PAW Robot most recently opened or selected a tab). If no tab to close is found, the activity finishes without an error. If the "RPA WORK - PAW Robot" extension is not installed and connected in the browser, the activity throws an error.


⬅️INPUT

Parameter

Type

Required

Description

Browser

BrowserType

❌ No

The browser whose tab is closed: Chrome or Edge. Default: Chrome.

CloseAll

Boolean

❌ No

If True, all tabs in all windows of the browser are closed; if False, only the active tab is closed. Default: False.