public class WebClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CHROME
Constant indicating Google Chrome browser.
|
static String |
FIREFOX
Constant indicating Firefox browser.
|
static String |
FIREFOX_UNSECURED
Constant indicating Firefox (unsecured mode) browser.
|
static String |
HTMLUNIT
Constant indicating Html Unit browser.
|
static String |
IE
Constant indicating Internet Explorer browser.
|
static String |
OPERA
Constant indicating Opera browser.
|
| Constructor and Description |
|---|
WebClient()
Initializes instance of the Web Client using default host: http://localhost:21212.
|
| Modifier and Type | Method and Description |
|---|---|
WebClientCoreProxy |
core()
Returns interface for the Web Client Core proxy object.
|
void |
start(String browser)
Initiates new browser session.
|
void |
stop()
Terminates recently open browser session.
|
public static final String IE
public static final String FIREFOX
public static final String FIREFOX_UNSECURED
public static final String CHROME
public static final String OPERA
public static final String HTMLUNIT
public WebClient()
public final WebClientCoreProxy core()
public final void start(String browser) throws RemoteException
browser - browser to start.RemoteException - thrown if no connection is made with the server or some other network issues.public final void stop()
throws RemoteException
RemoteException - thrown if no connection is made with the server or some other network issues.Copyright © 2013. All rights reserved.