fun userCapture(): ScreenImage
Same as userCapture(null)
(Use default prompt string)
fun userCapture(string: String?): ScreenImage
Shows a user prompt using a JavaScript alert. User will be required to click two separate locations. First click will be the top left corner of the image. Second click will be the bottom right. Selected area will be showing with a highlight to aid users.
string
- Prompt string to show. Can be null
to show default.
Return
The captured image.