Testing file open in Selenium

Greetings,
I’m trying to test my Elm SPA using Selenium. My application supports saving JSON files to the user’s computer (using elm/file’s Download module) & opening them again with elm/file’s Select module.

The problem is, elm/file creates an input node, but does not put it in the DOM (cf. File.js line 119) so Selenium cannot see it.

Would you have any idea how I could open the JSON file from Selenium?

If that is the case, I think you should either create a port to report information to selenium, or open an issue in elm/file github.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.