Class Screenshot
- java.lang.Object
-
- com.zebrunner.agent.core.registrar.Screenshot
-
public final class Screenshot extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Screenshot()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidupload(byte[] screenshot, java.lang.Long capturedAtMillis)Sends screenshot captured in scope of current test execution to Zebrunner.
-
-
-
Method Detail
-
upload
public static void upload(byte[] screenshot, java.lang.Long capturedAtMillis)Sends screenshot captured in scope of current test execution to Zebrunner. Captured at timestamp accuracy matters - it is strongly recommended to explicitly set this value. Ifnullis provided - it will be generated automatically- Parameters:
screenshot- screenshot bytescapturedAtMillis- unix timestamp representing a moment in time when screenshot got captured in milliseconds
-
-