docs: public WebDriver window(int index) {
      try {
        return Wait().until(windowToBeAvailableAndSwitchToIt(index));
      }
      catch (TimeoutException e) {
        throw new NoSuchWindowException("No window found with index: " + index, e);
      }
    }