Class WebdriverPhotographer

  • All Implemented Interfaces:
    Photographer

    public class WebdriverPhotographer
    extends java.lang.Object
    implements Photographer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> java.util.Optional<T> takeScreenshot​(Driver driver, org.openqa.selenium.OutputType<T> outputType)  
      • Methods inherited from class java.lang.Object

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

      • WebdriverPhotographer

        public WebdriverPhotographer()
    • Method Detail

      • takeScreenshot

        public <T> java.util.Optional<T> takeScreenshot​(Driver driver,
                                                        org.openqa.selenium.OutputType<T> outputType)
        Specified by:
        takeScreenshot in interface Photographer