diff --git a/stagehand/page.py b/stagehand/page.py index 300d7b2..2b67d35 100644 --- a/stagehand/page.py +++ b/stagehand/page.py @@ -399,7 +399,7 @@ async def screenshot(self, options: Optional[dict] = None) -> str: return result else: - return await self._page.screenshot(options) + return await self._page.screenshot(**payload) # Method to get or initialize the persistent CDP client async def get_cdp_client(self) -> CDPSession: