function tabView_openTab(aSpec) {
    var spec = aSpec || {};
    var group = spec.group;

    if (!group) {
      throw new Error(arguments.callee.name + ": Group not specified.");
    }

    var button = this.getElement({
      type: "group_newTabButton",
      value: group
    });

    this._controller.click(button);
    this.waitForClosed();
  }
function tabView_openTab(aSpec) {
    var spec = aSpec || {};
    var group = spec.group;

    if (!group) {
      throw new Error(arguments.callee.name + ": Group not specified.");
    }

    var button = this.getElement({
      type: "group_newTabButton",
      value: group
    });

    this._controller.click(button);
    this.waitForClosed();
  }
function tabView_openTab ( aSpec ) { var spec = aSpec || { } ; var group = spec . group ; if ( ! group ) { throw new Error ( arguments . callee . name + ": Group not specified." ) ; } var button = this . getElement ( { type : "group_newTabButton" , value : group } ) ; this . _controller . click ( button ) ; this . waitForClosed ( ) ; }
Open a new tab in the specified group

@param {object} aSpec
Information about the element to operate on
Elements: group - Group to create a new tab in
Open a new tab in the specified group