T - The frame type.public class BasicFrame<T extends Frame<T>> extends BasicElement<T> implements Frame<T>
| Constructor and Description |
|---|
BasicFrame() |
| Modifier and Type | Method and Description |
|---|---|
<E> E |
exportInnerElement(E element)
Proxies an element that lives inside this Frame, so that it can be used transparently even
outside the frame class.
|
<E> List<E> |
exportInnerElements(List<E> elements)
Proxies a list of elements that live inside this Frame, so that they can be used
transparently even outside the frame class.
|
<E> E |
findElement(Class<E> clazz,
org.openqa.selenium.By by)
Finds the first element within the current context using the given mechanism.
|
<E> List<E> |
findElements(Class<E> clazz,
org.openqa.selenium.By by)
Finds all elements within the current context using the given mechanism.
|
and, getAttribute, getCssValue, getId, getStyleClass, getTitle, isDisplayedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, getAttribute, getCssValue, getId, getStyleClass, getTitle, isDisplayedpublic <E> E exportInnerElement(E element)
FrameexportInnerElement in interface Frame<T extends Frame<T>>E - The type of the element.element - The element.public <E> List<E> exportInnerElements(List<E> elements)
FrameexportInnerElements in interface Frame<T extends Frame<T>>E - The type of the element.elements - The list of elements.public <E> E findElement(Class<E> clazz, org.openqa.selenium.By by)
WiseQueryfindElement in interface WiseQueryE - The type of the element.clazz - The class of the element. Must be either WebElement or a type annotated with
Field, Container or Frame. Will lookup for its implementation class following
ClasspathUtil.findImplementationClass(Class) rules.by - The locating mechanism to use.public <E> List<E> findElements(Class<E> clazz, org.openqa.selenium.By by)
WiseQueryfindElements in interface WiseQueryE - The type of the elements.clazz - The class of the elements. Must be either WebElement or a type annotated with
Field, Container or Frame. Will lookup for its implementation class following
ClasspathUtil.findImplementationClass(Class) rules.by - The locating mechanism to use.Copyright © 2013. All Rights Reserved.