I'm using the PHP Webdriver with Selenium for a page that is mostly composed of a large canvas. I want to click on specific buttons in this canvas, unfortunately I'm unable to get any information regarding the buttons (can't inspect the canvas).
How can I guess or calculate the coordinates of the buttons? I was thinking to move my mouse around and get live coordinates but haven't found a way to to that. Any other way you may think of?
Alternatively, any method to inspect the content of the canvas would help!