Skip to content

Commit f39ea1f

Browse files
committed
Fix jconfirm dialog boxes in MasterQA Mode
1 parent ae26113 commit f39ea1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

seleniumbase/masterqa/master_qa.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ def __manual_page_check(self, *args):
191191
get_jqc = None
192192
try:
193193
get_jqc = self.execute_script("return jconfirm")
194-
get_jqc = get_jqc["instances"]
194+
if get_jqc is None:
195+
raise Exception("jconfirm did not load")
195196
use_jqc = True
196197
except Exception:
197198
use_jqc = False

0 commit comments

Comments
 (0)