vittorio-nardone / selenium-chromium-lambda Goto Github PK
View Code? Open in Web Editor NEWλ How to run automated (Selenium) headless Chromium in AWS Lambda
License: GNU General Public License v3.0
λ How to run automated (Selenium) headless Chromium in AWS Lambda
License: GNU General Public License v3.0
Ran Your Make File Command and Uploaded Your Function to AWS Lambda, and this does not run.
When i deploy on aws lambda and test it i get this error :
{ "errorMessage": "Unable to import module 'lambda_function': No module named 'lambda_function'", "errorType": "Runtime.ImportModuleError" }
Please let me know what i'm doing wrong. Thank you.
I built a layer.zip file using the make scripts on an AWS linux machine.
I manually uploaded layer.zip to AWS but when I attempt to use the layer as part of a function the AWS GUI reports the following error:
Failed to unzip archive: Zip file contains invalid files/folders;
Hi,
First and foremost, thank you very much for this helpful repo.
I was wondering if you could update the README with a bit more info about your build environment? I am building on Ubuntu in Windows, but when I try to start the chromedriver on AWS Lambda, the function returns the following error:
Service chromedriver unexpectedly exited. Status code was: 127
It looks like this most often has to do with a malformed binary or missing libraries, which I'm guessing may have to do with where I'm building the layer. If you have time to include recommendations for where to build the layer, that may help.
Thanks!
Hi vittorio,
Binaries given of version 86 works for me locally but on AWS lambda not working.
I have posted a question on StackOverflow as well which will give you more insight into the problem.
Any help/suggestion will be appreciated. Thanks
Thank you very much for this Vittorio, it is very helpful. How would you go about running this on a daily basis automatically?
Hi,
Can you update to Python 3.9?
Thanks.
I have this error when I get to a url "Message: unknown error: net::ERR_CONNECTION_RESET\n (Session info: headless chrome=86.0.4240.0)\n", the strange thing is that it occurs randomly. Do you have any idea what could be happening? , Has it happened to you?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.