Class Driver
java.lang.Object
com.microsoft.playwright.impl.driver.Driver
- Direct Known Subclasses:
Driver.PreinstalledDriver,DriverJar
This class provides access to playwright-cli. It can be either preinstalled
in the host system and its path is passed as a system property or it can be
loaded from the driver-bundle module if that module is in the classpath.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DrivercreateAndInstall(Map<String, String> env, Boolean installBrowsers) protected abstract Pathstatic DriverensureDriverInstalled(Map<String, String> env, Boolean installBrowsers) private static Stringprotected abstract voidinitialize(Boolean installBrowsers) private voidinitialize(Map<String, String> env, Boolean installBrowsers) protected static voidlogMessage(String message) private static Driver