public class ActionWebDriverSubStepImplementations extends AbstractWebDriverSubStepImplementations
| Constructor and Description |
|---|
ActionWebDriverSubStepImplementations() |
| Modifier and Type | Method and Description |
|---|---|
void |
click()
Click (the current element)
|
void |
clickButton(String buttonText)
Click a button that has the text...
|
void |
clickById(String id)
Find an element by id, then click it.
|
void |
clickInput(String buttonText) |
void |
clickLink(String linkText)
Click the link "(....)" as it appears on the page
|
void |
dismissAlertWithMessage(String message) |
void |
doDoubleClick()
Performs a double click on the current element (set with a previous Find
method).
|
void |
navigateTo(String url)
Navigate to a url, if the url begins with http or file, the url will be
used as is, if a relative url is specified then it will be prepended with
the base url property
|
void |
performContextClick()
Performs a context click (typically right click, unless this has been
changed by the user) on the current element.
|
void |
switchFrameToCurrentElement()
Transfer the focus into the current element (set with a previous Find
method) which should be a frame or iframe
|
void |
waitFor(String value)
Wait for the specified number of milliseconds
|
void |
waitForPageTitle(String expectedTitle)
Wait for the page title to change to the specified value
|
elementHasExpectedAttributes, getScreenshotBytes, webDriver, webDriverContextpublic ActionWebDriverSubStepImplementations()
public void navigateTo(String url)
url - the urlpublic void clickById(String id)
id - the idpublic void click()
public void clickLink(String linkText)
linkText - the link textpublic void clickButton(String buttonText)
buttonText - the button textpublic void clickInput(String buttonText)
public void waitFor(String value)
value - the valuepublic void waitForPageTitle(String expectedTitle)
expectedTitle - the expected titlepublic void switchFrameToCurrentElement()
public void doDoubleClick()
public void performContextClick()
public void dismissAlertWithMessage(String message)
Copyright © 2016 Substeps. All rights reserved.