INNER CODE UNIT · Python

stop_noop

feder-cr/invisible_playwright · src/invisible_playwright/_juggler/server.py:134

    def stop_noop(self, params: Dict) -> Any:
        # ⛔ These two answer instead of refusing because `close()` calls them
        # on the way out: refusing here would turn every clean shutdown into an
        # error about a feature the caller never asked for.
        return {"artifact": None}


class DebuggerDispatcher(RefusingDispatcher):
    TYPE = "Debugger"
    REASON = "the inspector and its paused state are not part of this fork"


class APIRequestContextDispatcher(RefusingDispatcher):
    TYPE = "APIRequestContext"
    REASON = ("APIRequestContext performs HTTP outside the page, which is not "
              "browser automation and carries none of the browser fingerprint")
    METHODS = {"dispose": "dispose_self"}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…