Program to Handle Events Using JavaScriptExecutor.