playwright/src/client
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
..
accessibility.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
android.ts feat(types): simplify android and electron types (#4829) 2020-12-26 20:25:18 -08:00
api.ts docs: move playwright module into api-body.md (#4827) 2020-12-26 15:33:29 -08:00
browser.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
browserContext.ts doc: further align docs w/ playwright.dev (2) (#4871) 2021-01-04 13:50:29 -08:00
browserType.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
cdpSession.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
channelOwner.ts chore: expose adb devices and actions (#4647) 2020-12-09 15:06:57 -08:00
chromiumBrowser.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
chromiumBrowserContext.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
chromiumCoverage.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
clientHelper.ts chore: move src/rpc/client to src/client (#3581) 2020-08-22 15:13:51 -07:00
connection.ts feat(android): expose installAPK(path) and ADB socket (#4689) 2020-12-12 09:36:38 -08:00
consoleMessage.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
dialog.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
download.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
electron.ts feat(types): simplify android and electron types (#4829) 2020-12-26 20:25:18 -08:00
elementHandle.ts api: add isVisible, isHidden, isEnabled, isDisabled and isEditable (#4915) 2021-01-08 12:27:54 -08:00
events.ts fix(android): leaking adb socket connections (#4730) 2020-12-15 20:15:25 -08:00
fileChooser.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
firefoxBrowser.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
frame.ts api: add isVisible, isHidden, isEnabled, isDisabled and isEditable (#4915) 2021-01-08 12:27:54 -08:00
input.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
jsHandle.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
network.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
page.ts api: add isVisible, isHidden, isEnabled, isDisabled and isEditable (#4915) 2021-01-08 12:27:54 -08:00
playwright.ts chore: expose adb devices and actions (#4647) 2020-12-09 15:06:57 -08:00
selectors.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
stream.ts fix(downloads): make path/saveAs work when connected remotely (#3634) 2020-08-26 12:46:30 -07:00
types.ts feat(cli): bring selector generator into playwright (#4795) 2020-12-23 12:44:47 -08:00
video.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
waiter.ts chore: introduce evaluateInUtility private api (#3907) 2020-09-16 16:07:49 -07:00
webkitBrowser.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00
worker.ts feat(types): make our client classes implement public types (#4817) 2020-12-26 17:05:57 -08:00