Open adieuadieu opened 7 years ago
Hi @adieuadieu - I find myself needing this feature to feed a file to an element in Chrome on AWS Lambda. Any progress?
@timbaileyjones no progress. See if puppeteer addresses your needs. You can run puppeteer together with serverless-chrome. Here is an article describing how.
setFileInput()
was implemented in #170. However, thesetFileInput()
does not currently work over the Proxy as expected because files are not transmitted from the local Chromeless instance to the Proxy (something which may be difficult given the AWS IoT 128KB message size limit.)This issue tracks progress on supporting the Proxy.
Acceptance Criteria
setFileInput()
for S3 paths (which means fetching the S3 file, then passing the local disk path from the resulting object tosetFileInput()
setFileInput()
for URLssetFileInput()
we will try to upload it to S3, then pass the S3 path to the Proxy.