mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Replaced sleep with WebDriverAwait in AppHelper Login
This commit is contained in:
@@ -69,7 +69,7 @@ public static class AppHelper
|
||||
password.SendKeys("Test1234.");
|
||||
IWebElement submit = driver.FindElement(By.CssSelector("button[type=\"submit\"]"));
|
||||
submit.Click();
|
||||
Thread.Sleep(250);
|
||||
Timeout(driver).Until(ExpectedConditions.UrlContains("/Home/Index"));
|
||||
}
|
||||
|
||||
public static bool TryRetryFindSuccessToast(ChromeDriver driver)
|
||||
|
||||
Reference in New Issue
Block a user