Class AbstractComponent

  • All Implemented Interfaces:
    org.jboss.arquillian.graphene.GrapheneElement, org.jboss.arquillian.graphene.GrapheneElementAction, org.openqa.selenium.interactions.internal.Locatable, org.openqa.selenium.internal.WrapsElement, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement
    Direct Known Subclasses:
    AbstractInputComponent, AccordionPanel, CommandButton, Link, Messages, Panel

    public abstract class AbstractComponent
    extends Object
    implements org.jboss.arquillian.graphene.GrapheneElement
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.openqa.selenium.WebDriver driver  
      protected org.jboss.arquillian.graphene.GrapheneElement root  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getId()  
      org.jboss.arquillian.graphene.GrapheneElement getRoot()  
      protected String getWidgetByIdScript()  
      • Methods inherited from interface org.jboss.arquillian.graphene.GrapheneElement

        findElement, findGrapheneElements, isPresent
      • Methods inherited from interface org.jboss.arquillian.graphene.GrapheneElementAction

        doubleClick, writeIntoElement
      • Methods inherited from interface org.openqa.selenium.interactions.internal.Locatable

        getCoordinates
      • Methods inherited from interface org.openqa.selenium.TakesScreenshot

        getScreenshotAs
      • Methods inherited from interface org.openqa.selenium.WebElement

        clear, click, findElements, getAttribute, getCssValue, getLocation, getRect, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submit
      • Methods inherited from interface org.openqa.selenium.internal.WrapsElement

        getWrappedElement
    • Field Detail

      • driver

        protected org.openqa.selenium.WebDriver driver
      • root

        protected org.jboss.arquillian.graphene.GrapheneElement root
    • Constructor Detail

      • AbstractComponent

        public AbstractComponent()
    • Method Detail

      • getRoot

        public org.jboss.arquillian.graphene.GrapheneElement getRoot()
      • getId

        public String getId()
      • getWidgetByIdScript

        protected String getWidgetByIdScript()