safarihtml5-canvasweb-inspector

How to inspect a <canvas> in Safari?


I have a need to inspect what is being drawn in a <canvas>, as in this question. And I know how to use the Chrome dev tools canvas inspector, and the Firefox Canvas Debugger.

Are there any similar tools for the Safari web browser?

For the sake of clarity, let's assume desktop Safari v9.1.1 running in OSX 10.10.


Solution

  • You can use this with WebKit's Canvas debugging tools:

    The Canvas debugging tab in WebKit devtools

    Note that this tool is now available under the Graphics tab in newer versions of WebKit.

    Graphics tab in newer versions of WebKit