Model Device Screen for UI Testing Create a Screen protocol that requires one XCUIApplication object. Screen Protocol protocol Screen { var app: XCUIApplication { get set } }