-
Notifications
You must be signed in to change notification settings - Fork 415
Conversation
Hi @znz, thanks for the patch. Ideally I'd like there to be an officially blessed API from Capybara for doing this. Would you be up for working on getting that into Capybara? (cc @jnicklas) If we don't have an officially blessed API, I think we should at least have the same API as what capybara-webkit has implemented. Thanks |
Yes, official API in Capybara is a good idea :) |
👍 |
Good patch! Anyway, implement the same API of capybara-webkit? |
Discussion continued here: https://groups.google.com/forum/?fromgroups=#!topic/ruby-capybara/SLplHkNvZkI |
Any updates? Sort of waiting for this feature :) |
@asross has not been merged. Trying to determine if headless browsers can support retroactive notification responses. teamcapybara/capybara#1037 |
@mikepack Cool. Thanks for your / everyone else's work on this. |
I'm going to close this PR for now as it's not going to be merged in its current state. Hopefully everyone here will keep up the good work to develop an official API though, which we can then get into Poltergeist. Thanks. |
🎉 Merged Capybara's official API of alert/confirm teamcapybara/capybara#1322 |
@gongo yay! Does anyone want to drive the feature to move us to the newly-merged APIs? |
Cheers!!! 🍺 |
I'll take it. ok? |
@gongo 👍 |
@gongo Great! Is there a new pull request? |
Yes! I will make new PR at a later date. |
@yaauie No impatience meant. I was asking if @gongo had been working on an On Thursday, July 3, 2014, Ryan Biesemeyer notifications@github.com wrote:
Marnen Laibow-Koser Sent from Gmail Mobile |
This patch will support to get messages (of
window.alert()
,window.confirm()
, andwindow.prompt()
) and to set responses (forwindow.confirm()
andwindow.prompt()
) usingonAlert
,onConfirm
, andonPrompt
of phantomjs.