public class ScreenCaptureUtil extends Object
| Constructor and Description |
|---|
ScreenCaptureUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
capture(String dir,
String testClassName,
String testCaseName,
Rectangle screenArea)
Captures screenshot and return the name of screenshot.
|
static Dimension |
getScreenSize() |
public static Dimension getScreenSize()
Copyright © 2021. All rights reserved.