Deprecate `Capabilities.isJavascriptEnabled`
This provides no useful functionality over calling:
`Capabilities.is("javascriptEnabled")`
Worse, it's suggesting that browsers can be used with
webdriver without JS enabled, which isn't true.
String getVersion();
+ /**
+ * @deprecated All browsers are JS enabled except
+ * {@link org.openqa.selenium.htmlunit.HtmlUnitDriver} and it's not meaningful to disable JS execution.
+ */
+ @Deprecated
boolean isJavascriptEnabled();
/**
