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

firefoxOptions profile is different than the one that selenium ruby binding sends #209

Closed
Marcelovk opened this issue Sep 2, 2016 · 3 comments
Labels

Comments

@Marcelovk
Copy link

I am trying to use the firefoxOptions capability, using the current master, as it was added after the 0.10 release.

If you try to use Selenium:WebDriver::Firefox::Profile, and pass it to firefoxOptions.profile, the end result passed to geckodriver is the profile wrapped around a zip, like this

firefoxOptions={profile={zip=<profile base64encoded and zipped>...

I dont know if you were trying to achieve compatibility or not, as the selenium way of doing that would be adding that as a capability named "firefox_profile".

Should It be compatible with the firefox_profile cabability?

@andreastt
Copy link
Contributor

The Selenium bindings likely need to be updated to support the firefoxOptions concept. I don’t want to do that before 0.11 is released.

@andreastt
Copy link
Contributor

I believe utilities that support moz:firefoxOptions, as it is now called, have been added to all major Selenium client bindings. Please open bugs against the Selenium project if this is not the case.

The firefox_profile capability that was supported initially has been removed in favour of {"moz:firefoxOptions": {"profile": <profile>}}. You can read the full documentation in the project’s README.

@lock
Copy link

lock bot commented Aug 17, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants