Package 

Class ChromePageSession

    • Method Summary

      Modifier and Type Method Description
      final Unit detach() Detaches from this page session, leaving the tab open.
      final Unit close() Closes this page session.
      final ChromeBrowserSession getParent() The parent session which created this page target.
      final ChromePageMetaData getMetaData() Info about the underlying page target.
      • Methods inherited from class org.hildan.chrome.devtools.targets.ChromePageSession

        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

      • detach

         final Unit detach()

        Detaches from this page session, leaving the tab open.

        This preserves the underlying web socket connection (of the parent browser session), because it could be used by other page sessions.

      • close

         final Unit close()

        Closes this page session.

        This only closes the corresponding tab, but preserves the underlying web socket connection (of the parent browser session), because it could be used by other page sessions.