Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Attributes: Application, 0x604000198050, pid: 18393, {{0.0, 0.0}, {414.0, 736.0}}, label: 'MyApp'
- Element subtree:
- →Application, 0x604000198050, pid: 18393, {{0.0, 0.0}, {414.0, 736.0}}, label: 'MyApp'
- Window, 0x6000001993d0, Main Window, {{0.0, 0.0}, {414.0, 736.0}}
- Other, 0x604000199a50, traits: 8589934592, {{0.0, 0.0}, {414.0, 736.0}}
- Other, 0x600000197aa0, traits: 8589934592, {{0.0, 20.0}, {414.0, 56.0}}, identifier: 'MySearchBar'
- Image, 0x604000198390, traits: 8589934596, {{0.0, 0.0}, {414.0, 76.0}}
- SearchField, 0x60000019a4e0, traits: 146031248384, {{8.0, 30.0}, {398.0, 36.0}}
- let searchField = XCUIApplication().otherElements["MySearchBar"].searchFields.firstMatch
- searchField.tap()
- searchField.typeText("Hello")
Add Comment
Please, Sign In to add comment