CLOVIS
06/12/2020, 12:59 PMFile
or Blob
from a URL (it's a PNG image). I found the example that shows how to do this with Kotlin/JVM, but nothing for Kotlin/JS at the moment. Is it possible?spand
06/12/2020, 1:41 PMspand
06/12/2020, 1:43 PMprivate fun StubFile(filename: String) = File(arrayOf(), filename)
Obviously you can put whatever content you want in the bytearray yourselfCLOVIS
06/12/2020, 2:41 PM<input type="file">
but I obviously can't use that for automated tests...CLOVIS
06/12/2020, 2:42 PM