docs(java): fix Java doc of playwright create method (#20356)

This commit is contained in:
chamu228 2023-01-25 14:21:16 +05:30 committed by GitHub
parent 1196b4f0f5
commit 112c7bda45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/");