I have worked with selenium for like 3 months. My tests worked fine in Firefox 3.6. However, when I update to Firefox 4 and selenium-server 2.0b3, there is a problem with the confirmation dialog.
Here is the code (very simple):
choose_ok_on_next_confirmation
click("delete_button")
get_confirmation
wait_for_page_to_load
I have searched a lot and tried many other things like assert_confirmation or store_confirmation. Even is_confirmation_present
didn't work. They can't detect the dialog I think.
I downgraded to firefox 3.6 and it worked fine.
Anybody know the reason? I don't know much about how Firefox 4 work. And I still have to explain this problem to my partner.