Whar are casting function in js code example
Example: casting in javascript
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript(Script,Arguments);
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript(Script,Arguments);