title: How to click and verify the existence of a pop up (alert)
body: <p>I'm working with selenium.
  while trying to click a button it creates a pop up (alert) and doesn’t return a page object.
  Because of that I can’t use “click” alone as this method expects a page object and eventually fails because of a timeout.
  I can use the “chooseOkOnNextConfirmation()” but this will click the pop up and i also want to  verify that the pop up actually appeared.
  Is there any method that will click and verify this alert?</p>