title: How to enable button do verify in Selenium WebDriver?
body: <p>I have one button section product, but it disables when hover mouse on section product then the button is enabled. I don't know write script do enable a button when Selenium WebDriver finds it.</p>
  
  <pre><code>@Test(priority = 4)
  public void TestSelectedItem() {
  
      driver.findElement(By.xpath("/html/body/app-root/ng-component/div/product-list/div/div/div/div/div[2]/div/div[3]/div/div[1]/a")).click();
      Select drpItem = new Select(driver.findElement(By.id("pa_colors")));
      drpItem.selectByIndex(2);
      driver.findElement(By.className("add_to_cart_button")).click();
  
  }
  </code></pre>
  
  <p>Please help me.</p>