I\'m trying to read the example String
EDIT: Oh this works. In firefox. And so does this. I tried as well but it does not seem to work with pure Javascript. Start the browser with
Jquery as mentioned here. How to use JQuery in Selenium? and use following code for script. This works.1000 out of a hidden
String script = "return document.getElementById('hidden_div').innerHTML";
String script = "return arguments[0].innerHTML";
String script = "return $('#hidden_div').text();";