balin / com.github.epadronu.balin.core / ClickAndNavigateSupport

ClickAndNavigateSupport

interface ClickAndNavigateSupport

This interface defines a method to click on an element and tell the browser it will navigate to a different page as consequence of such action.

Functions

click

abstract fun <T : Page> WebElement.click(factory: (Browser) -> T): T

Click on an element and tells the browser it will navigate to the given page as consequence of such action.

Inheritors

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.

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.