MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / isJavaScriptEnabled

Method isJavaScriptEnabled

src/main/java/org/htmlunit/WebClient.java:2964–2966  ·  view source on GitHub ↗

Returns true if the javaScript support is enabled. To disable the javascript support (eg. temporary) you have to use the WebClientOptions#setJavaScriptEnabled(boolean) setter. @see #isJavaScriptEngineEnabled() @see WebClientOptions#isJavaScriptEnabled() @return true if the javaScript engine

()

Source from the content-addressed store, hash-verified

2962 * @return true if the javaScript engine and the javaScript support is enabled.
2963 */
2964 public boolean isJavaScriptEnabled() {
2965 return javaScriptEngineEnabled_ && getOptions().isJavaScriptEnabled();
2966 }
2967
2968 /**
2969 * Returns true if the javaScript engine is enabled.

Callers 15

loadWebResponseIntoMethod · 0.95
closeMethod · 0.95
clickMethod · 0.95
doMouseEventMethod · 0.95
fireEventMethod · 0.95
submitMethod · 0.95
typeMethod · 0.95
doOnLoadMethod · 0.95
isExecutionNeededMethod · 0.45

Calls 1

getOptionsMethod · 0.95

Tested by

no test coverage detected