Package 

Class AbstractTargetSession

    • Method Summary

      Modifier and Type Method Description
      final AllDomainsTarget unsafe() Gives access to all domains of the protocol, regardless of the type of this session.
      final Unit closeWebSocket() Closes the underlying web socket connection, effectively closing every session based on the same web socket connection.
      • 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

      • unsafe

         final AllDomainsTarget unsafe()

        Gives access to all domains of the protocol, regardless of the type of this session.

        This should only be used as a workaround when a domain is missing in the current typed API, but is known to be available.

        If you need to use this method, please also open an issue so that the properly typed API is added: https://github.com/joffrey-bion/chrome-devtools-kotlin/issues

      • closeWebSocket

         final Unit closeWebSocket()

        Closes the underlying web socket connection, effectively closing every session based on the same web socket connection.