String
extension String: RawRepresentable
Note: string value can be a RawRepresentable and String at the same time
for example:
let element: XCUIElement = "SomeString".element
-
Declaration
Swift
public var rawValue: String { get }
-
Declaration
Swift
public init?(rawValue: String)