public static RTCStats getPCStatOnce(WebDriver webDriver, String peerConnection, int batchId, String platform) throws KiteTestException {
    return getPCStatOnce(webDriver, peerConnection, null, batchId, platform);
  }
Stashes stats into a global variable and collects them 1s after

@param webDriver      used to execute command.
@param peerConnection the peer connection

@return String. pc stat once
@throws KiteTestException the KITE test exception
KITE-Framework/src/main/java/org/webrtc/kite/stats/StatsUtils.java