How to run Automated selenium tests in Mac OS 10.8 with firefox 17.0.1 using Xvfb(X-virtual frame buffer) Anyone help me regarding this configuration.
Asked
Active
Viewed 7,196 times
11
-
check this [link](https://stackoverflow.com/questions/25451133/xvfb-run-on-os-x) – Prasanta Biswas Feb 26 '18 at 08:09
-
This question is extremely broad - can you update the question with details about what you have tried, and what part is not working? – Kyle Pittman Mar 29 '18 at 15:04
2 Answers
1
I don't think such old Firefox version is still relevant. But for those who still want to use old Firefox versions - take a look at Selenoid project. This is a lightweight Selenium-compatible server coming with a set of prebuilt Docker images for all Firefox versions starting with 3.6. All images include Xvfb inside, so this solution is completely headless.

vania-pooh
- 2,933
- 4
- 24
- 42
0
Will you try adding this option to your binary of Firefox if you are using binary of Firefox.
binary.addArguments("-headless");
If you are not using binary and using driver as new Firefox driver then
FirefoxOptions fireFoxOptions = new FirefoxOptions();
fireFoxOptions.addArguments("-headless");
DesiredCapabilities firefoxcapabilities = DesiredCapabilities.firefox();
capabilities.setCapability(ChromeOptions.CAPABILITY,fireFoxOptions);
WebDriver firefoxdriver = new FirefoxDriver(firefoxcapabilities);
Also, this is a very old version of Firefox I will prefer upgrading the version if you don't have any restrictions upgrading it.

madhuri
- 11
- 1