I am using Selenium Java WebDriver. I am trying to check is some text is present in a page.

I am doing this:

```
assertTrue(driver.getPageSource().contains("Hello World"));

```

BUT I just realize that in my page could the text "Hello World 2" be also present. In this case the method above would return True but it should be actually False.
So I need a similar method that checks whether the exact text "Hello World" is present.

Does anybody know something that I could do?

```
<div class="x-grid3-cell-inner x-grid3-col-roles" ext:qtip=
"CAD-Approver">CAD-Approver<input type="hidden" name=
"ap20hiddenRoleNames" value=
"CAD-APPROVER,"></div>

```

I need to find the text = CAD-Approver

Thanks a lot
Pablo