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
[馃悰 Bug]: Contained Firefox can't be used on MacOS #10686
Comments
@bogdancondurache, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
You can always provide the path, if not provided, then the location you mention will be used.
|
@diemol Whilst I agree with you, I still think this is a bug. Why? Because some apps will be able only to setup the system properly (proper env vars, proper values and order of $PATH and so on) and not change the |
Even if we rework the logic and follow your comments, or if we simply remove the path for macOS, GeckoDriver still will use this path as they know better the default locations. Also, which are these ones?
|
I'm not sure the problem is in GeckoDriver. This works well on Windows and Linux because (I assume) Gecko calculates the paths properly.
Usually the convention is to take each folder from
I think this should be the best approach for MacOS as well, if the binary couldn't be found in the path currently hardcoded:
|
Sounds good, would you like to send us a PR? Probably @symonk and @AutomatedTester can help us to review. |
Most certainly a pull request would be useful, I'm not on my mac right now or I would investigate, we can |
@bogdancondurache are you interested in sending a PR? |
The Firefox binary under Mac OS was using a hardcoded path. This was failing when trying to manipulate PATH env var to use firefox from a different location or if Firefox was installed in a different place. Fixes SeleniumHQ#10686
The Firefox binary under Mac OS was using a hardcoded path. This was failing when trying to manipulate PATH env var to use firefox from a different location or if Firefox was installed in a different place. Fixes SeleniumHQ#10686
The Firefox binary under Mac OS was using a hardcoded path. This was failing when trying to manipulate PATH env var to use firefox from a different location or if Firefox was installed in a different place. Fixes #10686 Co-authored-by: Simon K <jackofspaces@gmail.com> Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
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. |
What happened?
For the project https://github.com/robocorp/rpaframework/ we're installing an isolated Firefox and adding that to the path. But because as seen here
selenium/py/selenium/webdriver/firefox/firefox_binary.py
Line 152 in dab928e
How can we reproduce the issue?
Relevant log output
Operating System
MacOS Monterey 12.3
Selenium version
3.141.0 (but based on the code seems like it should be on all versions)
What are the browser(s) and version(s) where you see this issue?
Firefox 98, 99 and 100
What are the browser driver(s) and version(s) where you see this issue?
GeckoDriver 0.30.0
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: