HTML :
<input class="button" type="submit" value="Log In">
Code :
WebDriverWait wait = new WebDriverWait(driver, 10);
WebElement element = wait.until(ExpectedConditions.elementToBeClickable(By.xpath("input[@value='Log In']")));
driver.findElement(By.xpath("input[@value='Log In']")).click();