Am a newbie,
using Python, Appium, Android emulator;
and so far I was manually launching appium server prior to running tests,
searched how to launch appium from code so as to integrate the server side timeout argument - but my implementation is not working
service = AppiumService()
service.start(
args=[ββaddressβ, β127.0.0.1β, β-pβ, str(4723), β-kaβ, β0β]
)
// run tests
service.stop()
ERROR =>
npm WARN config global --global
, --local
are deprecated. Use --location=global
instead.
Original error: bβusage: /Users/imac/.npm-packages/lib/node_modules/appium/build/lib/main.js\n
Checked stackoverflow solutions to upgrade npm version or edit file for deprecated prefix - but am still stuck
( am using a mac and most solutions regards this npm error are for windows )
Advice would be most welcomed!