Loading challenge...
Read a grid painted entirely on a canvas with no DOM cells — via the JS data API or the accessibility table mirror
A 4×5 data grid is painted entirely onto a <canvas> — there are no <td> nodes to query, so you must reach the values another way
Every value below is drawn with fillText on a single <canvas>. A normal getByText or CSS selector finds nothing — the grid is just pixels.
Three escape hatches exist: the window.__grid JS API, a visually-hidden <table> mirror, and pixel-coordinate clicking. Click a cell to populate the selection readout.
Click any cell — coordinates map to row,col
| 7 | 10 | 13 | 16 |
| 19 | 22 | 25 | 28 |
| 31 | 34 | 37 | 40 |
| 43 | 46 | 49 | 52 |
| 55 | 58 | 61 | 64 |
Three ways past a canvas
window.__grid.cell(r, c) via page.evaluate(() => window.__grid.cell(0, 0)) — exact values, no pixel guessing, but it depends on the app exposing the API#grid-a11y table — page.locator('#grid-a11y td') gives real <td> nodes with data-row/data-col; works with any framework and aids screen readers#grid-canvas.click({ position: { x, y } }) then read #grid-selected[data-cell]; depends on canvas size and breaks if layout shifts#grid-selected[data-cell="0,0"], not the rendered text, so the check survives copy formatting changes