code: private long getWaitTimeMs(TestContext context) {
          if (StringUtils.hasText(seconds)) {
              return Long.valueOf(context.replaceDynamicContentInString(seconds)) * 1000;
          } else {
              return Long.valueOf(context.replaceDynamicContentInString(milliseconds));
          }
      }
docs: Gets total wait time in milliseconds. Either uses second time value or default milliseconds.
  @param context
  @return