code: public void waitForOperaIdle(long timeout) {
      logger.finest("idle: Waiting for (timeout = " + timeout + ")");
      waitState.waitForOperaIdle(timeout);
      logger.finest("idle: Finished waiting");
    }
docs: Waits for an OperaIdle event before continuing.
  
  If captureOperaIdle() has been called since the last call of waitForOperaIdle(), and one or
  more OperaIdle events have occurred then this function will return immediately.
  
  After calling this function the capturing of OperaIdle events is disabled until the next call
  of captureOperaIdle()
  
  @param timeout Time in milliseconds to wait before aborting