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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need an API for toggling extensions and managing. Currently I have to mess with about:addons #2109

Open
KOLANICH opened this issue May 2, 2023 · 1 comment

Comments

@KOLANICH
Copy link

KOLANICH commented May 2, 2023

System

  • Version: Any
  • Platform: Any
  • Firefox: Any
  • Selenium: Any

As suggested in SeleniumHQ/selenium#7402 (comment) I create an issue here.

馃殌 Feature Proposal

An API for managing extensions is needed:

  1. installation from AMO
  2. switching on
  3. switching off
  4. switching availability in private mode
  5. getting list of permissions

Motivation

Not to mess to about:addons for that.

Example

addons.install("addon amo id") -> Addon
addons.list # list of addons
addon.uninstall()
addon.permissions
addon.updateMode
addon.manifest # manifest dict
addon.content # allows accessing files inside of addon, for example getting their URIs
addon.pages # different pages, like setting page
addon.disabled # allows disabling/enabling and getting status
@whimboo
Copy link
Collaborator

whimboo commented May 2, 2023

Please note that this request is all about vendor specific end-points for WebDriver classic (or Bidi in the future) and related to chrome scope support. All that and the fact that our focus is currently on WebDriver BiDi I do not think that any of the above we will be able to do except maybe for private browsing mode.

If you need private browsing mode we happily accept contributions via https://bugzilla.mozilla.org/show_bug.cgi?id=1810718 and a related geckodriver issue (to be filed once fixed). I'm happy to mentor as well.

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

No branches or pull requests

2 participants