Drivers currently require global installation, which needs elevated permissions. This is a problem on work devices with locked-down permissions.
To mitigate the issue, change to calling appium and installing drivers via npx rather than doing it directly or globally. This will install the drivers in the local package instead of in globally by default and should sidestep some of the permissions issues.
Full-fledged workaround includes a docker image, but any images will have reduced functionality, so we need to do what we can to reduce permissions for npx installs, too.
Drivers currently require global installation, which needs elevated permissions. This is a problem on work devices with locked-down permissions.
To mitigate the issue, change to calling
appium
and installing drivers vianpx
rather than doing it directly or globally. This will install the drivers in the local package instead of in globally by default and should sidestep some of the permissions issues.Full-fledged workaround includes a docker image, but any images will have reduced functionality, so we need to do what we can to reduce permissions for
npx
installs, too.