-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public final class BrowserInstanceManager implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description BrowserInstanceManager()
-
Method Summary
Modifier and Type Method Description final BooleanhasLaunched(ChromeDevtoolsOptions launchOptions)final BrowserInstancelaunchIfAbsent(LauncherConfig launcherConfig, ChromeDevtoolsOptions launchOptions)final UnitcloseIfPresent(Path dataDir)Unitclose()-
-
Method Detail
-
hasLaunched
@Synchronized() final Boolean hasLaunched(ChromeDevtoolsOptions launchOptions)
-
launchIfAbsent
@Synchronized() final BrowserInstance launchIfAbsent(LauncherConfig launcherConfig, ChromeDevtoolsOptions launchOptions)
-
closeIfPresent
@Synchronized() final Unit closeIfPresent(Path dataDir)
-
close
@Synchronized() Unit close()
-
-
-
-