code: public final void removeFromContext(final boolean enable, final On... ons) {
          for (final On on : ons) {
              if (On.TAB_CLOSE.equals(on)) {
                  removeFromBrowserContextOnTabClose = enable;
              } else if (On.INIT_REMOVE_PREVIOUS.equals(on)) {
                  removePrevFromBrowserContextOnTabInit = enable;
              }
          }
      }
docs: By default On.TAB_CLOSE and On.INIT_REMOVE_PREVIOUS are enabled.
  
  @param enable
  @param ons
  the instance of On to represent on which browser event
  the browser page needs to be removed.
  @since 2.1.4
  @author WFF