I was new to appium (1.x) last year, but scrips worked fine using W3C-wireprotocoll but I understand for sure less than half of what I did. Now tried to migrate to appium 2: I canât find a hint for the error I get when I try to create asession analog to appium 1.x (now Appium v2.0.0-beta.71):
[debug] [[email protected]] Calling AppiumDriver.createSession() with args: [null,null,{âplatformNameâ:âAndroidâ,âappium:deviceNameâ:âAndroid Emulatorâ,âappium:avdâ:âPixel_3a_API_33_x86_64â,âappium:newCommandTimeoutâ:6000,âappium:automationNameâ:âUiAutomator2â}]
[debug] [[email protected]] Event ânewSessionRequestedâ logged at 1685044209488 (21:50:09 GMT+0200 (Mitteleuropäische Sommerzeit))
[debug] [[email protected]] Event ânewSessionStartedâ logged at 1685044209489 (21:50:09 GMT+0200 (Mitteleuropäische Sommerzeit))
[debug] [[email protected]] Encountered internal error running command: Error: W3C capabilities should be provided
[debug] [[email protected]] at parseCapsForInnerDriver (C:\Users\Martin\AppData\Roaming\npm\node_modules\appium\lib\utils.js:68:14)
[debug] [[email protected]] at AppiumDriver.createSession (C:\Users\Martin\AppData\Roaming\npm\node_modules\appium\lib\appium.js:251:49)
[debug] [[email protected]] at commandExecutor (C:\Users\Martin\AppData\Roaming\npm\node_modules\appium\[email protected]\base-driver\lib\basedriver\driver.ts:106:18)
[debug] [[email protected]] at AppiumDriver.executeCommand (C:\Users\Martin\AppData\Roaming\npm\node_modules\appium\[email protected]\base-driver\lib\basedriver\driver.ts:123:15)
[debug] [[email protected]] at processTicksAndRejections (node:internal/process/task_queues:95:5)
[debug] [[email protected]] at defaultBehavior (C:\Users\Martin\AppData\Roaming\npm\node_modules\appium\lib\appium.js:680:16)
[debug] [[email protected]] at AppiumDriver.executeWrappedCommand (C:\Users\Martin\AppData\Roaming\npm\node_modules\appium\lib\appium.js:774:16)
[debug] [[email protected]] at AppiumDriver.executeCommand (C:\Users\Martin\AppData\Roaming\npm\node_modules\appium\lib\appium.js:696:17)
[debug] [[email protected]] at asyncHandler (C:\Users\Martin\AppData\Roaming\npm\node_modules\appium\[email protected]\base-driver\lib\protocol\protocol.js:393:19)
Is this a bug or am I wrong somewhere.
Many thanks in advance.