File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 11** /Payload.ipa
22** /logFile.log
3- ** /local.log
3+ ** /local.log
4+ venv /
Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ def login():
5656
5757 # Get all window handles
5858 all_windows = driver .window_handles
59-
59+
6060 print (f"Found { len (all_windows )} new windows to check: { all_windows } " )
61-
61+
6262 # Find the window with email input
6363 target_window = None
6464 for window in all_windows :
@@ -72,12 +72,12 @@ def login():
7272 except :
7373 print (f"Email input not found in window: { window } , trying next..." )
7474 continue
75-
75+
7676 if not target_window :
7777 print ("Could not find email input field in any window!" )
7878 driver .quit ()
7979 return
80-
80+
8181 print ("Switch to the target window" )
8282 driver .switch_to .window (target_window )
8383
@@ -111,7 +111,8 @@ def login():
111111 wait .until (EC .presence_of_element_located ((By .CSS_SELECTOR , 'h1[data-testid="checking_title"]' )))
112112 print ("Connected to Passport!" )
113113
114- driver .quit ()
114+ # Keep browser alive for Unity deep link redirect
115+ # driver.quit()
115116
116117def open_sample_app ():
117118 product_name = get_product_name ()
You can’t perform that action at this time.
0 commit comments