-
- All Implemented Interfaces:
-
org.hildan.chrome.devtools.targets.BrowserTarget
public final class ChromeBrowserSession extends AbstractTargetSession implements BrowserTarget
A browser session, usually created when initially connecting to the browser's debugger.
-
-
Field Summary
Fields Modifier and Type Field Description private final BrowserDomainbrowserprivate final IODomainioprivate final MemoryDomainmemoryprivate final SecurityDomainsecurityprivate final StorageDomainstorageprivate final SystemInfoDomainsystemInfoprivate final TargetDomaintargetprivate final TetheringDomaintetheringprivate final TracingDomaintracingprivate final FetchDomainfetch
-
Method Summary
Modifier and Type Method Description final Unitclose()Closes this session and the underlying web socket connection. BrowserDomaingetBrowser()The Browser domain defines methods and events for browser managing. IODomaingetIo()Input/Output operations for streams produced by DevTools. MemoryDomaingetMemory()SecurityDomaingetSecurity()Security StorageDomaingetStorage()SystemInfoDomaingetSystemInfo()The SystemInfo domain defines methods and events for querying low-level system information. TargetDomaingetTarget()Supports additional targets discovery and allows to attach to them. TetheringDomaingetTethering()The Tethering domain defines methods and events for browser port binding. TracingDomaingetTracing()FetchDomaingetFetch()A domain for letting clients substitute browser's network layer with client code. -
Methods inherited from class org.hildan.chrome.devtools.targets.ChromeBrowserSession
closeWebSocket, unsafe -
Methods inherited from class org.hildan.chrome.devtools.targets.AbstractTargetSession
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
close
final Unit close()
Closes this session and the underlying web socket connection. This effectively closes every session based on the same web socket connection.
-
getBrowser
BrowserDomain getBrowser()
The Browser domain defines methods and events for browser managing.
-
getMemory
MemoryDomain getMemory()
-
getSecurity
SecurityDomain getSecurity()
Security
-
getStorage
StorageDomain getStorage()
-
getSystemInfo
SystemInfoDomain getSystemInfo()
The SystemInfo domain defines methods and events for querying low-level system information.
-
getTarget
TargetDomain getTarget()
Supports additional targets discovery and allows to attach to them.
-
getTethering
TetheringDomain getTethering()
The Tethering domain defines methods and events for browser port binding.
-
getTracing
TracingDomain getTracing()
-
getFetch
FetchDomain getFetch()
A domain for letting clients substitute browser's network layer with client code.
-
-
-
-