title: Unable to click “Allow” or “Block” in Permission popup in Chrome browser using Selenium?
body: <p>I can’t click on “allow” in the permission pop up. I tried this, but it didn't work.</p>
  
  <pre><code>WebDriver driver= DriverFactory.getDriver();
  Alert al= driver.switchTo().alert();
  al.accept();
  </code></pre>
  
  <p>Does it exist any other option to handle the click of Chrome Browser pop ups.
  Thanks in advance.</p>