forked from microsoft/playwright-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaywright.java
More file actions
executable file
·18 lines (16 loc) · 849 Bytes
/
playwright.java
File metadata and controls
executable file
·18 lines (16 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS com.microsoft.playwright:playwright:RELEASE
//DESCRIPTION Playwright lets you automate Chromium, Firefox and Webkit with a single API.
//DESCRIPTION With this cli you can install, trace, generate pdf and screenshots and more.
//DESCRIPTION
//DESCRIPTION Example on how to record and run a script:
//DESCRIPTION ```
//DESCRIPTION jbang playwright@microsoft/playwright-java codegen -o Example.java`
//DESCRIPTION jbang --deps com.microsoft.playwright:playwright:RELEASE Example.java
//DESCRIPTION ```
// NOTE: this file is referenced from https://github.com/microsoft/jbang-catalog/blob/702c9b4355c76ae6f7294e1aaf6f2698b03631aa/jbang-catalog.json#L17
public class playwright {
public static void main(String... args) throws Exception {
com.microsoft.playwright.CLI.main(args);
}
}