Class DriverJar
java.lang.Object
com.microsoft.playwright.impl.driver.Driver
com.microsoft.playwright.impl.driver.jar.DriverJar
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Path(package private) voidstatic URIprivate FileSysteminitFileSystem(URI uri) protected voidinitialize(Boolean installBrowsers) private voidinstallBrowsers(Map<String, String> env) private static booleanisExecutable(Path filePath) private URImaybeExtractNestedJar(URI uri) private static StringMethods inherited from class com.microsoft.playwright.impl.driver.Driver
createAndInstall, createProcessBuilder, driverPath, ensureDriverInstalled, logMessage
-
Field Details
-
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD
- See Also:
-
SELENIUM_REMOTE_URL
- See Also:
-
PLAYWRIGHT_NODEJS_PATH
- See Also:
-
driverTempDir
-
preinstalledNodePath
-
-
Constructor Details
-
DriverJar
- Throws:
IOException
-
-
Method Details
-
initialize
- Specified by:
initializein classDriver- Throws:
Exception
-
installBrowsers
- Throws:
IOExceptionInterruptedException
-
isExecutable
-
initFileSystem
- Throws:
IOException
-
getDriverResourceURI
- Throws:
URISyntaxException
-
extractDriverToTempDir
- Throws:
URISyntaxExceptionIOException
-
maybeExtractNestedJar
- Throws:
URISyntaxException
-
platformDir
-
driverDir
-