Example #1
0
 public static void SkipButton()
 {
     //To skip the alert
     //ExtendMethods.ButtonClick(Driver.driver, "XPath", "/html/body/div[5]/div/div[5]/a[1]");
     Thread.Sleep(1500);
     ExtendMethods.ButtonClick(Driver.driver, "XPath", "/html[1]/body[1]/div[1]/div[1]/div[2]/div[4]/i[1]");
     ExtendMethods.ButtonClick(Driver.driver, "XPath", "/html[1]/body[1]/div[1]/div[1]/div[2]/div[4]/div[1]/a[4]");
 }
Example #2
0
 public static void SignOutFromPage()
 {
     Thread.Sleep(2000);
     ExtendMethods.ButtonClick(Driver.driver, "XPath", "/html[1]/body[1]/div[1]/div[1]/div[2]/div[2]/i[1]");
     ExtendMethods.ButtonClick(Driver.driver, "XPath", "/html[1]/body[1]/div[1]/div[1]/div[2]/div[2]/div[1]/a[4]");
 }