playwright/types
Dmitry Gozman 3f904056ee
api: add isVisible, isHidden, isEnabled, isDisabled and isEditable (#4915)
These methods are useful for verification in tests, e.g.
```js
expect(await page.isEnabled(':text("Remove All")')).toBe(false);
await page.click(':text("Add Item")');
expect(await page.isVisible('.item:text("new item")')).toBe(true);
expect(await page.isEnabled(':text("Remove All")')).toBe(true);
```
2021-01-08 12:27:54 -08:00
..
android.d.ts feat(types): simplify android and electron types (#4829) 2020-12-26 20:25:18 -08:00
electron.d.ts feat(types): simplify android and electron types (#4829) 2020-12-26 20:25:18 -08:00
protocol.d.ts chore: commit generated types to the repository (#4826) 2020-12-26 13:52:05 -08:00
structs.d.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
trace.d.ts chore: commit generated types to the repository (#4826) 2020-12-26 13:52:05 -08:00
types.d.ts api: add isVisible, isHidden, isEnabled, isDisabled and isEditable (#4915) 2021-01-08 12:27:54 -08:00