schickling / chromeless

🖥 Chrome automation made simple. Runs locally or headless on AWS Lambda.
https://chromeless.netlify.com
MIT License
13.25k stars 575 forks source link

Support for setFileInput() over Proxy #186

Open adieuadieu opened 7 years ago

adieuadieu commented 7 years ago

setFileInput() was implemented in #170. However, the setFileInput() 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

await chromeless.selectFile('.uploader', [
  's3://my-bucket/my/object/prefix/file.jpg',
  'http://sweet-site.cool/my-image.jpg'
])
timbaileyjones commented 6 years ago

Hi @adieuadieu - I find myself needing this feature to feed a file to an element in Chrome on AWS Lambda. Any progress?

adieuadieu commented 6 years ago

@timbaileyjones no progress. See if puppeteer addresses your needs. You can run puppeteer together with serverless-chrome. Here is an article describing how.