Dmitry Gozman
d78d337e29
feat(fill): make fill work when targeting elements inside the label ( #5143 )
2021-01-25 13:40:19 -08:00
Yury Semikhatsky
a4eb121399
fix: add parameter to close/crash/disconnected etc events ( #5098 )
2021-01-22 09:58:31 -08:00
Pavel Feldman
8f06761ba1
docs: link to the new docs from source ( #5092 )
2021-01-21 14:35:20 -08:00
Pavel Feldman
f10f170946
docs: add file chooser example, remove links to js samples ( #5054 )
2021-01-20 08:12:39 -08:00
Yury Semikhatsky
615954b285
fix(dom): make selectOption wait for options ( #5036 )
2021-01-19 11:27:05 -08:00
Pavel Feldman
41e394bc22
docs: allow overriding return types ( #5031 )
2021-01-15 16:01:41 -08:00
Pavel Feldman
6e94c11034
docs: prepare docs for tabbed snippets ( #5026 )
2021-01-15 12:30:10 -08:00
Pavel Feldman
7701176b0a
docs: allow lang-specific sh snippets ( #5024 )
2021-01-14 18:19:02 -08:00
Dmitry Gozman
e85f278869
docs: more python docs and snippets ( #5021 )
2021-01-14 15:01:39 -08:00
Pavel Feldman
5dcb7bb290
docs: declare expect_navigation as returning Response ( #5020 )
2021-01-14 14:40:19 -08:00
Pavel Feldman
1648d23551
docs: add python snippets for api classes (follow up) ( #5018 )
2021-01-14 11:09:44 -08:00
Pavel Feldman
8354a91d0e
docs: add python snippets for api classes ( #5011 )
2021-01-14 07:48:56 -08:00
Pavel Feldman
5408e26e02
docs: add python snippets for class Page ( #5010 )
2021-01-13 21:03:35 -08:00
Yury Semikhatsky
df53cb2f83
docs: fix inline code quoting ( #4992 )
2021-01-13 08:56:57 -08:00
Pavel Feldman
cac119f3bf
docs: python api review ( #4986 )
2021-01-12 12:14:27 -08:00
Pavel Feldman
cb6e4a6657
chore: update snippets in python docs ( #4976 )
2021-01-11 17:04:24 -08:00
Pavel Feldman
7a8214cd95
chore: prepare non-api docs for non-js variants ( #4969 )
2021-01-11 09:34:49 -08:00
Pavel Feldman
4dbbb47583
docs: document Python's expect_event methods ( #4963 )
2021-01-10 21:00:52 -08:00
Pavel Feldman
e67d89747a
chore: update docs to cover python specifics ( #4960 )
2021-01-10 18:18:35 -08:00
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
Pavel Feldman
b7e0b1b393
docs: annotate evaluate(pageFunction) js-specific ( #4954 )
2021-01-08 16:17:54 -08:00
Pavel Feldman
114d586f07
chore: add python aliases ( #4949 )
2021-01-08 15:00:14 -08:00
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
Dmitry Gozman
d08cbc33a7
docs: brush up selector docs ( #4939 )
...
docs: brush up selector docs
- Remove duplication
- Move extensions block to ChromiumBrowser
- Remove accidental ":xpath" extension from css selectors
- Document :has and :is extensions
2021-01-08 10:59:24 -08:00
Pavel Feldman
15c0a29526
docs: split nodejs and python links ( #4942 )
2021-01-07 23:37:53 -08:00
Pavel Feldman
54c06a1b45
chore: mark methods as js-only, add python-specific methods ( #4938 )
2021-01-07 16:12:25 -08:00
Pavel Feldman
e56832b646
chore: language-specific members api ( #4936 )
2021-01-07 15:00:04 -08:00
Pavel Feldman
bdf12e32e4
docs: split api-body into classes ( #4931 )
2021-01-07 11:46:05 -08:00