EventFiringDecorator instance throws OutOfMemoryError while capturing full page screenshot
RameshBabuPrudhvi opened this issue · 0 comments
RameshBabuPrudhvi commented
webDriver = new EventFiringDecorator(eventCapture).decorate(webDriver);
java.lang.OutOfMemoryError: Java heap space
at java.desktop/java.awt.image.DataBufferByte.(DataBufferByte.java:76)
at java.desktop/java.awt.image.Raster.createInterleavedRaster(Raster.java:266)
at java.desktop/java.awt.image.BufferedImage.(BufferedImage.java:391)
at io.github.selcukes.snapshot.DefaultPageSnapshot.defaultPageScreenshot(DefaultPageSnapshot.java:71)
at io.github.selcukes.snapshot.DefaultPageSnapshot.getDefaultPageSnapshot(DefaultPageSnapshot.java:25)
at io.github.selcukes.snapshot.PageSnapshot.getFullScreenshotAs(PageSnapshot.java:38)