diff --git a/tests/phpunit/WebTest/Contact/AddTest.php b/tests/phpunit/WebTest/Contact/AddTest.php
index 66eeca074b321f59e2a1e8a2fc4bb8ad6ec1108f..d32b16a766e7fb28738a5318f31f64baee108c88 100644
--- a/tests/phpunit/WebTest/Contact/AddTest.php
+++ b/tests/phpunit/WebTest/Contact/AddTest.php
@@ -257,10 +257,7 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase {
     $this->select("preferred_language", "value=fr_FR");
 
     //Notes section
-    $this->clickAt("xpath=//div[text()='
-   
-    Notes
-  ']");
+    $this->clickAt("//*[@id='Contact']/div[2]/div[6]/div[1]");
     $this->waitForElementPresent("subject");
     $this->type("subject", "Grant's note");
     $this->type("note", "This is a household contact webtest note.");