Class SeleniumWebPage

java.lang.Object
de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
Direct Known Subclasses:
AbstractAccountPage, AbstractPostBoxPage, BosLoginPage, SantanderLoginPage, TargoBankLoginPage

public class SeleniumWebPage extends Object
An basic web page
Author:
papa
  • Field Summary

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

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

    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 Details

    • driver

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

    • SeleniumWebPage

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

    • 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