BrowserApplication.
Returns the number of available tabs.
iTab = browser.GetTabCount()
| Variable | Description |
|---|---|
| iTab | The number of available tabs. INTEGER. |
GetTabCount returns the number of available tabs in the browser.
When several tabs are open, Internet Explorer only displays some of the tabs and scroll buttons. As a result, GetTabCount only returns the number of currently visible tabs.
Verify(browser.GetTabCount(), 4)