Simon Willison’s Weblog

Subscribe

13th January 2024

TIL Using expect() to wait for a selector to match multiple items — In the Playwright tests for [datasette-cluster-map](https://github.com/simonw/datasette-cluster-map) I wanted to assert that two markers had been displayed on a Leaflet map.

Recent articles

This is a beat by Simon Willison, posted on 13th January 2024.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe