Selenium_Selenide_Playwrigh.../Playwright.md

44 lines
1.2 KiB
Markdown
Raw Normal View History

2023-08-22 14:45:51 +00:00
Playwright java můžeme používat s Selenidem, Junit nebo třeba TestNG
Nejlepší výsledky Playwright budou s TypeScript(repozitář Playwright_TS)
pom:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>playwright</artifactId>
<version>1.36.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.8.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<!-- References to interface static methods are allowed only at source level 1.8 or above -->
<configuration>
<source>20</source>
<target>20</target>
</configuration>
</plugin>
</plugins>
</build>