Crate objc2_xc_ui_automation

Crate objc2_xc_ui_automation 

Source
Expand description

§Bindings to the XCUIAutomation framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

XCUIAccessibilityAuditIssue
Represents an issue returned by an accessibility audit.
XCUIAccessibilityAuditType
Bitmasks for use with [XCUIApplication performAccessibilityAuditWithAuditTypes:issueHandler:error:]. These represent the types of audits that can be run, and they can be combined using bitwise OR.
XCUIApplication
Proxy for an application that may or may not be running.
XCUIApplicationState
Apple’s documentation
XCUICoordinate
A coordinate represents a location on screen, relative to some element. Coordinates are dynamic, just like the elements to which they refer, and may compute different screen locations at different times, or be invalid if the referenced element does not exist.
XCUIDevice
Represents a device, providing an interface for simulating events involving physical buttons and device state.
XCUIDeviceAppearance
Represents the light or dark UI style of a device.
XCUIElement
Elements are objects encapsulating the information needed to dynamically locate a user interface element in an application. Elements are described in terms of queries /seealso XCUIElementQuery.
XCUIElementQuery
Object for locating elements that can be chained with other queries.
XCUIElementType
Apple’s documentation
XCUIKeyModifierFlags
Apple’s documentation
XCUILocation
Represents a device’s simulated location by wrapping a CLLocation object from Core Location
XCUIProtectedResource
Apple’s documentation
XCUIRemoteButton
A button on a physical remote control.
XCUIScreen
Represents an active screen of a device. One screen of each device is designated as the “main” screen, on macOS that is the one owning the menu bar, on other platforms it is the primary screen of the device.
XCUIScreenshot
Represents a captured screenshot.
XCUISystem
Represents a device’s base system, providing an interface for performing OS-specific actions like opening universal links.
XCUIUserInterfaceSizeClass
Apple’s documentation

Statics§

XCUIElementAttributeNameChildren
An array of the element’s children.
XCUIElementAttributeNameElementType
The element’s type, an NSNumber-wrapped XCUIElementType.
XCUIElementAttributeNameEnabled
True if the element is enabled, false otherwise, an NSNumber-wrapped BOOL.
XCUIElementAttributeNameFrame
A dictionary representation of the element’s frame, as returned by CGRectCreateDictionaryRepresentation.
XCUIElementAttributeNameHasFocus
True if the element is focused, false otherwise, an NSNumber-wrapped BOOL.
XCUIElementAttributeNameHorizontalSizeClass
The element’s horizontal size class, an NSNumber-wrapped XCUIUserInterfaceSizeClass.
XCUIElementAttributeNameIdentifier
The element’s accessibility identifier.
XCUIElementAttributeNameLabel
The element’s label.
XCUIElementAttributeNamePlaceholderValue
The element’s placeholder value.
XCUIElementAttributeNameSelected
True if the element is selected, false otherwise, an NSNumber-wrapped BOOL.
XCUIElementAttributeNameTitle
The element’s title.
XCUIElementAttributeNameValue
The element’s accessibility value, an NSString or NSNumber.
XCUIElementAttributeNameVerticalSizeClass
The element’s vertical size class, an NSNumber-wrapped XCUIUserInterfaceSizeClass.
XCUIGestureVelocityDefaultobjc2-core-foundation
Apple’s documentation
XCUIGestureVelocityFastobjc2-core-foundation
Apple’s documentation
XCUIGestureVelocitySlowobjc2-core-foundation
Apple’s documentation
XCUIIdentifierCloseWindow
Apple’s documentation
XCUIIdentifierFullScreenWindow
Apple’s documentation
XCUIIdentifierMinimizeWindow
Apple’s documentation
XCUIIdentifierZoomWindow
Apple’s documentation
XCUIKeyboardKeyCapsLock
Apple’s documentation
XCUIKeyboardKeyClear
Apple’s documentation
XCUIKeyboardKeyCommand
Apple’s documentation
XCUIKeyboardKeyControl
Apple’s documentation
XCUIKeyboardKeyDelete
Apple’s documentation
XCUIKeyboardKeyDownArrow
Apple’s documentation
XCUIKeyboardKeyEnd
Apple’s documentation
XCUIKeyboardKeyEnter
Apple’s documentation
XCUIKeyboardKeyEscape
Apple’s documentation
XCUIKeyboardKeyF1
Apple’s documentation
XCUIKeyboardKeyF2
Apple’s documentation
XCUIKeyboardKeyF3
Apple’s documentation
XCUIKeyboardKeyF4
Apple’s documentation
XCUIKeyboardKeyF5
Apple’s documentation
XCUIKeyboardKeyF6
Apple’s documentation
XCUIKeyboardKeyF7
Apple’s documentation
XCUIKeyboardKeyF8
Apple’s documentation
XCUIKeyboardKeyF9
Apple’s documentation
XCUIKeyboardKeyF10
Apple’s documentation
XCUIKeyboardKeyF11
Apple’s documentation
XCUIKeyboardKeyF12
Apple’s documentation
XCUIKeyboardKeyF13
Apple’s documentation
XCUIKeyboardKeyF14
Apple’s documentation
XCUIKeyboardKeyF15
Apple’s documentation
XCUIKeyboardKeyF16
Apple’s documentation
XCUIKeyboardKeyF17
Apple’s documentation
XCUIKeyboardKeyF18
Apple’s documentation
XCUIKeyboardKeyF19
Apple’s documentation
XCUIKeyboardKeyForwardDelete
Apple’s documentation
XCUIKeyboardKeyHelp
Apple’s documentation
XCUIKeyboardKeyHome
Apple’s documentation
XCUIKeyboardKeyLeftArrow
Apple’s documentation
XCUIKeyboardKeyOption
Apple’s documentation
XCUIKeyboardKeyPageDown
Apple’s documentation
XCUIKeyboardKeyPageUp
Apple’s documentation
XCUIKeyboardKeyReturn
Apple’s documentation
XCUIKeyboardKeyRightArrow
Apple’s documentation
XCUIKeyboardKeyRightCommand
Apple’s documentation
XCUIKeyboardKeyRightControl
Apple’s documentation
XCUIKeyboardKeyRightOption
Apple’s documentation
XCUIKeyboardKeyRightShift
Apple’s documentation
XCUIKeyboardKeySecondaryFn
Apple’s documentation
XCUIKeyboardKeyShift
Apple’s documentation
XCUIKeyboardKeySpace
Apple’s documentation
XCUIKeyboardKeyTab
Apple’s documentation
XCUIKeyboardKeyUpArrow
Apple’s documentation

Traits§

XCUIElementAttributes
Protocol describing the attributes exposed on user interface elements and available during query matching. These attributes represent data exposed to the Accessibility system.
XCUIElementSnapshot
Apple’s documentation
XCUIElementSnapshotProviding
Apple’s documentation
XCUIElementTypeQueryProvider
Apple’s documentation
XCUIScreenshotProviding
Apple’s documentation

Type Aliases§

XCUIElementAttributeName
such as the dictionaries returned by XCUIElement.dictionaryRepresentation.
XCUIGestureVelocityobjc2-core-foundation
Apple’s documentation
XCUIKeyboardKey
Constants for use with -[XCUIElement typeKey:modifierFlags:], representing keys that have no textual representation. These comprise the set of control, function, and modifier keys found on most keyboards.