Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ the wiki for v1 docs. It is recommended to upgrade to v2.0. Migration help can
<dependency>
<groupId>io.github.uchagani</groupId>
<artifactId>junit-playwright</artifactId>
<version>2.0</version>
<version>2.2.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.uchagani</groupId>
<artifactId>junit-playwright</artifactId>
<version>2.2.1</version>
<version>2.2.2</version>

<name>junit-playwright</name>
<description>junit-playwright allows you to easily run Playwright-Java tests in parallel</description>
Expand Down
28 changes: 14 additions & 14 deletions src/main/java/io/github/uchagani/jp/BrowserConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class BrowserConfig {
private boolean saveTraceOnlyOnFailure = false;
private Path outputDirectory = Paths.get("test-results");

Path getOutputDirectory() {
public Path getOutputDirectory() {
return outputDirectory;
}

Expand All @@ -32,11 +32,11 @@ public BrowserConfig setOutputDirectory(Path outputDirectory) {
return this;
}

boolean getEnableTracing() {
public boolean getEnableTracing() {
return enableTracing;
}

boolean getSaveTraceOnlyOnFailure() {
public boolean getSaveTraceOnlyOnFailure() {
return saveTraceOnlyOnFailure;
}

Expand All @@ -55,11 +55,11 @@ public BrowserConfig setNewContextOptions(Browser.NewContextOptions options) {
return this;
}

Browser.NewContextOptions getNewContextOptions() {
public Browser.NewContextOptions getNewContextOptions() {
return newContextOptions;
}

Playwright.CreateOptions getPlaywrightCreateOptions() {
public Playwright.CreateOptions getPlaywrightCreateOptions() {
return playwrightCreateOptions;
}

Expand All @@ -68,7 +68,7 @@ public BrowserConfig setPlaywrightCreateOptions(Playwright.CreateOptions playwri
return this;
}

BrowserChoice getBrowser() {
public BrowserChoice getBrowser() {
return browser;
}

Expand All @@ -87,15 +87,15 @@ public BrowserConfig webkit() {
return this;
}

BrowserCreateMethod getCreateMethod() {
public BrowserCreateMethod getCreateMethod() {
return createMethod;
}

String getEndpointUrl() {
public String getEndpointUrl() {
return endpointUrl;
}

BrowserType.ConnectOverCDPOptions getConnectOverCDPOptions() {
public BrowserType.ConnectOverCDPOptions getConnectOverCDPOptions() {
return connectOverCDPOptions;
}

Expand All @@ -111,11 +111,11 @@ public BrowserConfig connectOverCDP(String endpointUrl) {
return this;
}

String getWsEndpoint() {
public String getWsEndpoint() {
return wsEndpoint;
}

BrowserType.ConnectOptions getConnectOptions() {
public BrowserType.ConnectOptions getConnectOptions() {
return connectOptions;
}

Expand All @@ -131,7 +131,7 @@ public BrowserConfig connect(String wsEndpoint) {
return this;
}

BrowserType.LaunchOptions getLaunchOptions() {
public BrowserType.LaunchOptions getLaunchOptions() {
return launchOptions;
}

Expand All @@ -146,11 +146,11 @@ public BrowserConfig launch() {
return this;
}

Path getUserDataDir() {
public Path getUserDataDir() {
return userDataDir;
}

BrowserType.LaunchPersistentContextOptions getLaunchPersistentContextOptions() {
public BrowserType.LaunchPersistentContextOptions getLaunchPersistentContextOptions() {
return launchPersistentContextOptions;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/uchagani/jp/RestConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
public class RestConfig {
private APIRequest.NewContextOptions apiRequestContextOptions;

APIRequest.NewContextOptions getAPIRequestContextOptions() {
public APIRequest.NewContextOptions getAPIRequestContextOptions() {
return apiRequestContextOptions;
}

Expand Down