class Playwright::JSHandle
def get_properties
handle.dispose()
document_handle = properties.get("document")
window_handle = properties.get("window")
properties = handle.get_properties()
handle = page.evaluate_handle("({ window, document })")
```python sync
**Usage**
The method returns a map with **own property names** as keys and JSHandle instances for the property values.
def get_properties wrap_impl(@impl.get_properties) end