public interface GrapheneElement extends org.openqa.selenium.WebElement, org.openqa.selenium.internal.Locatable, org.openqa.selenium.internal.WrapsElement
Interface for Graphene extensions of
Following methods are provided over the
GrapheneElementImpl is not intended for extension, do not subclass it. The
GrapheneElementImpl might become abstract class or interface in the future. It can't be final because then it couldn't be
proxied by Graphene.
|Modifier and Type||Method and Description|
Overriden version of
This method is alternative to
Returns true if this element is present in the page Note: WebDriver generally does not need this method since their elements are traditionally returned by calls as
clear, click, findElements, getAttribute, getCssValue, getLocation, getRect, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submit
Returns true if this element is present in the page
Note: WebDriver generally does not need this method since their elements are traditionally returned by calls as
SearchContext.findElement(By). However Graphene de-references elements in time of call, and the object exposed
publicly is just an proxy object. In that case we can call any method on that object which can lead into
NoSuchElementException. To prevent this behavior, you should first check that the element is present in the page
using this method.
List<GrapheneElement> findGrapheneElements(org.openqa.selenium.By by)
WebElement.findElements(By), but it returns list of type
GrapheneElement findElement(org.openqa.selenium.By by)
Copyright © 2016 JBoss by Red Hat. All rights reserved.