interface ComponentMappingSupport
This interface defines methods to easily map a WebElementinto a Component.
abstract fun <T : Component> WebElement.component(factory: (Page, WebElement) -> T): T
Create a new component with the given WebElement as its root element. abstract fun <T : Component> List<WebElement>.component(factory: (Page, WebElement) -> T): List<T>
Map the given collection of WebElement into a collection of com.github.epadronu.balin.core.Component. |
abstract class Component : ClickAndNavigateSupport, ComponentMappingSupport, JavaScriptSupport, SearchContext, WaitingSupport
A component is a reusable piece of functionality that can be shared among several pages, and which interaction can be performed independently of other pieces in the web page. |
|
abstract class Page : ClickAndNavigateSupport, ComponentMappingSupport, JavaScriptSupport, SearchContext, WaitingSupport
This class is the corner stone for Balin's implementation of the Page Object Design Pattern. All classes that model a Web page/view most extend this one. |