Protocol

XCUIScreenshotProviding

A type that can provide a screenshot of its current UI state.

Declaration

@protocol XCUIScreenshotProviding

Overview

Call this protocol's screenshot method on an XCUIScreen or XCUIElement to capture a screenshot of its current UI state.

Topics

Taking a Screenshot

- screenshot

Takes a screenshot of a screen or UI element’s current visual state.

Required.

Relationships

Inherits From

Conforming Types

See Also

Screenshots

XCUIScreen

A physical screen attached to a device.

XCUIScreenshot

A captured image of a screen, app, or UI element state.