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

[🚀 Feature]: Support sending Firefox Addon directory as temporary in Remote Sessions #10265

Closed
titusfortner opened this issue Jan 19, 2022 · 1 comment

Comments

@titusfortner
Copy link
Member

Feature and motivation

Firefox Addon endpoint supports either path or addon parameter, with addon being a base64 encoded string of a compressed file, which can be either an xpi or a zip file.

Directories are needed to support the temporary parameter. Rather than implementing a file detector and trying to upload the directory to a remote machine, directories should be zipped and base 64 encoded and sent with the addon parameter.

Supporting temporary parameter is #10084
It was fixed in every language, except .NET has outstanding PR — #10093
So, it works if the user zips the directory and passes it in, but it would be nice for Selenium to do this for the user.

A great example of this by @nickgaya in JS is here:
#10216

Usage example

String id = ((HasExtensions) augmentedDriver).installExtension(Paths.get("path/to/addon/directory/"), true);
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants