Dmitry Gozman
e81a3c5901
api: add option position
to check/uncheck ( #6153 )
...
Since check/uncheck does click under the hood, sometimes it might
need to click at a different position. One example would be a long
label that contains links inside, and clicking in the center happens
to hit the link instead of the label itself.
2021-04-12 12:41:25 -07:00
Dmitry Gozman
db09275d89
docs: reject -> throw, fix small typos ( #6152 )
2021-04-08 16:42:45 -07:00
Darío Kondratiuk
ee396421ea
chore(dotnet): alias for dblclick in C# ( #5899 )
2021-04-06 11:49:46 +02:00
Max Schmitt
dfe07818e6
docs: fixed various typos ( #5958 )
2021-03-26 10:47:16 -07:00
Yury Semikhatsky
70beef83d0
docs: rename with* to set* for java ( #5737 )
2021-03-05 13:50:34 -08:00
Yury Semikhatsky
cb0a890a09
docs: java snippets for api classes ( #5629 )
2021-02-25 22:03:39 -08:00
Yury Semikhatsky
f35acc258b
docs: improve enum naming ( #5359 )
2021-02-08 11:58:25 -08:00
Yury Semikhatsky
a1b3164864
docs: fix nested union handling ( #5341 )
2021-02-05 16:32:13 -08:00
Yury Semikhatsky
4b74f5693c
docs: add enum aliases ( #5335 )
2021-02-05 15:28:48 -08:00
Pavel Feldman
fe2c529fda
docs: complete sentences with full stop ( #5298 )
2021-02-03 18:25:06 -08:00
Pavel Feldman
1db5ef24a8
docs: document electron api ( #5229 )
2021-02-01 11:43:26 -08:00
Yury Semikhatsky
a1d875ed97
docs: make inline refs us parameter name instead of its alias ( #5219 )
2021-01-29 16:02:17 -08:00
Anže Vodovnik
dbcdf9dcd7
chore(docs): aliases for dotnet/chsarp docs. ( #5162 )
...
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2021-01-29 11:08:22 -08:00
Yury Semikhatsky
21041bc331
docs: support argument overrides ( #5200 )
2021-01-28 17:51:41 -08:00
Pavel Feldman
35baf335d8
Revert "docs: update langs fields to include java ( #5161 )"
...
iThis broke Python docs.
2021-01-27 11:31:34 -08:00
Yury Semikhatsky
d0ab0bd8f2
docs: update langs fields to include java ( #5161 )
2021-01-27 11:11:05 -08:00
Dmitry Gozman
d78d337e29
feat(fill): make fill work when targeting elements inside the label ( #5143 )
2021-01-25 13:40:19 -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
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
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
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
Pavel Feldman
54c06a1b45
chore: mark methods as js-only, add python-specific methods ( #4938 )
2021-01-07 16:12:25 -08:00
Pavel Feldman
bdf12e32e4
docs: split api-body into classes ( #4931 )
2021-01-07 11:46:05 -08:00