mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(java): fix Java doc of playwright create method (#20356)
This commit is contained in:
parent
1196b4f0f5
commit
112c7bda45
@ -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/");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user