File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 36
36
"source" : " local" ,
37
37
"dependencies" : {
38
38
"com.unity.nuget.newtonsoft-json" : " 3.2.0" ,
39
- "com.cysharp.unitask" : " 2.3.3"
39
+ "com.cysharp.unitask" : " 2.3.1" ,
40
+ "com.unity.modules.unitywebrequest" : " 1.0.0" ,
41
+ "com.unity.modules.jsonserialize" : " 1.0.0" ,
42
+ "com.unity.modules.androidjni" : " 1.0.0"
40
43
}
41
44
},
42
45
"com.unity.ai.navigation" : {
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def login():
65
65
try :
66
66
print (f"Checking window: { window } " )
67
67
driver .switch_to .window (window )
68
- driver .find_element (By .ID , ':r1: ' )
68
+ driver .find_element (By .CSS_SELECTOR , '[data-testid="TextInput__input"] ' )
69
69
target_window = window
70
70
print (f"Found email input in window: { window } " )
71
71
break
@@ -84,7 +84,7 @@ def login():
84
84
wait = WebDriverWait (driver , 60 )
85
85
86
86
print ("Wait for email input..." )
87
- email_field = wait .until (EC .presence_of_element_located ((By .ID , ':r1: ' )))
87
+ email_field = wait .until (EC .presence_of_element_located ((By .CSS_SELECTOR , '[data-testid="TextInput__input"] ' )))
88
88
print ("Enter email..." )
89
89
email_field .send_keys (EMAIL )
90
90
email_field .send_keys (Keys .RETURN )
You can’t perform that action at this time.
0 commit comments