How to solve NoSuchDriver: A session is either terminated or not started or Chromedriver exited unexpectedly with code null, signal SIGTRAP in appium?

Pre-req: Appium v1.16.0/chromedriver 80.0

  1. Installed appium with chrome browser version 80
  2. Started appium with --chromedriver-executable pointing to installed location of chromedriver in Mac OS. (Note: If I don’t mention executable path then I get no driver found to automate chrome 80…, hence I gave executable path for appium)
  3. Source: Test-script in my windows machine
  4. Destination: Appium server and android emulator available in Mac Desktop
  5. Requirement: Replay test-script from windows to mac

Capabilities and driver set in widows as below with appium server pointing to Mac OS

 capabilities = {
            "automationName": "Appium",

Below are the details of appium server running on Mac OS 

 AndroidDriver<AndroidElement> driver = new AndroidDriver<>(new URL(""), capabilities )

Output: Fails to launch webpage with below error.

 NoSuchDriver: [POST / {"url":"data:text/html;charset=utf-8,%3C!DOCTYPE%20html%3E%3Chtml%3E%3Cbody%3E%3Ciframe%20id%3D%22inlineFrame%22%3E%3C%2Fiframe%3E%3C%2Fbody%3E%3C%2Fhtml%3E"}] 
A session is either terminated or not started

Appium logs from MacOS can be accessed from below link

Duplicate of

1 Like

Thank you. I lowered my chrome-driver version and able to continue for now.