mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-27 21:58:52 +03:00
docs(java): fix syntax error in Java example of JSHandle.getProperties (#21901)
This commit is contained in:
parent
3477c89f20
commit
086dec364b
@ -140,7 +140,7 @@ await handle.dispose();
|
||||
```
|
||||
|
||||
```java
|
||||
JSHandle handle = page.evaluateHandle("() => ({window, document}"););
|
||||
JSHandle handle = page.evaluateHandle("() => ({window, document})");
|
||||
Map<String, JSHandle> properties = handle.getProperties();
|
||||
JSHandle windowHandle = properties.get("window");
|
||||
JSHandle documentHandle = properties.get("document");
|
||||
|
Loading…
Reference in New Issue
Block a user