org.openqa.selenium.android.library
Class WebDriverViewClient

java.lang.Object
  extended by org.openqa.selenium.android.library.WebDriverViewClient

public class WebDriverViewClient
extends Object

This class provides methods that must be called by a custom view client if you decide not to use the DefaultViewClient. If you are using this class you should really know what you are doing.


Constructor Summary
WebDriverViewClient(AndroidWebDriver driver)
           
 
Method Summary
 void onPageFinished(android.webkit.WebView view, String url)
           
 void onPageStarted(android.webkit.WebView view, String url)
           
 void onReceivedError(android.webkit.WebView view, int errorCode, String description, String failingUrl)
           
 void onReceivedSslError(android.webkit.WebView view, android.webkit.SslErrorHandler handler, android.net.http.SslError error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDriverViewClient

public WebDriverViewClient(AndroidWebDriver driver)
Method Detail

onReceivedError

public void onReceivedError(android.webkit.WebView view,
                            int errorCode,
                            String description,
                            String failingUrl)

onReceivedSslError

public void onReceivedSslError(android.webkit.WebView view,
                               android.webkit.SslErrorHandler handler,
                               android.net.http.SslError error)

onPageStarted

public void onPageStarted(android.webkit.WebView view,
                          String url)

onPageFinished

public void onPageFinished(android.webkit.WebView view,
                           String url)


Copyright © 2013. All Rights Reserved.