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

Adding chromium-android to run #3259

Open
avi12 opened this issue Sep 26, 2024 · 4 comments
Open

Adding chromium-android to run #3259

avi12 opened this issue Sep 26, 2024 · 4 comments

Comments

@avi12
Copy link

avi12 commented Sep 26, 2024

Is this a feature request or a bug?

Feature request

What is the current behavior?

Currently, the only Android-related run config is firefox-android

What is the expected or desired behavior?

Given devices listed via adb devices (both physical and emulators), allow continuous debugging of an extension running on Chromium browsers like Kiwi

@rpl
Copy link
Member

rpl commented Oct 24, 2024

We discussed briefly about this enhancement request and we agreed that we would be willing to consider a contributed pull request that introduce that kind of support, as long as it is something that can be implemented with an approach that doesn't feel likely to break too easily with updates to the browsers supported through the new chromium-android target.

@Rob--W
Copy link
Member

Rob--W commented Oct 25, 2024

Chromium does not have official support for mobile Android. It is not certain that the mechanism to load an extension would be the same across Chromium forks. But if it is, I am supportive of adding a "chromium-android" target.

@avi12
Copy link
Author

avi12 commented Oct 25, 2024

There are at least two browsers that officially support Chromium extensions: Kiwi and Edge
While on Edge it's in beta, it seems like this is the direction the team is going in

@Rob--W
Copy link
Member

Rob--W commented Oct 25, 2024

Kiwi and Chromium are forks of Chromium. Because the Chromium project does not have official support for extensions on mobile Android, they need custom patches to enable extension support on Android. The implementation to install new extensions can be the same or completely different. There is no way to tell because Chrome does not support it yet.

For Chrome desktop, we currently rely on the --load-extension command line flag to install extensions. This is most likely not going to work on Android. It is very likely for Chromium-based Android apps that support extensions to have independent unique mechanisms to load extensions externally, if that functionality exists at all.

FYI: there is currently work in progress to specify an extension to the WebDriver-bidi protocol to install extensions. If this were to be implemented by Chrome and becomes available, it could potentially be a reliable way to install extensions across forks. That PR is at w3c/webdriver-bidi#778

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

No branches or pull requests

3 participants