Contents

XCUIScreenshotProviding

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

Declaration

@MainActor protocol XCUIScreenshotProviding : NSObjectProtocol

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

See Also

Screenshots