playwright-java/scripts/playwright.java

18 lines
700 B
Java
Raw Normal View History

///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 ```
public class playwright {
public static void main(String... args) throws Exception {
com.microsoft.playwright.CLI.main(args);
}
}