I want to get the screenshot command that is used by google chrome commands. If you open up the dev tools and see the console, you can run command+shift+p to get a drop down to run commands, and theres a command there for screenshots that you can use to drag over an area and take a screenshot. i am working on a chrome extension, and was wondering if its possible to utilize the same code/where can i find it?
I have tried other alternatives, and also have tried searching for the chrome code, but did not find anything in regards to it.