MCPcopy Index your code
hub / github.com/psf/requests-html / close

Method close

requests_html.py:761–765  ·  view source on GitHub ↗

If a browser was created close it first.

(self)

Source from the content-addressed store, hash-verified

759 return self.loop.run_in_executor(self.thread_pool, func)
760
761 async def close(self):
762 """ If a browser was created close it first. """
763 if hasattr(self, "_browser"):
764 await self._browser.close()
765 super().close()
766
767 def run(self, *coros):
768 """ Pass in all the coroutines you want to run, it will wrap each one

Callers 1

Calls 1

closeMethod · 0.45

Tested by 1