Commit Graph

2 Commits

Author SHA1 Message Date
Matthew Horan 8dbf3b8e31 Make FindModal synchronous
* There's no need to poll for the modal when we have an event loop.
2014-07-17 09:39:40 -04:00
Matthew Horan b411f53cfc Implement modal (confirm, prompt and alert) API
* Retain backwards compatibility with legacy capybara-webkit API.
* Confirm dialogs are accepted by default; dialogs are dismissed.
* Legacy API overrides the default action, and does not raise errors
  for unexpected modals.
2014-07-13 19:09:02 -04:00