@Test
  public void tagRSS_ie() throws InterruptedException {
    driver.get(
        "https://"
            + Constants.Alertname
            + ":"
            + Constants.Alertpass
            + "@www-qa.petfinder.com/user/login/");
    Thread.sleep(3000);
    Login page = new Login(driver);
    page.logIn();
    Thread.sleep(3000);
    driver.get(sURL);
    String URL = driver.getCurrentUrl();
    try {
      Assert.assertEquals(URL, sURL);
    } catch (Throwable t) {
      driver.get(sURL);
    }

    Thread.sleep(1320000);
    String newURL = driver.getCurrentUrl();
    try {
      Assert.assertEquals(newURL, eURL);
      System.out.println("Right page for...");
      System.out.println(sURL);
      System.out.println("Page redirected to " + newURL);
      System.out.println("");
    } catch (Throwable t) {
      System.out.println("Wrong page for...");
      System.out.println(sURL);
      System.out.println("Page redirected to " + newURL);
      System.out.println("");
    }
  }
 @Test
 public void tagRSS() throws InterruptedException {
   driver.get(
       "https://"
           + Constants.Alertname
           + ":"
           + Constants.Alertpass
           + "@www.petfinder.com/user/login/");
   Thread.sleep(3000);
   Login page = new Login(driver);
   page.logIn();
   Thread.sleep(3000);
   driver.get(sURL);
   String URL = driver.getCurrentUrl();
   try {
     Assert.assertEquals(URL, sURL);
   } catch (Throwable t) {
     driver.get(sURL);
   }
   Constants doThe = new Constants(driver);
   doThe.things(sURL, eURL, className);
 }
 @Test
 public void ecards_ff() throws InterruptedException {
   driver = new FirefoxDriver();
   driver.manage().window().setSize(new Dimension(900, 360));
   driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
   driver.get(
       "https://"
           + Constants.Alertname
           + ":"
           + Constants.Alertpass
           + "@www-qa.petfinder.com/user/login/");
   driver.manage().timeouts().implicitlyWait(3, TimeUnit.SECONDS);
   Login page = new Login(driver);
   page.logIn();
   driver.manage().timeouts().implicitlyWait(3, TimeUnit.SECONDS);
   driver.get(sURL);
   String URL = driver.getCurrentUrl();
   try {
     Assert.assertEquals(URL, sURL);
   } catch (Throwable t) {
     driver.get(sURL);
   }
   Thread.sleep(1380000);
   String newURL = driver.getCurrentUrl();
   try {
     Assert.assertEquals(newURL, eURL);
     System.out.println("Right page for...");
     System.out.println(sURL);
     System.out.println("Page redirected to " + newURL);
     System.out.println("");
   } catch (Throwable t) {
     System.out.println("Wrong page for...");
     System.out.println(sURL);
     System.out.println("Page redirected to " + newURL);
     System.out.println("");
   }
 }