In a site I have:
<p id="tempid" value="Manual Effect">testing the test</p>
String value = (String)((JavascriptExecutor) this).executeScript("return window.document.getElementById('tempid').value");
System.out.println("value is : " + value);
I am getting null value or nothing.
I want to get the test "testing the test" as output.