Commit Graph

2 Commits

Author SHA1 Message Date
Dmitry Gozman
5a2cfdbd47
api: add isChecked method (#4953)
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);
```
2021-01-08 17:36:17 -08:00
Max Schmitt
23a6e4dfe9
chore: restructure and optimise test files (#4736) 2020-12-16 07:28:44 -08:00