def METHOD_NAME(args: List[str]) -> dict:
    """Executes the Selenium Manager Binary.
    :Args:
     - args: the components of the command being executed.
    :Returns: The log string containing the driver location.
    """
    if logger.getEffectiveLevel() == logging.DEBUG:
        args.append("--debug")
    args.append("--output")
    args.append("json")
    command = " ".join(args)
    logger.debug(f"Executing process: {command}")
    try:
        if sys.platform == "win32":
            completed_proc = subprocess.METHOD_NAME(args, capture_output=True, creationflags=subprocess.CREATE_NO_WINDOW)
        else:
            completed_proc = subprocess.METHOD_NAME(args, capture_output=True)
        stdout = completed_proc.stdout.decode("utf-8").rstrip("\n")
        stderr = completed_proc.stderr.decode("utf-8").rstrip("\n")
        output = json.loads(stdout)
        result = output["result"]
    except Exception as err:
        raise WebDriverException(f"Unsuccessful command executed: {command}") from err
    for item in output["logs"]:
        if item["level"] == "WARN":
            logger.warning(item["message"])
        if item["level"] == "DEBUG" or item["level"] == "INFO":
            logger.debug(item["message"])
    if completed_proc.returncode:
        raise WebDriverException(f"Unsuccessful command executed: {command}.\n{result}{stderr}")
    return result