Appium驱动在代码库中未建议使用removeapp()函数。

huangapple go评论65阅读模式
英文:

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.*;

Appium驱动在代码库中未建议使用removeapp()函数。

Appium驱动在代码库中未建议使用removeapp()函数。

答案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);

huangapple
  • 本文由 发表于 2020年9月27日 16:36:08
  • 转载请务必保留本文链接:https://go.coder-hub.com/64086482.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定