I have a process which is generating a dynamic javascript file that I am then passing to Chrome using the Browser: Run JavaScript action and importing that file.
This is working for many instances. However, when the generated file exceeds a certain size, the action fails. I’m unsure on the size limit, but 1.8MB does not work.
I am converting PDF files to an uint8 byte array so I can use a Blob and File API within my dynamic javascript file to upload the file to a webpage.
I can paste this javascript command into my Chrome dev tools and run it without any issues also.
Does anyone have any ideas on this?