diff --git a/README.md b/README.md index 5a9ba1c4..a9ce0da4 100644 --- a/README.md +++ b/README.md @@ -282,7 +282,7 @@ Example: ```python from playwright.async_api import Dialog -async def handle_dialog(self, dialog: Dialog) -> None: +async def handle_dialog(dialog: Dialog) -> None: logging.info(f"Handled dialog with message: {dialog.message}") await dialog.dismiss()