Class ChromePage


  • public class ChromePage
    extends java.lang.Object
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Constructor Summary

      Constructors 
      Constructor Description
      ChromePage​(com.github.kklisura.cdt.services.ChromeDevToolsService devToolsService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] captureScreenshot​(int width, int height, double zoomFactor)  
      protected void checkException​(com.github.kklisura.cdt.protocol.types.runtime.ExceptionDetails exceptionDetails)  
      <T> T evaluatePromise​(java.lang.String promiseScript)  
      • Methods inherited from class java.lang.Object

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

      • ChromePage

        public ChromePage​(com.github.kklisura.cdt.services.ChromeDevToolsService devToolsService)
    • Method Detail

      • evaluatePromise

        public <T> T evaluatePromise​(java.lang.String promiseScript)
      • checkException

        protected void checkException​(com.github.kklisura.cdt.protocol.types.runtime.ExceptionDetails exceptionDetails)
      • captureScreenshot

        public byte[] captureScreenshot​(int width,
                                        int height,
                                        double zoomFactor)