main
The current device’s main screen.
Declaration
class var main: XCUIScreen { get }Discussion
On macOS, main represents the screen that owns the menu bar. On iOS and tvOS, main represents the primary screen of the device.
The current device’s main screen.
class var main: XCUIScreen { get }On macOS, main represents the screen that owns the menu bar. On iOS and tvOS, main represents the primary screen of the device.