INNER CODE UNIT · Python

DebuggerDispatcher

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

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"}

    def dispose_self(self, params: Dict) -> Any:
        self.dispose()
        return None


# ── handles ─────────────────────────────────────────────────────────────────
#: What `_retry` prints when an action on a handle times out. The loop takes a

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…