How to click a link by using Selinium 2
<p>I want to click the flip kart new user login page, by clicking the login link, but I am not able to do so.</p>

<pre><code>public WebDriver driver=new FirefoxDriver();
    public void reg(){
        driver.get("https://www.flipkart.com/");
        /*driver.manage().window();*/
        driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
        driver.findElement(By.xpath(".//*[@id='container']/div/header/div[1]/div[1]/div/ul/li[9]/a")).click();

    }
</code></pre>