如何在Appiumconfiguration中configuration通用path`/ nodejs`和`/ main.js`path

我需要configuration通用path,而不是在Appiumconfiguration中传递硬编码/nodejs/main.jspath,如C:\Program Files (x86)\Appium\node.exe" lib\server\main.js

像下面的东西System.getProperty(user.dir)+"src//test//resources//Config.txt";

Interesting Posts