Need to find complete text of an HTML paragraph

38 Views Asked by At

enter image description here

I am trying to get text wrapped in paragraph , below this div node.

I tried using this - I am getting Null value

driver.findElement(By.id("popoverContent")).getText()

using this also give me null:

driver.findElement(By.id("popoverContent")).getAttribute("innerhtml")

Please help

0

There are 0 best solutions below