I tried this with Muse Spark and GLM 5.3 flash a few weeks ago. Just screenshots, and a few mouse/keyboard tools. Worked surprisingly well for a 300-line script. Models can now return exact coordinates of elements, making a11y trees an unnecessary distraction, but for some reason Spark always assumes a 1000 by 1000 grid, while GLM returns the actual pixel coordinates.