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

Method __exit__

playwright/_impl/_sync_base.py:143–149  ·  view source on GitHub ↗
(
        self,
        exc_type: Optional[Type[BaseException]],
        exc_val: Optional[BaseException],
        _traceback: Optional[TracebackType],
    )

Source from the content-addressed store, hash-verified

141 return self
142
143 def __exit__(
144 self,
145 exc_type: Optional[Type[BaseException]],
146 exc_val: Optional[BaseException],
147 _traceback: Optional[TracebackType],
148 ) -> None:
149 self.close()
150
151 def close(self) -> None: ...

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected