Screenshot and save to file
Hi, i need to take a screenshot and save it to a folder, is that possible to do?
I am working in an console application in .net 7
12 Replies
what do you mean elaborate
like do you need to take a screenshot from your desktop, or do you need your application to make a screenshot and save it somewhere
I need my application to take a screenshot and save it in a file, so like have a method that takes the screenshot
DrSeggs
like do you need to take a screenshot from your desktop, or do you need your application to make a screenshot and save it somewhere
Quoted by
<@203166497198047232> from #Screenshot and save to file (click here)
React with ❌ to remove this embed.
There are different ways to take a screenshot.
Please read what was mentioned
If you want a cross-platform solution it'll be quite challenging, for me the best solution was to use this library, which is actually for screen capturing
https://github.com/DarthAffe/ScreenCapture.NET
Well I have an open website and i need it to capture a picture of that website
You can use Selenium if you want to capture screenshot of a website
Selenium is a tool for automating websites
I will try to use this but i cant really figure out how to do it, can you help?
If you want to only capture the screen of a website, do as Pluto said here
Buddy
You can use Selenium if you want to capture screenshot of a website
Quoted by
<@564655562353278996> from #Screenshot and save to file (click here)
React with ❌ to remove this embed.
👍
The problem is that the website i need to get the screenshot from is locked behind a login
Selenium would be the best option then, login in using selenium and make it take a screenshot