I\'m trying to read the example String
Building upon the work of the already given answers, I created this utility method (Java). Maybe this is helpful for someone else.1000
out of a hidden
public static String getText(WebDriver driver, WebElement element){
return (String) ((JavascriptExecutor) driver).executeScript(
"return jQuery(arguments[0]).text();", element);
}