'How can I save an image from a website using python, using their Canvas ID and not a URL

Specifically from this GauGAN2 demo: http://gaugan.org/gaugan2/

enter image description here

I know a few methods to use Screenshot, but I'm tried of using screenshot haha, it creates too many problems for me.

I tried using "ActionChains" but once the right click menu pops up it won't send any input to there, probably because it's a windows GUI and not part of chrome (using chrome driver / selenium by the way)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source