remove elem.click(); and try again, no need to get the file dialog popup. Selenium is not able to handle it.
--david
To post to this group, send email to seleni...@googlegroups.com.
Your input seems only accept .xls, .xlsx, could you send a right file to it? the exe file will be rejected.
Best Regards,
--david
--
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 selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1272bd75-eac0-4370-9546-9b6631f7faf7%40googlegroups.com.