I figured out this pattern today for testing an HTML table dynamically added to a page by JavaScript, using Playwright Python: …
In the Playwright tests for datasette-cluster-map I wanted to assert that two markers had been displayed on a Leaflet map. …