public class BrowserActions extends Object
BrowserLocal
Constructor and Description |
---|
BrowserActions(String name) |
Modifier and Type | Method and Description |
---|---|
static BrowserActions |
currentBrowserActions() |
String |
getName() |
static BrowserActions |
lastBrowserActions()
Get the browser actions associated to the last active browser context.
|
<T> T |
performAction(Callable<T> action)
Performs the given action in a context associated to this browser actions.
|
public BrowserActions(String name)
public <T> T performAction(Callable<T> action) throws Exception
T
- return type of the given actionaction
- action to be invoked in the contextException
public static BrowserActions currentBrowserActions()
IllegalStateException
- if there is no active browser context availablepublic static BrowserActions lastBrowserActions()
public String getName()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.