XCApplication UI Test issue ``` (lldb) po XCUIApplication() t = 94.11s Requesting snapshot of accessibility hierarchy for app with pid 21463 t = 94.49s Requesting snapshot of accessibility hierarchy for app with pid 21463 Attributes: Application, 0x1286a8910, pid: 21463, label: 'Kay Kay Box' Element subtree: →Application, 0x1286a8910, pid: 21463, label: 'Kay Kay Box' Window (Main), 0x1286a65c0, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x1286a4380, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x12869e0f0, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x1286a2d00, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x1286a8640, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x1286a0c70, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x1286a09a0, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x1286a06d0, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x12869ca70, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x12869fb90, {{-50.0, -50.0}, {1124.0, 868.0}} NavigationBar, 0x12869d2e0, {{0.0, 20.0}, {1024.0, 50.0}} Button, 0x128695de0, {{0.0, 20.0}, {60.0, 44.0}}, identifier: 'Back', label: 'Back' Button, 0x12869b910, {{60.0, 24.0}, {864.0, 42.0}}, identifier: 'Nowplaying title', label: 'TV' StaticText, 0x12869add0, {{60.0, 24.0}, {0.0, 0.0}} StaticText, 0x128697880, {{60.0, 24.0}, {864.0, 0.0}} StaticText, 0x1286960b0, {{60.0, 24.0}, {864.0, 42.0}}, label: 'TV' StaticText, 0x128694410, {{102.5, 24.0}, {22.5, 42.0}}, label: 'TV' Button, 0x128694d00, {{936.0, 29.0}, {32.0, 32.0}}, identifier: 'Now Playing List', label: 'Playlist' Button, 0x128690880, {{984.0, 29.0}, {32.0, 32.0}}, identifier: 'Show advanced playback controls.', label: 'Show advanced playback controls.' ScrollView, 0x128693060, {{0.0, 70.0}, {1024.0, 340.0}} Other, 0x128692ac0, {{0.0, 410.0}, {1024.0, 358.0}} Other, 0x128691690, {{0.0, 410.0}, {1024.0, 196.5}} Button, 0x1286910f0, {{490.0, 415.0}, {44.0, 14.0}}, identifier: 'Audio Quality Tag', label: 'Audio Quality', value: 192K StaticText, 0x128688c40, {{490.0, 415.0}, {0.0, 0.0}} StaticText, 0x12868b3a0, {{16.0, 434.0}, {992.0, 25.0}}, identifier: 'Song name', label: 'TV' StaticText, 0x12868bc10, {{16.0, 463.0}, {992.0, 20.0}}, identifier: 'Artist name', label: '吳卓源 (Julia Wu)' StaticText, 0x12868e640, {{460.0, 464.5}, {112.0, 17.0}}, label: '吳卓源 (Julia Wu)' Other, 0x12868b940, {{382.0, 557.5}, {260.0, 44.0}} Button, 0x12868ae00, {{382.0, 557.5}, {44.0, 44.0}}, identifier: 'Add', label: 'Add' Button, 0x128688f10, {{454.0, 557.5}, {44.0, 44.0}}, identifier: 'Collect this song', label: 'Collect this song' Button, 0x128687890, {{526.0, 557.5}, {44.0, 44.0}}, identifier: 'Share', label: 'Share' Button, 0x1286883d0, {{598.0, 557.5}, {44.0, 44.0}}, identifier: 'Show lyrics', label: 'Show lyrics' StaticText, 0x128685130, {{20.0, 614.5}, {31.5, 13.5}}, identifier: 'Current Time', label: 'Current Time', value: 1 min 13 sec Other, 0x1286872f0, {{61.5, 606.5}, {901.0, 30.0}}, identifier: 'Playing progress', label: 'Playing progress', value: Current time: One ... StaticText, 0x128687020, {{972.5, 614.5}, {31.5, 13.5}}, identifier: 'Duration', label: 'Duration', value: 3 min 42 sec Other, 0x128685c70, {{0.0, 628.0}, {1024.0, 100.0}} Button, 0x1286859a0, {{480.0, 644.0}, {64.0, 64.0}}, identifier: 'Stop playing', label: 'Stop playing' Button, 0x128683760, {{20.0, 658.0}, {36.0, 36.0}}, identifier: 'Repeat Off', label: 'Repeat Off' Button, 0x128683490, {{263.5, 658.0}, {36.0, 36.0}}, identifier: 'Play previous song', label: 'Play previous song' Button, 0x128682ef0, {{724.5, 658.0}, {36.0, 36.0}}, identifier: 'Play next song', label: 'Play next song' Button, 0x128681ac0, {{968.0, 658.0}, {36.0, 36.0}}, identifier: 'Sequential mode', label: 'Sequential mode' Other, 0x1286817f0, {{0.0, 728.0}, {1024.0, 40.0}} Button, 0x12867d080, {{472.0, 731.0}, {82.0, 34.0}}, label: 'Available cast devices' Other, 0x128683fd0, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x128678560, {{0.0, 0.0}, {1024.0, 768.0}} Image, 0x128678b00, {{455.0, -76.0}, {700.0, 651.0}} Other, 0x12867c170, {{0.0, 0.0}, {1024.0, 768.0}}, identifier: 'PopoverDismissRegion', label: 'dismiss popup' Popover, 0x128676e60, {{605.0, 61.0}, {400.0, 364.0}} Other, 0x1286776d0, {{605.0, 61.0}, {400.0, 364.0}} Other, 0x1286a7960, {{605.0, 61.0}, {400.0, 364.0}} Other, 0x1286b3e90, {{605.0, 61.0}, {400.0, 364.0}} Other, 0x1286a73c0, {{605.0, 61.0}, {400.0, 364.0}} Other, 0x1286a70f0, {{973.0, 61.0}, {32.0, 13.0}} Other, 0x1286a6880, {{605.0, 61.0}, {400.0, 364.0}} Other, 0x1286a6010, {{605.0, 61.0}, {400.0, 364.0}} Other, 0x1286a5180, {{605.0, 61.0}, {400.0, 364.0}} Other, 0x1286a4910, {{605.0, 74.0}, {400.0, 351.0}} Other, 0x1286a3290, {{605.0, 74.0}, {400.0, 351.0}} Other, 0x1286a1ee0, {{605.0, 74.0}, {400.0, 351.0}} CollectionView, 0x1286a2480, {{605.0, 74.0}, {400.0, 351.0}} Cell, 0x1286a1c10, {{605.0, 74.0}, {400.0, 58.0}}, label: 'Album, TV' Image, 0x1286a1940, {{621.0, 78.0}, {50.0, 50.0}} Other, 0x1286a0f30, {{679.0, 82.5}, {40.5, 41.0}} StaticText, 0x12869fe50, {{679.0, 82.5}, {36.0, 14.5}}, label: 'Album' Other, 0x12869f8b0, {{679.0, 104.0}, {40.5, 19.5}} ScrollView, 0x12869ed70, {{679.0, 104.0}, {40.5, 19.5}} StaticText, 0x1286987d0, {{679.0, 104.0}, {40.5, 19.5}}, label: 'TV' Cell, 0x1286b3fa0, {{605.0, 132.5}, {400.0, 58.0}}, label: 'Artist, 吳卓源 (Julia Wu)' Image, 0x12869f040, {{621.0, 136.5}, {50.0, 50.0}} Other, 0x12869d870, {{679.0, 141.0}, {144.5, 41.0}} StaticText, 0x12869a820, {{679.0, 141.0}, {31.0, 14.5}}, label: 'Artist' Other, 0x12869a550, {{679.0, 162.5}, {144.5, 19.5}} ScrollView, 0x128698d70, {{679.0, 162.5}, {144.5, 19.5}} StaticText, 0x128698aa0, {{679.0, 162.5}, {144.5, 19.5}}, label: '吳卓源 (Julia Wu)' Other, 0x128697b40, {{621.0, 132.0}, {368.0, 0.5}} Cell, 0x1286b4be0, {{605.0, 191.0}, {400.0, 58.0}}, identifier: 'Audio Quality Settings ', label: 'Audio Quality Settings' Image, 0x128693e60, {{621.0, 195.0}, {50.0, 50.0}} Other, 0x128696370, {{679.0, 210.5}, {178.0, 19.5}} Other, 0x128693320, {{679.0, 210.5}, {178.0, 19.5}} ScrollView, 0x1286927e0, {{679.0, 210.5}, {178.0, 19.5}} StaticText, 0x128690000, {{679.0, 210.5}, {178.0, 19.5}}, label: 'Audio Quality Settings' Other, 0x128692510, {{621.0, 190.5}, {368.0, 0.5}} Cell, 0x12868fd30, {{605.0, 249.5}, {400.0, 58.0}}, identifier: 'People also listen to ', label: 'People also listen to' Image, 0x12868d820, {{621.0, 253.5}, {50.0, 50.0}} Other, 0x12868f440, {{679.0, 269.0}, {162.5, 19.5}} Other, 0x12868e900, {{679.0, 269.0}, {162.5, 19.5}} ScrollView, 0x12868d280, {{679.0, 269.0}, {162.5, 19.5}} StaticText, 0x12868d550, {{679.0, 269.0}, {162.5, 19.5}}, label: 'People also listen to' Other, 0x12868a850, {{621.0, 249.0}, {368.0, 0.5}} Cell, 0x12868b0c0, {{605.0, 308.0}, {400.0, 58.0}} Other, 0x128689770, {{605.0, 308.0}, {400.0, 58.0}} Image, 0x1286b4ab0, {{621.0, 312.0}, {50.0, 50.0}} Other, 0x12868a580, {{679.0, 327.5}, {123.5, 19.5}} Other, 0x128689fe0, {{679.0, 327.5}, {123.5, 19.5}} ScrollView, 0x128688690, {{679.0, 327.5}, {123.5, 19.5}} StaticText, 0x128688960, {{679.0, 327.5}, {123.5, 19.5}}, label: 'Sleep Settings' Other, 0x128686d40, {{621.0, 307.5}, {368.0, 0.5}} Cell, 0x1286b51f0, {{605.0, 366.5}, {400.0, 58.0}} Other, 0x128683a20, {{605.0, 366.5}, {400.0, 58.0}} Image, 0x128685f30, {{630.0, 379.5}, {32.0, 32.0}}, identifier: 'icFollowers' StaticText, 0x128684290, {{679.0, 386.0}, {95.0, 19.5}}, label: 'Become a DJ' Switch, 0x12867fd90, {{940.0, 380.0}, {51.0, 31.0}}, identifier: 'Go On Air', value: 0 Other, 0x128682c10, {{621.0, 366.0}, {368.0, 0.5}} Other, 0x12867ed10, {{621.0, 424.5}, {368.0, 0.5}} Other, 0x12867b5a0, {{972.0, 74.0}, {30.0, 351.0}}, label: 'Vertical scroll bar, 1 page', value: 0% Other, 0x12867e420, {{605.0, 392.0}, {400.0, 30.0}}, label: 'Horizontal scroll bar, 1 page', value: 0% Other, 0x12867e150, {{605.0, 61.0}, {400.0, 364.0}} Other, 0x128679f20, {{605.0, 61.0}, {368.0, 364.0}}, Disabled Other, 0x12867ad30, {{973.0, 61.0}, {32.0, 364.0}}, Disabled Window, 0x128678820, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x128677120, {{0.0, 0.0}, {1024.0, 768.0}} Other, 0x128677990, {{0.0, 0.0}, {1024.0, 768.0}} Window, 0x1286773f0, {{0.0, 256.0}, {384.0, 512.0}} Other, 0x1286768b0, {{0.0, 384.0}, {512.0, 384.0}} Path to element: →Application, 0x1286a8910, pid: 21463, label: 'Kay Kay Box' Query chain: →Find: Target Application 'tw.com.skysoft.iPhone' Output: { Application, 0x128675a30, pid: 21463, label: 'Kay Kay Box' } ``` ![](https://i.imgur.com/fowLjJQ.png) ``` let element = app.collectionViews.cells.matching(NSPredicate(format: "label BEGINSWITH %@", "Album")).firstMatch element.tap() ``` after execute element.tap() it works xcode 13.2.1 iPadOS 14.4 pass ``` Attributes: Application, 0x7fc273c06850, pid: 60093, label: 'Kay Kay Box' Element subtree: →Application, 0x7fc273c06850, pid: 60093, label: 'Kay Kay Box' Window (Main), 0x7fc273e54760, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc273e4b370, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc273e23ab0, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc273e23510, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc273d1fee0, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc273d24180, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc273d24720, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc273d26490, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc263d11a00, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc263d26500, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc263d2e7d0, {{-50.0, -50.0}, {1280.0, 920.0}} NavigationBar, 0x7fc263d20b60, {{0.0, 24.0}, {1180.0, 50.0}} Button, 0x7fc263d2e000, {{0.0, 24.0}, {60.0, 44.0}}, identifier: 'Back', label: 'Back' Button, 0x7fc263d041f0, {{60.0, 28.0}, {1020.0, 42.0}}, identifier: 'Nowplaying title', label: 'TV' StaticText, 0x7fc273e23d80, {{60.0, 28.0}, {0.0, 0.0}} StaticText, 0x7fc273f06e60, {{60.0, 28.0}, {1020.0, 0.0}} StaticText, 0x7fc273f06f70, {{60.0, 28.0}, {1020.0, 42.0}}, label: 'TV' StaticText, 0x7fc273f07ca0, {{102.5, 28.0}, {22.5, 42.0}}, label: 'TV' Button, 0x7fc273f07db0, {{1092.0, 33.0}, {32.0, 32.0}}, identifier: 'Now Playing List', label: 'Playlist' Button, 0x7fc263d04300, {{1140.0, 33.0}, {32.0, 32.0}}, identifier: 'Show advanced playback controls.', label: 'Show advanced playback controls.' ScrollView, 0x7fc263d11d10, {{0.0, 74.0}, {1180.0, 366.0}} Other, 0x7fc263f0e7e0, {{0.0, 440.0}, {1180.0, 360.0}} Other, 0x7fc263d11e20, {{0.0, 440.0}, {1180.0, 198.5}} Button, 0x7fc263d2d9d0, {{568.0, 445.0}, {44.0, 14.0}}, identifier: 'Audio Quality Tag', label: 'Audio Quality', value: 192K StaticText, 0x7fc273f07ec0, {{568.0, 445.0}, {0.0, 0.0}} StaticText, 0x7fc273f07fd0, {{16.0, 464.0}, {1148.0, 25.0}}, identifier: 'Song name', label: 'TV' StaticText, 0x7fc273f0ced0, {{16.0, 493.0}, {1148.0, 20.0}}, identifier: 'Artist name', label: '吳卓源 (Julia Wu)' StaticText, 0x7fc273f0cfe0, {{538.0, 494.5}, {112.0, 17.0}}, label: '吳卓源 (Julia Wu)' Other, 0x7fc273f0d0f0, {{460.0, 589.5}, {260.0, 44.0}} Button, 0x7fc273f0d200, {{460.0, 589.5}, {44.0, 44.0}}, identifier: 'Add', label: 'Add' Button, 0x7fc273f0d310, {{532.0, 589.5}, {44.0, 44.0}}, identifier: 'Collect this song', label: 'Collect this song' Button, 0x7fc273f0d420, {{604.0, 589.5}, {44.0, 44.0}}, identifier: 'Share', label: 'Share' Button, 0x7fc263d2dae0, {{676.0, 589.5}, {44.0, 44.0}}, identifier: 'Show lyrics', label: 'Show lyrics' StaticText, 0x7fc263d2cc30, {{20.0, 646.5}, {31.5, 13.5}}, identifier: 'Current Time', label: 'Current Time', value: 0 min 20 sec Other, 0x7fc263d2cd40, {{61.5, 638.5}, {1057.0, 30.0}}, identifier: 'Playing progress', label: 'Playing progress', value: Current time: 20 s... StaticText, 0x7fc263d2bf60, {{1128.5, 646.5}, {31.5, 13.5}}, identifier: 'Duration', label: 'Duration', value: 3 min 42 sec Other, 0x7fc263d2c070, {{0.0, 660.0}, {1180.0, 100.0}} Button, 0x7fc263d258f0, {{558.0, 676.0}, {64.0, 64.0}}, identifier: 'Stop playing', label: 'Stop playing' Button, 0x7fc263d25a00, {{20.0, 690.0}, {36.0, 36.0}}, identifier: 'Repeat Off', label: 'Repeat Off' Button, 0x7fc263d2d440, {{306.5, 690.0}, {36.0, 36.0}}, identifier: 'Play previous song', label: 'Play previous song' Button, 0x7fc263d2d550, {{837.5, 690.0}, {36.0, 36.0}}, identifier: 'Play next song', label: 'Play next song' Button, 0x7fc273d1a8a0, {{1124.0, 690.0}, {36.0, 36.0}}, identifier: 'Sequential mode', label: 'Sequential mode' Other, 0x7fc273d25050, {{0.0, 760.0}, {1180.0, 40.0}} Button, 0x7fc273d18cc0, {{544.0, 763.0}, {94.5, 34.0}}, label: 'Available cast devices' Other, 0x7fc273d1d8a0, {{0.0, 0.0}, {1180.0, 820.0}} Image, 0x7fc273d1c8e0, {{611.0, -72.0}, {700.0, 709.5}} Other, 0x7fc273d1db70, {{0.0, 0.0}, {1180.0, 820.0}}, label: 'dismiss popup' Popover, 0x7fc273d1f390, {{761.0, 65.0}, {400.0, 422.5}} Other, 0x7fc273d219e0, {{761.0, 65.0}, {400.0, 422.5}} Other, 0x7fc273d1e6a0, {{761.0, 65.0}, {400.0, 422.5}} Other, 0x7fc273d1e3d0, {{761.0, 65.0}, {400.0, 422.5}} Other, 0x7fc273d238f0, {{761.0, 65.0}, {400.0, 422.5}} Other, 0x7fc273d26740, {{1129.0, 65.0}, {32.0, 13.0}} Other, 0x7fc273d26ce0, {{761.0, 65.0}, {400.0, 422.5}} Other, 0x7fc273d1c320, {{761.0, 65.0}, {400.0, 422.5}} Other, 0x7fc273d1c5f0, {{761.0, 65.0}, {400.0, 422.5}} Other, 0x7fc273d1e0f0, {{761.0, 78.0}, {400.0, 409.5}} Other, 0x7fc273d20450, {{761.0, 78.0}, {400.0, 409.5}} Other, 0x7fc273d21c90, {{761.0, 78.0}, {400.0, 409.5}} CollectionView, 0x7fc273d21f60, {{761.0, 78.0}, {400.0, 409.5}} Cell, 0x7fc273d23610, {{761.0, 78.0}, {400.0, 58.0}}, label: 'Album, TV' Image, 0x7fc273d23e80, {{777.0, 82.0}, {50.0, 50.0}} Other, 0x7fc273d249c0, {{835.0, 86.5}, {40.5, 41.0}} StaticText, 0x7fc273d25920, {{835.0, 86.5}, {36.0, 14.5}}, label: 'Album' Other, 0x7fc273c0d630, {{835.0, 108.0}, {40.5, 19.5}} ScrollView, 0x7fc273c0a890, {{835.0, 108.0}, {40.5, 19.5}} StaticText, 0x7fc273c075d0, {{835.0, 108.0}, {40.5, 19.5}}, label: 'TV' Cell, 0x7fc273c05b60, {{761.0, 136.5}, {400.0, 58.0}}, label: 'Artist, 吳卓源 (Julia Wu)' Image, 0x7fc273c05c70, {{777.0, 140.5}, {50.0, 50.0}} Other, 0x7fc273c05d80, {{835.0, 145.0}, {144.5, 41.0}} StaticText, 0x7fc273c05e90, {{835.0, 145.0}, {31.0, 14.5}}, label: 'Artist' Other, 0x7fc273c05fa0, {{835.0, 166.5}, {144.5, 19.5}} ScrollView, 0x7fc273c060b0, {{835.0, 166.5}, {144.5, 19.5}} StaticText, 0x7fc273c104e0, {{835.0, 166.5}, {144.5, 19.5}}, label: '吳卓源 (Julia Wu)' Other, 0x7fc273c105f0, {{777.0, 136.0}, {368.0, 0.5}} Cell, 0x7fc273c10700, {{761.0, 195.0}, {400.0, 58.0}}, identifier: 'Audio Quality Settings ', label: 'Audio Quality Settings' Image, 0x7fc273c10810, {{777.0, 199.0}, {50.0, 50.0}} Other, 0x7fc273c10920, {{835.0, 214.5}, {178.0, 19.5}} Other, 0x7fc273c10a30, {{835.0, 214.5}, {178.0, 19.5}} ScrollView, 0x7fc273c10b40, {{835.0, 214.5}, {178.0, 19.5}} StaticText, 0x7fc273c10c50, {{835.0, 214.5}, {178.0, 19.5}}, label: 'Audio Quality Settings' Other, 0x7fc273c10d60, {{777.0, 194.5}, {368.0, 0.5}} Cell, 0x7fc273c10e70, {{761.0, 253.5}, {400.0, 58.0}}, identifier: 'Remove from Offline Songs ', label: 'Remove from Offline Songs' Image, 0x7fc273c10f80, {{777.0, 257.5}, {50.0, 50.0}} Other, 0x7fc273c11090, {{835.0, 273.0}, {215.5, 19.5}} Other, 0x7fc273c111a0, {{835.0, 273.0}, {215.5, 19.5}} ScrollView, 0x7fc273c112b0, {{835.0, 273.0}, {215.5, 19.5}} StaticText, 0x7fc273c113c0, {{835.0, 273.0}, {215.5, 19.5}}, label: 'Remove from Offline Songs' Other, 0x7fc273c114d0, {{777.0, 253.0}, {368.0, 0.5}} Cell, 0x7fc273c115e0, {{761.0, 312.0}, {400.0, 58.0}}, identifier: 'People also listen to ', label: 'People also listen to' Image, 0x7fc273c116f0, {{777.0, 316.0}, {50.0, 50.0}} Other, 0x7fc273c11800, {{835.0, 331.5}, {162.5, 19.5}} Other, 0x7fc273c11910, {{835.0, 331.5}, {162.5, 19.5}} ScrollView, 0x7fc273c11a20, {{835.0, 331.5}, {162.5, 19.5}} StaticText, 0x7fc273c11b30, {{835.0, 331.5}, {162.5, 19.5}}, label: 'People also listen to' Other, 0x7fc273f0d530, {{777.0, 311.5}, {368.0, 0.5}} Cell, 0x7fc273f0d640, {{761.0, 370.5}, {400.0, 58.0}} Other, 0x7fc273f0d750, {{761.0, 370.5}, {400.0, 58.0}} Image, 0x7fc273f0d860, {{777.0, 374.5}, {50.0, 50.0}} Other, 0x7fc273f0d970, {{835.0, 390.0}, {123.5, 19.5}} Other, 0x7fc273c11c40, {{835.0, 390.0}, {123.5, 19.5}} ScrollView, 0x7fc273c11d50, {{835.0, 390.0}, {123.5, 19.5}} StaticText, 0x7fc273c11e60, {{835.0, 390.0}, {123.5, 19.5}}, label: 'Sleep Settings' Other, 0x7fc263d2d660, {{777.0, 370.0}, {368.0, 0.5}} Cell, 0x7fc263f09040, {{761.0, 429.0}, {400.0, 58.0}} Other, 0x7fc263f13760, {{761.0, 429.0}, {400.0, 58.0}} Image, 0x7fc263f13870, {{786.0, 442.0}, {32.0, 32.0}}, identifier: 'icFollowers' StaticText, 0x7fc263f14d80, {{835.0, 448.5}, {95.0, 19.5}}, label: 'Become a DJ' Switch, 0x7fc263f14e90, {{1096.0, 442.5}, {51.0, 31.0}}, identifier: 'Go On Air', value: 0 Other, 0x7fc263f14fa0, {{777.0, 428.5}, {368.0, 0.5}} Other, 0x7fc263f150b0, {{777.0, 487.0}, {368.0, 0.5}} Other, 0x7fc263f151c0, {{1128.0, 78.0}, {30.0, 409.5}}, label: 'Vertical scroll bar, 1 page', value: 0% Other, 0x7fc263f152d0, {{761.0, 454.5}, {400.0, 30.0}}, label: 'Horizontal scroll bar, 1 page', value: 0% Other, 0x7fc263f153e0, {{761.0, 65.0}, {400.0, 422.5}} Other, 0x7fc263f154f0, {{761.0, 65.0}, {368.0, 422.5}}, Disabled Other, 0x7fc263f15600, {{1129.0, 65.0}, {32.0, 422.5}}, Disabled Window, 0x7fc263f15710, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc263f0b350, {{0.0, 0.0}, {1180.0, 820.0}} Other, 0x7fc263f0b460, {{0.0, 0.0}, {1180.0, 820.0}} Window, 0x7fc263f0b570, {{0.0, 230.0}, {410.0, 590.0}} Other, 0x7fc263f14160, {{0.0, 410.0}, {590.0, 410.0}} Path to element: →Application, 0x7fc273c06850, pid: 60093, label: 'Kay Kay Box' Query chain: →Find: Target Application 'tw.com.skysoft.iPhone' Output: { Application, 0x7fc263f14490, pid: 60093, label: 'Kay Kay Box' } ``` xcode 13.2.1 iPadOS 14.5 fail ![](https://i.imgur.com/UXzrMNr.png) ``` let element = app.collectionViews.cells.matching(NSPredicate(format: "label BEGINSWITH %@", "Album")).firstMatch element.tap() ``` element.tap() doesn't work