How to test electron application using Appium?

Does Appium now support electron?

I can’t give a definitely yes or no answer:

  • There are multiple tickets opened in the platform about Electron with no answers whatsoever.
  • There is not official documentation about how to use WebApps in desktop, like Electron

I would say there is not support for Electron out of the box, given this response: https://github.com/appium/appium-mac2-driver/issues/127#issuecomment-1078941494

There is no direct Electron support in Appium. Electron itself supports Selenium webdriver out of the box as described in https://www.electronjs.org/docs/latest/tutorial/using-selenium-and-webdriver. One could try to create a dedicated Appium driver similar to what Spectron is doing.