From 112c7bda45134bd017c8854f4efe14b66dffc241 Mon Sep 17 00:00:00 2001 From: chamu228 <94953567+chamu228@users.noreply.github.com> Date: Wed, 25 Jan 2023 14:21:16 +0530 Subject: [PATCH] docs(java): fix Java doc of playwright create method (#20356) --- docs/src/api/java.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/api/java.md b/docs/src/api/java.md index f4460d9b13..51e43b8c78 100644 --- a/docs/src/api/java.md +++ b/docs/src/api/java.md @@ -55,7 +55,7 @@ Terminates this instance of Playwright, will also close all created browsers if Launches new Playwright driver process and connects to it. [`method: Playwright.close`] should be called when the instance is no longer needed. ```java -Playwright playwright = Playwright.create()) { +Playwright playwright = Playwright.create(); Browser browser = playwright.webkit().launch(); Page page = browser.newPage(); page.navigate("https://www.w3.org/");