C# Class Automobile.Mobile.Android.Automation.AndroidBrowser

Inheritance: Automobile.Mobile.Framework.Browser.MobileBrowser
Exibir arquivo Open project: vistaprint/automobile Class Usage Examples

Public Methods

Method Description
AndroidBrowser ( WebView webView ) : System
ExecJavascript ( string js ) : string

Execute some javascript in the browser

Navigate ( string url, bool useBaseUrl ) : void

Navigate to a url optionally using the base url

Refresh ( ) : void

Refresh the browser

WaitForReady ( ) : void

Wait for the browser to complete any loading

Private Methods

Method Description
InitWebView ( ) : void

Initialize the WebView, WebClient, etc

Method Details

AndroidBrowser() public method

public AndroidBrowser ( WebView webView ) : System
webView WebView
return System

ExecJavascript() public method

Execute some javascript in the browser
public ExecJavascript ( string js ) : string
js string script to execute
return string

Navigate() public method

Navigate to a url optionally using the base url
public Navigate ( string url, bool useBaseUrl ) : void
url string url to navigate to
useBaseUrl bool toggle baseurl
return void

Refresh() public method

Refresh the browser
public Refresh ( ) : void
return void

WaitForReady() public method

Wait for the browser to complete any loading
public WaitForReady ( ) : void
return void