Closed MagdelineNg closed 4 months ago
How about path
instead?
https://github.com/appium/appium-mac2-driver?tab=readme-ov-file#macos-activateapp
Sorry, can you clarify your suggestion? To clarify on my end, I am using driver.execute_script("macos: activateApp", {"path": "/Applications/Xcode.app"})
based on appium/appium-mac2-driver#macos-activateapp
Closing as I realised the error was using an older version of Appium (that only supported bundleId) due to the machine using an internal npm registry.
Not sure why the activateApp function is suddenly not accepting the path capability.
Here are the logs from appium server: