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 1
1
** /Payload.ipa
2
2
** /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():
56
56
57
57
# Get all window handles
58
58
all_windows = driver .window_handles
59
-
59
+
60
60
print (f"Found { len (all_windows )} new windows to check: { all_windows } " )
61
-
61
+
62
62
# Find the window with email input
63
63
target_window = None
64
64
for window in all_windows :
@@ -72,12 +72,12 @@ def login():
72
72
except :
73
73
print (f"Email input not found in window: { window } , trying next..." )
74
74
continue
75
-
75
+
76
76
if not target_window :
77
77
print ("Could not find email input field in any window!" )
78
78
driver .quit ()
79
79
return
80
-
80
+
81
81
print ("Switch to the target window" )
82
82
driver .switch_to .window (target_window )
83
83
@@ -111,7 +111,8 @@ def login():
111
111
wait .until (EC .presence_of_element_located ((By .CSS_SELECTOR , 'h1[data-testid="checking_title"]' )))
112
112
print ("Connected to Passport!" )
113
113
114
- driver .quit ()
114
+ # Keep browser alive for Unity deep link redirect
115
+ # driver.quit()
115
116
116
117
def open_sample_app ():
117
118
product_name = get_product_name ()
You can’t perform that action at this time.
0 commit comments