
It's all upto you to take a informed descission. Perhaps, Mozilla broke Selenium compatibility in Firefox 48 in release channel, but restored it in version 52 in esr channel. They are allowed in "desiredCapabilities" block only. You might get the browser to launch, but the language bindings will be entirely unable to communicate with the driver (because Firefox will refuse to load the browser extension that is the legacy Firefox also mentions :Ī binding should not pass OSS capabilities in W3C-compliant parts of payload, in "capabilities" block. The legacy Firefox driver won't work with Firefox 53 or so. This gives corporations a full version timeframe to qualify the leading ESR branch in testing Firefox Portable stable before the switch and gives developers time to continue testing their apps on the older release for a full. But as per the GitHub discussion Unable to Start Firefox Using the Legacy Driver on a 3.5.3 Grid clearly mentions : When Firefox 53 is released, Firefox Portable stable will match it and Firefox Portable ESR will be bumped up to 52.1.0. I am not sure about your usecase and why you want to use Legacy Firefox Driver.


WebDriver driver = new FirefoxDriver(options) You have to set marionatte to false through a DesiredCapabilities class object which you need to merge() into the FirefoxOptions class object as follows : tProperty("", "C:\\Utility\\BrowserDrivers\\geckodriver.exe") įirefoxProfile testprofile = profile.getProfile("debanjan") įirefoxOptions options = new FirefoxOptions() ĭesiredCapabilities dc = new DesiredCapabilities() Additionally as you would be using the Legacy Firefox Browser Now you have to pass the Firefox Profile to a FirefoxOptions class object. In the Security tab of the Internet Options window, select the Internet zone and click the Custom level button. To use an existing Firefox Profile for your Test Execution first you have to create a Firefox Profile manually following the instructions at Creating a new Firefox profile on Windows. To do that, launch Internet Explorer and click or tap its Tools button in the top right corner.
