Skip to content

Commit 108f5c6

Browse files
committed
use Paths.get
1 parent be0e846 commit 108f5c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright/src/main/java/com/microsoft/playwright/impl/BrowserContextImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ enum EventType {
114114

115115
JsonObject recordVideo = initializer.getAsJsonObject("options").getAsJsonObject("recordVideo");
116116
if (recordVideo != null) {
117-
this.videosDir = Path.of(recordVideo.get("dir").getAsString());
117+
this.videosDir = Paths.get(recordVideo.get("dir").getAsString());
118118
}
119119
}
120120

0 commit comments

Comments
 (0)