javascript string typecast code example
Example 1: jquery cast to string
value.toString()
String(value)
value + ""
Example 2: typecasting javascript
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript(Script,Arguments);
value.toString()
String(value)
value + ""
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript(Script,Arguments);