When button is clicked alert pop up showed and closed at same time in
firefox. It dosen't wait for next step to execute.It shows error Modal
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/d9201363-1adf-401b-a8d1-22850426b204%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.