8000 💡 feat: Add Support to Multiple Displays · Issue #21236 · appium/appium · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

💡 feat: Add Support to Multiple Displays #21236

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

Open
jgfmachado opened this issue May 6, 2025 · 4 comments
Open

💡 feat: Add Support to Multiple Displays #21236

jgfmachado opened this issue May 6, 2025 · 4 comments
Labels

Comments

@jgfmachado
Copy link
jgfmachado commented May 6, 2025

Is your feature request related to a problem?

For a quite a while now, I've been dealing with apps that show content on multiple displays.
E.g., a POS app that apart from the main screen, has a secondary screen for the customer to see the transaction.
Currently three's no way to switch the driver's focus between displays, interact with the those elements and do assertions.

UiAutomator just added support for multiple displays on version 2.3.0 as we can read here: https://developer.android.com/jetpack/androidx/releases/test-uiautomator#2.3.0

Would it be possible to implement that in the upcoming version(s) of Appium?

Describe the solution you'd like.

Being able to switch the driver's focus between displays.

Describe alternatives you've considered.

No response

Additional context

Someone already mentioned this here #18787 (comment), and here appium/appium-inspector#1294 (comment)

@jgfmachado jgfmachado added the Enhancement feature label May 6, 2025
@KazuCocoa
Copy link
Member

Have you tried currentDisplayId via settings API? https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#settings-api

@jgfmachado
Copy link
Author

Have you tried currentDisplayId via settings API? https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#settings-api

Hmmmm, aren't those settings only settable/available when setting up/creating the driver?
Not sure how I'd use that to change the driver screen focus on the fly.

@eglitise
Copy link
Collaborator
eglitise commented May 6, 2025

Settings are not the same as capabilities, and can be changed at any time during a session. For more information, check the Settings API documentation.

@jgfmachado
Copy link
Author

Settings are not the same as capabilities, and can be changed at any time during a session. For more information, check the Settings API documentation.

Understood. I'll give a try then👌
Thanks, guys.

Note: I'll keep the discussion open, it'd be cool to have the implementation abstracted in Appium.

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

3 participants
0