Ios 如何通过IONSPredicateString在Appium Selenium移动驱动程序中单击图像

Ios 如何通过IONSPredicateString在Appium Selenium移动驱动程序中单击图像,ios,selenium,testing,xcuitest,selenide,Ios,Selenium,Testing,Xcuitest,Selenide,我尝试使用它,但没有任何结果 String selector= "type == 'XCUIElementTypeImage' AND name == 'profilePlaceholder'"; $(MobileBy.iOSNsPredicateString(selector)).click();

我尝试使用它,但没有任何结果

       String selector= "type == 'XCUIElementTypeImage' AND name == 'profilePlaceholder'";
        $(MobileBy.iOSNsPredicateString(selector)).click();