Projects by popularity

Android Inspect WebViews

0 | 3K

Uploaded by: @sdcampbell

Inspect WebView-related functions such as loadUrl(), shouldOverrideUrlLoading(), or onPageFinished(). For testing "MASTG-TEST-0027: Testing for URL Loading in WebViews"

Add JavaScriptInterface to any WebView

0 | 3K

Uploaded by: @FrankSpierings

How it works: - It registers a new WebAppInterface class, which contains the functions to be exported (example showToast) - It then hooks the Activity to obtain a valid context - It then hooks the WebView.loadUrl method, to add a context specific WebAppInterface instance - Lastly, it overrides the annotation checks and instructs that all requested methods are allowed to be requested.