MCPcopy Index your code
hub / github.com/microsoft/playwright-python / ExpectResponse

Class ExpectResponse

tests/server.py:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65
66class ExpectResponse(Generic[T]):
67 def __init__(self) -> None:
68 self._value: T
69
70 @property
71 def value(self) -> T:
72 if not hasattr(self, "_value"):
73 raise ValueError("no received value")
74 return self._value
75
76
77class TestServerRequest(http.Request):

Callers 2

expect_requestMethod · 0.85
expect_websocketMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected