Class IsolatedPageCreator

  • All Implemented Interfaces:
    PageCreator

    public class IsolatedPageCreator
    extends java.lang.Object
    implements PageCreator
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.github.kklisura.cdt.services.impl.ChromeDevToolsServiceImpl getBrowserDevToolsService​(com.github.kklisura.cdt.services.ChromeService chromeService)  
      protected com.github.kklisura.cdt.services.types.ChromeTab getTab​(com.github.kklisura.cdt.services.ChromeService chromeService, java.lang.String tabId)  
      static IsolatedPageCreator instance()  
      <T> T runInPage​(ChromeInstanceHandle chromeInstance, java.util.function.Function<com.github.kklisura.cdt.services.ChromeDevToolsService,​T> tabAction)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IsolatedPageCreator

        public IsolatedPageCreator()
    • Method Detail

      • runInPage

        public <T> T runInPage​(ChromeInstanceHandle chromeInstance,
                               java.util.function.Function<com.github.kklisura.cdt.services.ChromeDevToolsService,​T> tabAction)
        Specified by:
        runInPage in interface PageCreator
      • getTab

        protected com.github.kklisura.cdt.services.types.ChromeTab getTab​(com.github.kklisura.cdt.services.ChromeService chromeService,
                                                                          java.lang.String tabId)
      • getBrowserDevToolsService

        protected com.github.kklisura.cdt.services.impl.ChromeDevToolsServiceImpl getBrowserDevToolsService​(com.github.kklisura.cdt.services.ChromeService chromeService)