英文:
Appium driver NOT suggesting removeapp() function inside the code base
问题
我想在我的Appium脚本中使用driver.removeapp({bundleID});命令,但是IDE没有提示这个方法,即使我已经导入了io.appium.java_client.*;。
英文:
I want to user driver.removeapp({bundleID}); command in my appium script BUT IDE NOT suggesting this method even I've imported io.appium.java_client.*;
答案1
得分: 2
你需要仔细检查驱动程序变量的声明:
public AppiumDriver driver;
driver = new IOSDriver(appiumURL, capabilities);
driver.removeApp(bundleId);
英文:
You need to double check the declaration of your driver variable:
public AppiumDriver driver;
driver = new IOSDriver(appiumURL, capabilities);
driver.removeApp(bundleId);
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论