I am learning selenium webdriver for practice writing script on naukri.com website.

I want to click on 'Attached Resume' link on left side under update profile but is says "Unable to locate element".
I have tried to find the element with xpath

```
driver.findElement(By.linkText(" Attached Resume")).click();

```

I have even tried with class got same error.

Here is the HTML sample 

```
<div id="leftNav_updateProfile" class="leftNavBullet">
<ul>
<li>
<a href="//my.naukri.com/Profile/edit?id=&altresid=">
<a href="//my.naukri.com/Profile/editSummary?id=&altresid=">
<a href="//my.naukri.com/EmploymentDetails/add?id=&altresid=">
<a href="//my.naukri.com/Profile/view/subAction/ar?id=&altresid=#ar">
<span class="gryTxt">• </span>
Attached Resume
</a>
<a href="//my.naukri.com/ITProjects/add?id=&altresid=">
<a href="//my.naukri.com/ITSkills/edit?id=&altresid=">
<a href="//my.naukri.com/EducationDetails/edit?id=&altresid=">
<a href="//my.naukri.com/ProfileShowcase/edit?id=&altresid=">
<a href="//my.naukri.com/OtherInfo/edit?id=&altresid=">
</li>
</ul>
</div>

```

Here is my script

```
package practice;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.WebElement;

public class UploadResume {

    public static void main(String[] args) 
    {
        System.setProperty("webdriver.gecko.driver", "E:\\geckodriver-v0.16.1-win32\\geckodriver.exe");
         WebDriver driver=new FirefoxDriver();
         driver.get("https://www.naukri.com/");
         driver.findElement(By.xpath("//div[text()='Login']")).click();
         driver.findElement(By.id("eLogin")).sendKeys("xyz@gmail.com");
         driver.findElement(By.id("pLogin")).sendKeys("12345");
         driver.findElement(By.xpath("//button[text()='Login']")).click();
         driver.findElement(By.xpath("//div[@id='leftNav_updateProfile']//a[contains(.,' Attached Resume')]")).click();
         driver.findElement(By.id("uploadLink")).click();
         driver.findElement(By.id("attachCV")).click();

    }

}

```