title: How to click on button when input type =Button in Selenium Web driver by using Java
body: <p>How to click on button when input type is button , I am using below code, click on button is  working but data is not saved.</p>
  
  <pre><code>driver.findElement(By.cssSelector("input[type='button'][value='Save']")).click();
  driver.findElement(By.cssSelector("input[@type='button'][@value='Save']")).click();
  driver.findElement(By.cssSelector("input[@type='button']")).click();
  </code></pre>
  
  <p>And below is the development code for your reference:</p>
  
  <pre><code>&lt;input id="save_btn_expe" class="edit_forms_save_btn" type="button" value="Save"&gt; 
  </code></pre>