Ejemplo n.º 1
0
 public static void ClickSigninBtn(RemoteWebDriver driver)
 {
     Selenide.BrowserBack(driver);
     //"Click Sign in from the navigation bar"
     Selenide.Wait(driver, 5, true);
     Selenide.ScrollToElement(driver, Util.GetLocator("Signin_btn"));
     Selenide.Click(driver, Util.GetLocator("Signin_btn"));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Browser back
 /// </summary>
 /// <param name="Driver">Initialized RemoteWebDriver instance</param>
 /// <param name="location">Location to navigate</param>
 public static void ClickBackBrowser(RemoteWebDriver driver, Iteration reporter)
 {
     Selenide.BrowserBack(driver);
     System.Threading.Thread.Sleep(5000);
 }