Commit Graph

3 Commits

Author SHA1 Message Date
Matthew Horan 86e422f944 Remove modal messages from modal message list
* When multiple, non-nested modals are on a page, the modal ID will not
  point to the index of the corresponding modal message in the modal
  message list.
2014-10-05 17:47:23 -04:00
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