What is the return type of executeScript() method of JavascriptExecutor?
问题 If a JavaScript on a web page return non-decimal value then what will javascriptExecuter.executeScript() will return? Ccan anyone answer this question? 回答1: executeScript() executeScript() executes a JavaScript in the context of the currently selected frame or window. The script fragment provided will be executed as the body of an anonymous function. If the script has a return value (i.e. if the script contains a return statement), then the following type of objects are returned: For an HTML