def set_node_stack_traces_enabled(enable: bool) -> dict:
    """Sets if stack traces should be captured for Nodes. See `Node.getNodeStackTraces`. Default is disabled.

    Parameters
    ----------
    enable: bool
            Enable or disable.

    **Experimental**
    """
    return {"method": "DOM.setNodeStackTracesEnabled", "params": {"enable": enable}}