XCUIElementQuery を作成して、staticTexts が文字列 (「Buy」など) で始まるすべてのセルを取得していますが、わかりません。私はグーグルで検索しましたが、希望はありません。
絶望的な試みはstaticTextを取得しますが、セルは取得しません。
XCUIElementQuery *rows = [app.cells.staticTexts matchingPredicate:[NSPredicate predicateWithFormat:@"label CONTAINS 'Buy'"]];
これを経験した人はいますか?parent
少なくとも上記の staticTextsを取得できますか?