GetTabCount Method (BrowserApplication)

Action

Returns the number of open tabs. When several tabs are open, Internet Explorer only displays some of the tabs and scroll buttons. As a result, this method only returns the number of currently visible tabs. This method is not supported for mobile web applications.

Syntax

C#
tabCount = webBrowser.GetTabCount()
VB
tabCount = webBrowser.GetTabCount()
Variable Description
tabCount Integer.