Page capture with Javascript
-
Hello.
I was wondering if there is any possibility to trigger the screenshot feature with javascript or some other scripting language. I'm working in a small PHP script that needs to work with a capture from a rendered webpage of a local network. It works now, with a preexistent capture, but I don't know if I can add the capture part at the beginning of the script. Also, It would be great to know how to change the folder where captures go from the very same script if it is possible.
Thanks. -
@arzakon Not sure if it helps in your case; but you can assign a key sequence for "Capture Page to File" and/or "Capture Page to Clipboard" under Tools/Settings/Keyboard - Tab
Maybe you could use your script to generate the key sequence? -
@tbgbe Yes, thanks. That's a good idea.
There's a limit in captures of 30000 pixels. Is there anything I could do to surpass this limit?
-
@arzakon said in Page capture with Javascript:
There's a limit in captures of 30000 pixels. Is there anything I could do to surpass this limit?
Well, there is a feature request to increase it - you could vote for that
https://forum.vivaldi.net/topic/25112/larger-maximum-image-size-for-capture-page