mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

This adds `{Page,Frame}.isChecked(selector)` and `ElementHandle.isChecked()` methods. Useful to do assertions in tests: ```js await page.click('text="Add TODO"'); expect(await page.isChecked('.item-done')).toBe(false); ```