I'm trying to locate the element by XPath: I tried to add wait to load the page and also tried to scroll the page down. but same error
driver.findElement(By.xpath("//text()[contains(.,'Add portfolio')]/ancestor::a[1]")).click();
unknown error: Element ... is not clickable at point (326, 302). Other element would receive the click: ...