public static Object getSDPMessage(WebDriver webDriver, String peerConnection, String type) throws KiteTestException {
    return ((JavascriptExecutor) webDriver).executeScript(getSDPMessageScript(peerConnection, type));
  }
Execute and return the requested SDP message

@param webDriver      used to execute command.
@param peerConnection the peer connection
@param type           offer or answer.

@return SDP object.
@throws KiteTestException the kite test exception
KITE-Framework/src/main/java/org/webrtc/kite/stats/StatsUtils.java