1
0
mirror of synced 2026-07-24 09:15:08 +00:00

fix: updated dead links to use playwright homepage

This commit is contained in:
Nour Z
2023-05-23 18:27:55 -04:00
committed by GitHub
parent 8547c706ea
commit 7f3db2ff46
3 changed files with 4 additions and 4 deletions
@@ -24,7 +24,7 @@ public class WebKitScreenshot {
try (Playwright playwright = Playwright.create()) {
Browser browser = playwright.webkit().launch();
Page page = browser.newPage();
page.navigate("http://whatsmyuseragent.org/");
page.navigate("https://playwright.dev/");
page.screenshot(new Page.ScreenshotOptions().setPath(Paths.get("example.png")));
}
}