diff --git a/requests_html.py b/requests_html.py index 48e7fb2..ce7096c 100644 --- a/requests_html.py +++ b/requests_html.py @@ -700,7 +700,7 @@ async def arender(self, retries: int = 8, script: str = None, wait: float = 0.2, if not content: raise MaxRetries("Unable to render the page. Try increasing timeout") - html = HTML(url=self.url, html=content.encode(DEFAULT_ENCODING), default_encoding=DEFAULT_ENCODING) + html = HTML(url=self.url, session=self.session, html=content.encode(DEFAULT_ENCODING), default_encoding=DEFAULT_ENCODING) self.__dict__.update(html.__dict__) self.page = page return result