If a browser was created close it first.
(self)
| 731 | return self._browser |
| 732 | |
| 733 | def close(self): |
| 734 | """ If a browser was created close it first. """ |
| 735 | if hasattr(self, "_browser"): |
| 736 | self.loop.run_until_complete(self._browser.close()) |
| 737 | super().close() |
| 738 | |
| 739 | |
| 740 | class AsyncHTMLSession(BaseSession): |
no outgoing calls