EnableJavascriptAction

public class EnableJavascriptAction


Forcibly enables Javascript on a WebView.

This has side-effects callers should be aware of:

  • On Jellybean and below - the WebView will be reloaded.
  • Javascript will be enabled for the rest of the view's lifetime

Summary

Public constructors

Public methods

Matcher<View>
String
void
perform(UiController controller, View view)

Public constructors

EnableJavascriptAction

public EnableJavascriptAction()

Public methods

getConstraints

public Matcher<View> getConstraints()

getDescription

public String getDescription()

perform

public void perform(UiController controller, View view)