From 086dec364b1c1d0bb744639454a4e8c76e3c30b7 Mon Sep 17 00:00:00 2001 From: Faisal Salman Date: Thu, 23 Mar 2023 22:19:17 +0700 Subject: [PATCH] docs(java): fix syntax error in Java example of JSHandle.getProperties (#21901) --- docs/src/api/class-jshandle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/api/class-jshandle.md b/docs/src/api/class-jshandle.md index 4229f739cc..4a7801e23a 100644 --- a/docs/src/api/class-jshandle.md +++ b/docs/src/api/class-jshandle.md @@ -140,7 +140,7 @@ await handle.dispose(); ``` ```java -JSHandle handle = page.evaluateHandle("() => ({window, document}");); +JSHandle handle = page.evaluateHandle("() => ({window, document})"); Map properties = handle.getProperties(); JSHandle windowHandle = properties.get("window"); JSHandle documentHandle = properties.get("document");