-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public interface Browser implements AutoCloseable
A Browser is created via {@link BrowserFactory#launch BrowserFactory.launch()}.
-
-
Method Summary
Modifier and Type Method Description abstract UnitregisterShutdownHook()abstract WebDrivernewDriver()abstract Unitawait()abstract UnitsignalAll()abstract UnitonWillNavigate(NavigateEntry entry)abstract BrowserInstanceIdgetId()abstract List<NavigateEntry>getNavigateHistory()abstract Queue<WebDriver>getDrivers()abstract BooleangetIsIdle()abstract ObjectgetShutdownMonitor()Synchronization monitor for the "refresh" and "destroy" abstract ThreadgetShutdownHook()Reference to the JVM shutdown hook, if registered -
-
Method Detail
-
registerShutdownHook
abstract Unit registerShutdownHook()
-
onWillNavigate
abstract Unit onWillNavigate(NavigateEntry entry)
-
getId
abstract BrowserInstanceId getId()
-
getNavigateHistory
abstract List<NavigateEntry> getNavigateHistory()
-
getDrivers
abstract Queue<WebDriver> getDrivers()
-
getShutdownMonitor
abstract Object getShutdownMonitor()
Synchronization monitor for the "refresh" and "destroy"
-
getShutdownHook
abstract Thread getShutdownHook()
Reference to the JVM shutdown hook, if registered
-
-
-
-