I have done a solid research for this issue and regret that there is nothing useful in relation to Firefox 4. This option works fine in 3.6:
a = page.driver.browser.switch_to.alert if a.text == 'OK' a.dismiss else a.accept end Unfortunately, clicking on "OK" is not an option when manually pops up. I have tried various javascript options for this, as well (where one originally sent "tricks" prompt and sent it first).
Thank you for your time,
-
I have the same problem, the only one that I have seen so far is downgrading to Firefox 3.6.x
Comments
Post a Comment