mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00: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…
x
Reference in New Issue
Block a user