examples icon indicating copy to clipboard operation
examples copied to clipboard

added-generate-website-screenshot-example-in-node

Open Abhishek-thakur1 opened this issue 3 years ago • 2 comments

Implemented function generate-website-screenshot in node\ folder.

Sample of response is here: Screenshot-demo

And generated screenshot: google

Abhishek-thakur1 avatar Oct 09 '22 18:10 Abhishek-thakur1

Thank you so much for the PR 🤩. We're adding the hacktoberfest-accepted label to ensure this PR counts towards your Hacktoberfest contributions count. With that said, please stay active on this PR to address any comments once you receive a review. Happy Hacktoberfest! 🎃

PineappleIOnic avatar Oct 31 '22 16:10 PineappleIOnic

Sure

Abhishek-thakur1 avatar Nov 01 '22 11:11 Abhishek-thakur1

I can't seem to run the function, I am getting curl: (52) Empty reply from server most likely caused by selenium-webdriver. I believe this will be a problem as Open Runtimes Node runtime is based of alpine, which does not have any browser pre-installed.

Can we please update the function and use 3rd party API to generate the screenshot? 🙏

Meldiron avatar Jan 22 '23 10:01 Meldiron

Here is example what others have done for the screenshot generation: https://github.com/open-runtimes/examples/pull/52/files#diff-358d33ac90034c1728f12d09ddf798c510ff42501eb456fc2a01cfedf3a94ae9R33

Meldiron avatar Jan 22 '23 10:01 Meldiron

Hey there 👋 We are temporarily closing your PR as there has been no activity on it. Feel free to re-open it when you're ready to start working on it again 😇

Meldiron avatar Feb 23 '23 11:02 Meldiron