运行 npx wdio 而不是运行我更多尝试但我没有请总是帮助我这个问题
我的帽子
capabilities: [{
platformName: "Android",
"appium:deviceName": "emulator-5554",
"appium:automationName": "UIAutomator2",
"appium:app": join(process.cwd(), "./app/android/Berqnet Connect 3.1.0-1.apk"),
}],
我的虫子
ERROR webdriver: RequestError: connect ECONNREFUSED ::1:4723
ERROR @wdio/runner: Error: Failed to create session.
FAILED in Android - C:(MyFiles)\Desktop\wdioDers\test\specs\sample.js
我的 sample.js 文件
describe('Sample', () => {
it('Sample Test', () =>{
});
});