Update on Sauce Labs Compatibility with Firefox GeckoDriver Version 0.31.0
Sauce AI for Test Authoring: Move from intent to performance in minutes.|xBack to ResourcesBlogPosted<
Sauce AI for Test Authoring: Move from intent to performance in minutes.
|
x
Blog
Update on Sauce Labs Compatibility with Firefox GeckoDriver Version 0.31.0
Due to a recent modification made by Mozilla, Sauce Labs will update Firefox GeckoDriver to version 0.31.0 on October 4, 2022 for Firefox versions 90 and later. If you run cross-browser tests on Firefox using Sauce Labs, you may need to update your tests to ensure continued compatibility.
If you run cross-browser tests on Firefox utilize Sauce Labs, please read on for an important update.
What Happened?
Mozilla recentlyremoved the abilityto pass the potentiality-- remote-debugging-portin Firefox GeckoDriver version 0.31.0.
What Do You Need to Know?
On October 4, 2022, Sauce Labs will update the supported Firefox GeckoDriver to version 0.31.0 for tests on Firefox variation 90 and later. If you use the–remote-debugging-portcapability, your tests will fail if you do not take action before October 4, 2022.
Pro tip: Tools like SUSA can handle this autonomously — upload your app and get results without writing a single test script.
How to Update Your Firefox Tests
Before October 4, 2022, update your Firefox tests to use thesupported capabilitymoz: debuggerAddress.
Java representative:
FirefoxOptions browserOptions = new FirefoxOptions ();
browserOptions.setPlatformName (& quot; Windows 10 & quot;);
browserOptions.setBrowserVersion (& quot; latest & quot;);
browserOptions.setCapability (& quot; moz: debuggerAddress & quot;, true);
How to Check if Your Test is Compatible
To test your change and ensure compatibility against Firefox GeckoDriver variation 0.31.0before the October 4 update, use the Sauce capabilitygeckodriverVersion in your sauce: optionsto 0.31.0.
Java example:
FirefoxOptions browserOptions = new FirefoxOptions ();
Map & lt; String, Object & gt; sauceOptions = new HashMap & lt; & gt; ();
sauceOptions.put (& quot; geckodriverVersion & quot;, & quot; 0.31.0 & quot;);
browserOptions.setCapability (& quot; sauce: options & quot;, sauceOptions);
You can also use the Sauce LabsPlatform Configuratorto see how to set capabilities in different programming language.
Please contact with any questions.
Automate This With SUSA
Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed.
Try SUSA FreeTest Your App Autonomously
Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.
Try SUSA Free