This topic is locked

Hide tab by name

4/4/2017 8:44:01 AM
PHPRunner General questions
W
wpl author

@All,
using PHPRunner 9.7 build 28455, I'm trying to hide a tab not like documented in the manual:
var tabs = pageObj.getTabs();

tabs.hide(index);
but like this:
var tabs = pageObj.getTabs();

tabs.hide('mySpecialTab');
since index might be subject to change.
'mySpecialTab' is the name given in the "Totals" section of PHPRunner.
How would I start?
TIA