appium: WebDriverAgent directory is not created after installing appium server 1.15

The problem

After installing appium server 1.15 WebDriverAgent directory is not created at the /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/

Environment

  • Appium version (or git revision) that exhibits the issue: 1.15
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium: MacOS 10.14.6
  • Node.js version (unless using Appium.app|exe): 12.10
  • Npm or Yarn package manager: 6.11.3
  • Mobile platform/version under test:
  • Real device or emulator/simulator:
  • Appium CLI or Appium.app|exe:

Details

If necessary, describe the problem you have been experiencing in more detail.

Link to Appium logs

Create a GIST which is a paste of your full Appium logs, and link them here. Do NOT paste your full Appium logs here, as it will make this issue very long and hard to read! If you are reporting a bug, always include Appium logs!

Code To Reproduce Issue [ Good To Have ]

Please remember that with sample code it’s easier to reproduce the bug and it’s much faster to fix it.

Please git clone https://github.com/appium/appium and from the sample-code directory, use one of your favourite languages and sample apps to reproduce the issue.

In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 23 (3 by maintainers)

Most upvoted comments

You can find path here /Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent

Ach! Sorry. It’s appium-webdriveragent.

$ npm ls -g appium-webdriveragent                                                                ✔  10.16.0 ⬢  10:39:52
/Users/isaac/.nvm/versions/node/v10.16.0/lib
└─┬ appium@1.15.0
  ├── appium-webdriveragent@1.3.5
  └─┬ appium-xcuitest-driver@2.133.1
    └── appium-webdriveragent@1.3.5  deduped
$ npm ls -g appium-webdriveragent -j                                                             ✔  10.16.0 ⬢  10:40:15
{
  "dependencies": {
    "appium": {
      "version": "1.15.0",
      "from": "appium",
      "resolved": "https://registry.npmjs.org/appium/-/appium-1.15.0.tgz",
      "dependencies": {
        "appium-webdriveragent": {
          "version": "1.3.5",
          "from": "appium-webdriveragent@1.3.5",
          "resolved": "https://registry.npmjs.org/appium-webdriveragent/-/appium-webdriveragent-1.3.5.tgz"
        },
        "appium-xcuitest-driver": {
          "version": "2.133.1",
          "from": "appium-xcuitest-driver@2.133.1",
          "resolved": "https://registry.npmjs.org/appium-xcuitest-driver/-/appium-xcuitest-driver-2.133.1.tgz",
          "dependencies": {
            "appium-webdriveragent": {
              "version": "1.3.5",
              "from": "appium-webdriveragent@1.3.5",
              "resolved": "https://registry.npmjs.org/appium-webdriveragent/-/appium-webdriveragent-1.3.5.tgz"
            }
          }
        }
      }
    }
  }
}

There is no WebDriverAgent folder anymore. The folder is appium-webdriveragent and is wherever in your install the appium-webdriveragent package was installed. It will have the contents structured like https://github.com/appium/WebDriverAgent

HI, @koralaa is your issue resolved?. As i’m facing the same issue.

saran.madhu@techleads-Mac-mini ~ % npm ls -g appium-webdriveragent /opt/homebrew/lib └─┬ appium@1.21.0 └─┬ appium-xcuitest-driver@3.43.0 └── appium-webdriveragent@3.8.0

@dbr13 : Are you able to run test, even if the WebDriverAgent directory is placed at other folder? I am stuck at this point as I couldn’t find WebDriverAgent, please help

If you are finding the appium-webdriveragent after install the xcuitest driver, try this path ~/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent

@dbr13 I am also not able to find WebDriverAgent folder in Appium 1.15.1 version /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent

WebDriverAgent is not present

@surajsalunkhe Please look for “Appium 1.15.1 version”

@sarmadhu : Certificate was missing in Xcode. Problem was solved after adding the ‘Signing certificate in Xcode’. Check whether you have done that step. Xcode ->Preferences -> Go to Accounts tab -> Make sure Apple id is set up -> Then click on Manage Certificates -> If nothing is there, then add certificate here (there’s a plus icon in the window to add certificate). Then uninstall and reinstall Appium solved the problem.

I was able to find Webdriveragent in this path /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent

If you run npm ls -g appium-webdriver you should be able to find where it is installed.

/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent