Anže Vodovnik
9b73edfa19
chore(docs): fix invalid markdown reference ( #5479 )
2021-02-18 11:12:08 -08:00
Naresh
cc749fe679
fix(android): added recent apps button ( #5331 )
2021-02-16 19:37:46 -08:00
Dmitry Gozman
99f8e1cf63
docs: document Android and friends ( #5415 )
...
These are experimental, currently available through `_android`.
2021-02-11 10:31:57 -08:00
Joel Einbinder
dca70abbd3
feat(chromium): connect to a browser over cdp ( #5207 )
2021-02-10 14:00:02 -08:00
Dmitry Gozman
c12374ea07
feat(docs): improve link validation ( #5394 )
2021-02-10 07:13:14 -08:00
Dmitry Gozman
78ab2955f3
fix(isVisible): do not wait for the selector to be resolved ( #5393 )
2021-02-10 07:12:43 -08:00
Yury Semikhatsky
3695dab1d5
docs: split RecordVideo object into dir and size options in java ( #5389 )
2021-02-09 16:44:50 -08:00
Joel Einbinder
7e757cd531
fix(types): regenerate types for latest doc changes ( #5353 )
2021-02-08 08:22:54 -08:00
Pavel Feldman
fe2c529fda
docs: complete sentences with full stop ( #5298 )
2021-02-03 18:25:06 -08:00
Pavel Feldman
34adc28ed3
feat(pause): make page.pause public ( #5288 )
2021-02-03 16:01:51 -08:00
Dmitry Gozman
53ed35ef96
feat(dialogs): auto-dismiss dialogs when there are no listeners ( #5269 )
...
This makes dialogs disappear and prevents stalling.
Pros:
- No need to worry about dialogs for most users.
- Those that wait for a specific dialog still get to control it.
Cons:
- Those who use Playwright to show interactive browser will have
to add an empty 'dialog' handler to prevent auto-dismiss.
We do this in cli.
2021-02-03 10:34:45 -08:00
Yury Semikhatsky
4cd0d3e5da
docs: change StorageState type to string in java and C# ( #5268 )
2021-02-02 17:48:32 -08:00
Dmitry Gozman
d96c547389
docs: note that user data dir is a parent of profile path ( #5262 )
...
Copied from https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md#current-location
to help users that copy "Profile Path" to be used as user data dir.
2021-02-02 13:28:41 -08:00
Yury Semikhatsky
cee394d6e0
docs: split ignoreDefaultArgs into 2 options for java ( #5251 )
2021-02-02 10:46:36 -08:00
Pavel Feldman
1db5ef24a8
docs: document electron api ( #5229 )
2021-02-01 11:43:26 -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
ff6b2b1dd4
chore: make emulate media params be options ( #5172 )
2021-01-27 14:19:37 -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
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
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
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
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
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
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
Pavel Feldman
4cd989c653
docs: introduce deprecation annotation and any type ( #4930 )
2021-01-07 11:11:40 -08:00
Pavel Feldman
913f85249f
docs: make all links relative ( #4926 )
2021-01-06 20:02:51 -08:00
Yury Semikhatsky
0f8d7ec0a6
docs: improve waitForElementState documentation ( #4883 )
2021-01-05 10:56:02 -08:00
Pavel Feldman
31ffeb32e3
doc: further align docs w/ playwright.dev (2) ( #4871 )
2021-01-04 13:50:29 -08:00
Pavel Feldman
e0e836cb6e
doc: split classes into files ( #4864 )
2021-01-01 15:17:27 -08:00
Pavel Feldman
ba291372e7
docs: generate all docs off docs-src ( #4858 )
2020-12-30 18:04:51 -08:00
Pavel Feldman
9817d1095a
doc: generator code health (3) ( #4850 )
2020-12-29 12:12:46 -08:00
Dmitry Gozman
94077e0e74
chore: remove JS types checker, rely on typescript ( #4831 )
...
chore: remove JS types checker, rely on typescript
We keep checking that all methods are documented, and no extra methods
are documented, but rely on typescript for everything else.
2020-12-28 10:54:47 -08:00
Pavel Feldman
a446792c18
docs: generate api.md off documentation model ( #4832 )
2020-12-28 07:03:09 -08:00
Dmitry Gozman
34c1b338be
feat(types): make our client classes implement public types ( #4817 )
...
This patch:
- introduces non-exported but used in api/impl struct types (e.g. Point);
- makes all client classes implement respective public api interface.
Pros:
- Typescript is now responsible for type checking.
We can remove our doclint checker (not removed yet).
- Electron and Android types can be defined in the same way
(this is not implemented yet).
- We can move most of the type structs like Point to the public api
and make some of them available.
Cons:
- Any cons?
2020-12-26 17:05:57 -08:00
Pavel Feldman
15cdfd1cc1
chore: generate types, api.json off md rather than html ( #4825 )
2020-12-26 14:31:41 -08:00