I'm using PHP Webdriver for my tests. In one of my tests, an alert:
To display this page, Firefox must send information that will repeat any action (such as a search or other confirmation) that was performed earlier
is expected to appear.
How can I instruct the Webdriver to wait until the alert is present? for example - maximum wait timeout let's say 60 seconds, if the alert appears after 15 seconds, I want the Webdriver to let me know it that it exists.