code: @Override
      public long getDelay() {
          long delayInMillis = (long) jsExecutor.executeScript(DELAY_CALCULATION_JS);
  
          if (delayInMillis < minDelayInMillis) {
              return minDelayInMillis;
          } else if (delayInMillis > maxDelayInMillis) {
              return maxDelayInMillis;
          }
  
          return delayInMillis;
      }
docs: Calculates the page loading time and returns the delay accordingly, between the specified
  min-max range. If the calculated delay is smaller than the minimum, it returns the minimum
  delay. If the calculated delay is higher than the maximum, it returns the maximum delay.
  
  @return the delay in milliseconds