def set_web_lifecycle_state(state: str) -> dict:
    """Tries to update the web lifecycle state of the page.
    It will transition the page to the given state according to:
    https://github.com/WICG/web-lifecycle/

    Parameters
    ----------
    state: str
            Target lifecycle state

    **Experimental**
    """
    return {"method": "Page.setWebLifecycleState", "params": {"state": state}}