We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a02f10b commit b23a29cCopy full SHA for b23a29c
1 file changed
playwright/_impl/_transport.py
@@ -210,7 +210,9 @@ async def wait_until_stopped(self) -> None:
210
async def connect(self) -> None:
211
try:
212
self._connection = await websocket_connect(
213
- self.ws_endpoint, extra_headers=self.headers
+ self.ws_endpoint,
214
+ extra_headers=self.headers,
215
+ max_size=256 * 1024 * 1024, # 256Mb
216
)
217
except Exception as exc:
218
self.on_error_future.set_exception(Error(f"websocket.connect: {str(exc)}"))
0 commit comments