public class WebClientCoreProxy extends WebCoreProxy
Constructor and Description |
---|
WebClientCoreProxy()
Initializes Core Web proxy instance using default host: http://localhost:21212.
|
WebClientCoreProxy(String endpoint)
Initializes Core Web proxy instance using specified end-point host
|
back, clear, click, forward, getAttribute, getCssValue, getLocation, getPageSource, getSize, getTagName, getText, getTitle, getURL, getWindowHandle, isDisplayed, isEnabled, isSelected, open, refresh, selectAlert, selectDefaultContent, selectFrameByIndex, selectFrameByName, selectWindow, sendKeys, setEndpoint, stop, submit
public WebClientCoreProxy()
public WebClientCoreProxy(String endpoint)
endpoint
- the host where remote Server module listens topublic final void back() throws RemoteException
RemoteException
- .public final void clear(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .public final void click(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .public final void deselectAll(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .(java.lang.String, java.lang.String, java.lang.String)
public final void deselectByIndex(String arg1, String arg2, int arg3) throws RemoteException
arg1
- .arg2
- .arg3
- .RemoteException
- .(java.lang.String, java.lang.String, java.lang.String, int)
public final void deselectByValue(String arg1, String arg2, String arg3) throws RemoteException
arg1
- .arg2
- .arg3
- .RemoteException
- .#deselectByValue(java.lang.String,java.lang.String,
java.lang.String, java.lang.String)
public final void deselectByVisibleText(String arg1, String arg2, String arg3) throws RemoteException
arg1
- .arg2
- .arg3
- .RemoteException
- .#deselectByVisibleText(java.lang.String, java.lang.String,
java.lang.String, java.lang.String)
public final void forward() throws RemoteException
RemoteException
- .public final String[] getAllOptions(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .#getAllOptions(java.lang.String, java.lang.String, java.lang.String)
public final String[] getAllSelectedOptions(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .#getAllSelectedOptions(java.lang.String, java.lang.String,
java.lang.String)
public final String getAttribute(String arg1, String arg2, String arg3) throws RemoteException
arg1
- .arg2
- .arg3
- .RemoteException
- .public final String getCssValue(String arg1, String arg2, String arg3) throws RemoteException
arg1
- .arg2
- .arg3
- .RemoteException
- .public final String getEndpoint()
getEndpoint
in class WebCoreProxy
public final String getFirstSelectedOption(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .#getFirstSelectedOption(java.lang.String, java.lang.String,
java.lang.String)
public final Point getLocation(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .public final String getPageSource() throws RemoteException
RemoteException
- .public final Dimension getSize(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .public final String getTagName(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .public final String getText(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .public final String getTitle() throws RemoteException
RemoteException
- .public final String getURL() throws RemoteException
RemoteException
- .public final WebCore getWebCore()
getWebCore
in class WebCoreProxy
public final String getWindowHandle() throws RemoteException
RemoteException
- .public final boolean isDisplayed(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .public final boolean isEnabled(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .public final boolean isMultiple(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .#isMultiple(java.lang.String, java.lang.String, java.lang.String)
public final boolean isSelected(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .public final void open(String arg1) throws RemoteException
arg1
- .RemoteException
- .public final void refresh() throws RemoteException
RemoteException
- .public final void selectAlert() throws RemoteException
RemoteException
- .public final void selectByIndex(String arg1, String arg2, int arg3) throws RemoteException
arg1
- .arg2
- .arg3
- .RemoteException
- .#selectByIndex(java.lang.String, java.lang.String, java.lang.String,
int)
public final void selectByValue(String arg1, String arg2, String arg3) throws RemoteException
arg1
- .arg2
- .arg3
- .RemoteException
- .#selectByValue(java.lang.String, java.lang.String, java.lang.String,
java.lang.String)
public final void selectByVisibleText(String arg1, String arg2, String arg3) throws RemoteException
arg1
- .arg2
- .arg3
- .RemoteException
- .#selectByVisibleText(java.lang.String, java.lang.String,
java.lang.String, java.lang.String)
public final void selectDefaultContent() throws RemoteException
RemoteException
- .public final void selectFrameByIndex(int arg1) throws RemoteException
arg1
- .RemoteException
- .public final void selectFrameByName(String arg1) throws RemoteException
arg1
- .RemoteException
- .public final void selectWindow(String arg1) throws RemoteException
arg1
- .RemoteException
- .public final void sendKeys(String arg1, String arg2, String arg3) throws RemoteException
arg1
- .arg2
- .arg3
- .RemoteException
- .public final String start(String browser) throws RemoteException
start
in interface WebCore
start
in class WebCoreProxy
RemoteException
public final void stop() throws RemoteException
RemoteException
- .public final void submit(String arg1, String arg2) throws RemoteException
arg1
- .arg2
- .RemoteException
- .public final String token()
Copyright © 2013. All rights reserved.