Share this page

CloseAllTabs Method
Closes all tabs (if any) and closes the browser window.
Remarks

Use the Close method to close only the currently open tab.

Limitation: Your Internet Explorer (IE) browser must be configured to "Always close all tabs". To do this, open two or more tabs in IE. Then close IE. In the message box that pops up, select the "Always close all tabs" option.

Note: This method is not supported on Chrome. Use the Close method instead.

C# Syntax

    void CloseAllTabs()

Tips to improve your search results... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: