Extensions

The following extensions are available globally.

  • Note: string value can be a RawRepresentable and String at the same time

    for example: let element: XCUIElement = "SomeString".element

    See more

    Declaration

    Swift

    extension String: RawRepresentable
  • Get the XCUIElement from RawRepresentable’s RawValue which also been used as accessibilityIdentifier

    See more

    Declaration

    Swift

    public extension RawRepresentable where RawValue == String