Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Tabs/Sections Javascript API > Tabs methods

Tabs API: hide

Scroll Prev Next More

 

Hides the n-th tab (zero-based).

Syntax

hide(n)

Arguments

n

a zero-based index of the tab.

Return value

No return value.

Example

Hides the third tab.

 

var tabs = pageObj.getTabs();
tabs.hide(2);

See also:

RunnerPage object: getTabs

Tabs API: show

JavaScript API: RunnerPage object > hideField()

RunnerPage class: hideField()

About Tabs/Sections API