Skip to content

Commit a3b1157

Browse files
committed
Logging all contexts when closing one
1 parent 88cc81e commit a3b1157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright/_impl/_browser_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ async def close(self, reason: str = None) -> None:
595595
if self._closing_or_closed:
596596
print("Context already closed", self)
597597
return
598-
print("Closing context", self)
598+
print(f"Closing context {self}, contexts: {self._browser._contexts}") # type: ignore
599599
self._close_reason = reason
600600
self._closing_or_closed = True
601601

0 commit comments

Comments
 (0)