com.thoughtworks.selenium.webdriven.JavascriptLibrary is not working in selenium 3
<p>I am using JavaScriptLibrary in my automation framework with selenium 3.</p>

<p>JavascriptLibrary is not working.</p>

<pre><code>JavascriptLibrary javascript = new JavascriptLibrary();
javascript.callEmbeddedSelenium(driver, "triggerEvent", ele, "change");
</code></pre>

<p>What is the alternative way to perform above action?</p>