Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desktop Linux apps support #14854

Closed
baptx opened this issue Oct 30, 2020 · 16 comments
Closed

Desktop Linux apps support #14854

baptx opened this issue Oct 30, 2020 · 16 comments
Labels

Comments

@baptx
Copy link

baptx commented Oct 30, 2020

The project says:
Appium is an open-source, cross-platform test automation tool for native, hybrid, and mobile web and desktop apps. We support simulators (iOS), emulators (Android), and real devices (iOS, Android, Windows, Mac).

But it would be nice if desktop Linux apps are supported too.
Is there any plan to do it or an alternative tool?

@mykola-mokhnach
Copy link
Collaborator

Currently there are no plans to support Linux because:

  • The need for such feature is low
  • There is no common approach in Linux UI world for accessibility, which could be used for as a base for an automation framework. The current ecosystem is too fragmented
  • There are not enough human resources even to properly support current drivers

Although, we would be happy to accept any proposals to add such driver if somebody else wants to maintain it.

@baptx
Copy link
Author

baptx commented Oct 30, 2020

@mykola-mokhnach maybe it is better to keep this issue open to give more visibility in case people are interested to contribute?

@mykola-mokhnach
Copy link
Collaborator

Ok, lets keep it as feature request

@baptx
Copy link
Author

baptx commented Oct 30, 2020

@mykola-mokhnach if Qt apps are supported, I guess it would be easier to support desktop Linux apps and even alternative mobile operating systems using Qt like SailfishOS (since Qt is a cross-platform framework that is compatible with Windows, Mac and Linux).

@agouaillard-cosmo
Copy link

@mykola-mokhnach We would be interesting of doing the heavy lifting for some reasonable linux use case (e.g. limited to ubuntu, ...). Can we talk?

@mykola-mokhnach
Copy link
Collaborator

@agouaillard-cosmo Sure, join our Appium slack channel

@davudmurtazin
Copy link

Are there any updates on it? Is it possible to run Appium tests on Linux?

@jlipps
Copy link
Member

jlipps commented Sep 14, 2022

Appium runs on Linux, yes.

But there is no "Linux Desktop" driver for Appium such that you could automate Linux Desktop apps using Appium.

@davudmurtazin
Copy link

davudmurtazin commented Sep 16, 2022

@jlipps @mykola-mokhnach Thank you! Does it mean that I can execute Appium tests on android emulator in docker image that uses Linux?
Maybe you have some kind of examples or guide?
Sorry for out of scope, but I spent a lot of time to configure environment and stuck.

@ifeeltiredboss
Copy link

https://github.com/fantonglang/appium-linux-driver
I have never used above and I don't know how it works.

@jlipps
Copy link
Member

jlipps commented Sep 22, 2022

Does it mean that I can execute Appium tests on android emulator in docker image that uses Linux?.

Yes, that is the point of the https://github.com/appium/appium-docker-android project

@jlipps
Copy link
Member

jlipps commented Sep 22, 2022

https://github.com/fantonglang/appium-linux-driver

woah awesome! nice work @fantonglang!

@hurufu
Copy link

hurufu commented Mar 3, 2023

Hi! I just want to add that there is an established and widely supported Linux GUI testing framework LDTP: https://github.com/ldtp/ldtp2

They are using AT-SPI interface which is implemented by every major UI framework. Appium can just use the same dbus interfaces, map them to Webdriver protocol, and you are all set.

@Alper-Celik
Copy link

there is https://invent.kde.org/sdk/selenium-webdriver-at-spi too
also at-spi is the standard accessiblity api of linux

@jlipps
Copy link
Member

jlipps commented Aug 14, 2023

@Alper-Celik nice! Looks like someone would need to write an Appium driver to download/start this server and proxy commands to it, to be usable from within Appium 2

@mykola-mokhnach
Copy link
Collaborator

For now the recommendation would be to use third party linux driver(s)
We are not going to support them as officially as it also puts the additional maintenance burden on us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants