We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ebad88 commit 9351e9aCopy full SHA for 9351e9a
pages/screening_subject_search/record_diagnosis_date_page.py
@@ -30,10 +30,11 @@ def click_save_button(self) -> None:
30
31
def get_alert_message(self) -> str:
32
"""
33
- Retrieves the visible alert message from the page, if any.
+ Retrieve the visible alert message from the page, if any.
34
+
35
Returns:
- str: The inner text of the alert element if it's visible;
36
- otherwise, an empty string.
+ str: The inner text of the alert element if it's visible;
37
+ otherwise, an empty string.
38
39
self.alert_message = self.page.get_by_role("alert")
40
if self.alert_message.is_visible():
0 commit comments