diff --git a/src/test/playwright/demo/example.png b/src/test/playwright/demo/example.png new file mode 100644 index 000000000..9baf6a310 Binary files /dev/null and b/src/test/playwright/demo/example.png differ diff --git a/src/test/playwright/demo/pom.xml b/src/test/playwright/demo/pom.xml new file mode 100644 index 000000000..7d588c602 --- /dev/null +++ b/src/test/playwright/demo/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + + com.microsoft.playwright + playwright + 1.37.0 + + + com.example + demo + 1.0-SNAPSHOT + + + 1.8 + 1.8 + + + \ No newline at end of file diff --git a/src/test/playwright/demo/src/main/java/com/example/Main.java b/src/test/playwright/demo/src/main/java/com/example/Main.java new file mode 100644 index 000000000..fd9e230be --- /dev/null +++ b/src/test/playwright/demo/src/main/java/com/example/Main.java @@ -0,0 +1,14 @@ +package com.example; +import com.microsoft.playwright.*; +import java.nio.file.Paths; + +public class Main { + public static void main(String[] args) { + try (Playwright playwright = Playwright.create()) { + Browser browser = playwright.webkit().launch(); + Page page = browser.newPage(); + page.navigate("https://playwright.dev/"); + page.screenshot(new Page.ScreenshotOptions().setPath(Paths.get("example.png"))); + } + } +} \ No newline at end of file diff --git a/src/test/playwright/demo/target/classes/com/example/Main.class b/src/test/playwright/demo/target/classes/com/example/Main.class new file mode 100644 index 000000000..1a8fe2bd0 Binary files /dev/null and b/src/test/playwright/demo/target/classes/com/example/Main.class differ diff --git a/src/test/playwright/demo/target/demo-1.0-SNAPSHOT.jar b/src/test/playwright/demo/target/demo-1.0-SNAPSHOT.jar new file mode 100644 index 000000000..a5ed46618 Binary files /dev/null and b/src/test/playwright/demo/target/demo-1.0-SNAPSHOT.jar differ diff --git a/src/test/playwright/demo/target/maven-archiver/pom.properties b/src/test/playwright/demo/target/maven-archiver/pom.properties new file mode 100644 index 000000000..c822858e0 --- /dev/null +++ b/src/test/playwright/demo/target/maven-archiver/pom.properties @@ -0,0 +1,3 @@ +artifactId=demo +groupId=com.example +version=1.0-SNAPSHOT diff --git a/src/test/playwright/demo/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/src/test/playwright/demo/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 000000000..a6fad1567 --- /dev/null +++ b/src/test/playwright/demo/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1 @@ +com\example\Main.class diff --git a/src/test/playwright/demo/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/src/test/playwright/demo/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 000000000..39d9f1d3a --- /dev/null +++ b/src/test/playwright/demo/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1 @@ +C:\dev\spring-petclinic2\src\test\playwright\demo\src\main\java\com\example\Main.java diff --git a/src/test/playwright/demo/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/src/test/playwright/demo/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 000000000..e69de29bb diff --git a/src/test/playwright/demo/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/src/test/playwright/demo/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 000000000..e69de29bb