We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad9087a commit 2e4e81bCopy full SHA for 2e4e81b
playwright/_impl/_cdp_session.py
@@ -26,7 +26,7 @@ def __init__(
26
self._channel.on("event", lambda params: self._on_event(params))
27
28
def _on_event(self, params: Any) -> None:
29
- self.emit(params["method"], params["params"])
+ self.emit(params["method"], params.get("params"))
30
31
async def send(self, method: str, params: Dict = None) -> Dict:
32
return await self._channel.send("send", locals_to_params(locals()))
0 commit comments