Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(api.md): clarify `jshandle.getProperties()` method (#1594)

Andrey Lushnikoveabba567bcac
diff --git a/docs/api.md b/docs/api.md
index ad48ceb914..bb4446a21e 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -2871,7 +2871,7 @@ See [page.evaluateHandle()](#pageevaluatehandlepagefunction-arg) for more detail
#### jsHandle.getProperties()
- returns: <[Promise]<[Map]<[string], [JSHandle]>>>
-The method returns a map with property names as keys and JSHandle instances for the property values.
+The method returns a map with **own property names** as keys and JSHandle instances for the property values.
```js
const handle = await page.evaluateHandle(() => ({window, document}));