Webdriver - Not able to click the input type =submit login
<p>I am building cucumber/webdriver script in java.</p>

<p>The login page takes email and password to sign in...</p>

<p>The script fills the emailid and password</p>

<p>But the click on SignIn button doesnt work.. </p>

<p>Below is the link
<a href="http://accountsdemo.herokuapp.com/users/sign_in" rel="nofollow">http://accountsdemo.herokuapp.com/users/sign_in</a></p>

<p>Have tried
By signInLocator=By.name("commit");
and also 
By signInLocator=By.xpath("//input[@type='submit']");</p>

<p>Below is the Java code for the same</p>

<pre><code>public void the_user_click_sign_in() throws Throwable{
    driver.findElement(signInLocator).click();
}
</code></pre>

<p>Not sure if i am doing anything wrong here</p>