Appium Directory and environment variable

I wanted to ask if there is any possibility to use environment variable in Appium Directory for mobile tests.
I made an ‘APPIUM_HOME’ environment variable , which path is C:\Users{user login account}\AppData\Roaming\npm\node_modules\appium.
I wanted to use this variable in Appium Directory, but there is an error

I was wondering if there is different way to do this.

Hello @siostra264
You must add the relevant route information here.

Thanks @emine , I know this solution, but I am looking for a way to use environment variable in Appium Directory. Do you have any idea? :wink:

Hi @siostra264,

I haven’t been able to get environment variables or expansions like ~/ (for my home directory) to work in the Appium Directory settings field.

You might have luck by creating a symbolic link/shortcut on your machine from some place that won’t change to the location of your Appium folder.

Hope this helps,