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 f9440f3 commit 564361eCopy full SHA for 564361e
seleniumbase/masterqa/master_qa.py
@@ -128,7 +128,7 @@ def manual_page_check(self, *args):
128
def wait_for_special_alert_absent(self, timeout=MAX_IDLE_TIME_BEFORE_QUIT):
129
for x in range(int(timeout * 20)):
130
try:
131
- alert = self.driver.switch_to_alert()
+ alert = self.driver.switch_to.alert
132
dummy_variable = alert.text # Raises exception if no alert
133
if "?" not in dummy_variable:
134
return
0 commit comments