A type that can provide a screenshot of its current UI state.
On This Page
Call this protocol's screenshot() method on an XCUIScreen or XCUIElement to capture a screenshot of its current UI state.
func screenshot() -> XCUIScreenshot
Takes a screenshot of a screen or UI element’s current visual state.
A physical screen attached to a device.
A captured image of a screen, app, or UI element state.