We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07867c2 commit a7830ebCopy full SHA for a7830eb
1 file changed
driver-bundle/src/main/java/com/microsoft/playwright/impl/driver/jar/DriverJar.java
@@ -114,7 +114,7 @@ private FileSystem initFileSystem(URI uri) throws IOException {
114
}
115
116
public static URI getDriverResourceURI() throws URISyntaxException {
117
- ClassLoader classloader = Thread.currentThread().getContextClassLoader();
+ ClassLoader classloader = DriverJar.class.getClassLoader();
118
return classloader.getResource("driver/" + platformDir()).toURI();
119
120
0 commit comments