diff --git a/requests_html.py b/requests_html.py index fab76a9..5e222a2 100644 --- a/requests_html.py +++ b/requests_html.py @@ -464,7 +464,7 @@ class HTML(BaseParser): """ async def _async_render(*, url: str, script: str = None, scrolldown, sleep: int, wait: float, reload, content: Optional[str], timeout: Union[float, int]): try: - browser = pyppeteer.launch(headless=True) + browser = pyppeteer.launch(headless=True, args=['--no-sandbox']) page = await browser.newPage() # Wait before rendering the page, to prevent timeouts.