Gets the text of the Alert.
(self)
| 54 | |
| 55 | @property |
| 56 | def text(self) -> str: |
| 57 | """Gets the text of the Alert.""" |
| 58 | return self.driver.execute(Command.W3C_GET_ALERT_TEXT)["value"] |
| 59 | |
| 60 | def dismiss(self) -> None: |
| 61 | """Dismisses the alert available.""" |