title: How to click the button using Selenium Webdriver?
body: <p>I'm trying to automate the Rest Console in Chrome browser.</p>
  
  <p>I'm unable to click the Button - POST.</p>
  
  <p>I tried with the Webelement, Actions shown below.. </p>
  
  <ol>
  <li><blockquote>
    <p><code>WebElement input = (new WebDriverWait(driver, 30)).until(ExpectedConditions.presenceOfElementLocated(By.xpath("//form[@class='form-stacked']//div[@id='actions']/input[@value='POST']")));
        input.click();</code></p>
  </blockquote></li>
  <li><blockquote>
    <p><code>driver.findElement(By.xpath("//form[@class='form-stacked']//div[@id='actions']/input[@value='POST']")).click();</code></p>
  </blockquote></li>
  <li><blockquote>
    <p><code>Actions action=new Actions(driver);
       action.moveToElement(driver.findElement(By.xpath("//form[@class='form-stacked']//div[@id='actions']/input[@value='POST']"))).click();
        action.build().perform();</code></p>
  </blockquote></li>
  </ol>
  
  <p>The above codes are focus on the button - "POST". But the click(); process is not working.</p>
  
  <p>Can anyone please help me out ???</p>
  
  <p>Thanks in Advance,
  Thyagu</p>