I am using python with selenium for web automation.
I can draw some shape on canvas and when I click save all this shape related information is sent through request.
I want to validate this request along with corresponding response in network tab of dev tools.
How should I use execute_javascript API of selenium to do this
The ultimate goal is to validate what exactly was done on canvas. I do not want to use any OCR tools for image processing