Class SeleniumWebPage

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.openqa.selenium.WebDriver driver
      Selenium web driver
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SeleniumWebPage​(org.openqa.selenium.WebDriver driver)
      Creates a new basic web page.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean elementExist​(org.openqa.selenium.By byId)
      checks if an element identified by By exits
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • driver

        protected final org.openqa.selenium.WebDriver driver
        Selenium web driver
    • Constructor Detail

      • SeleniumWebPage

        protected SeleniumWebPage​(org.openqa.selenium.WebDriver driver)
        Creates a new basic web page.
        Parameters:
        driver - the Selenium driver for this web page
    • Method Detail

      • elementExist

        protected boolean elementExist​(org.openqa.selenium.By byId)
        checks if an element identified by By exits
        Parameters:
        byId - the element to search for
        Returns:
        truer in case the element exists, false else