Package de.bmiag.tapir.htmlbasic.impl
Class DefaultSeleniumButton
- java.lang.Object
-
- de.bmiag.tapir.selenium.element.AbstractSingleSeleniumElement
-
- de.bmiag.tapir.htmlbasic.impl.DefaultSeleniumButton
-
- All Implemented Interfaces:
Button
,SingleWebElementBased
,Clickable
,Displayable
,Enabable
,TapirElement
@Component("tapirButton") @Scope("prototype") public class DefaultSeleniumButton extends AbstractSingleSeleniumElement implements Button
Default Selenium implementation of aButton
.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description DefaultSeleniumButton()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
click()
Click this element.boolean
isDisplayed()
Returns true, if the element is displayed.boolean
isEnabled()
Returns true, if the element is enabled.-
Methods inherited from class de.bmiag.tapir.selenium.element.AbstractSingleSeleniumElement
getWebElement, setWebElement
-
-
-
-
Method Detail
-
isDisplayed
public boolean isDisplayed()
Description copied from interface:Displayable
Returns true, if the element is displayed. "Displayed" means it has to be part of the dom and it is not hidden using css.- Specified by:
isDisplayed
in interfaceDisplayable
- Returns:
- true, if the element is displayed.
-
click
public void click()
Description copied from interface:Clickable
Click this element.
-
-