Skip to content

Commit f98555a

Browse files
authored
fix: index error on method get_dialog_message
1 parent fdf1d42 commit f98555a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydoll/browser/page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ async def get_dialog_message(self) -> str:
146146
"""
147147
if not await self.has_dialog():
148148
raise LookupError('No dialog present on the page')
149-
return self._connection_handler.dialog['message']
149+
return self._connection_handler.dialog['params']['message']
150150

151151
async def accept_dialog(self):
152152
"""

0 commit comments

Comments
 (0)