Sauce Labs Solves Real-World Selenium Issues

Sauce AI for Test Authoring: Move from intent to performance in minutes.|xBack to ResourcesBlogPosted<

June 17, 2026 · 4 min read · Tool Comparison

Sauce AI for Test Authoring: Move from intent to performance in minutes.

|

x

Back to Resources

Blog

Posted October 27, 2010

Sauce Labs Solves Real-World Selenium Issues

quote

Here at Sauce Labs, we work with, quite literally, meg of real-world Selenium tests. A handful of major issues with Selenium come up again and again with our customers. Some are browser contour details we can tweak in our cloud, while others are beyond the reach of Selenium 1. The full news for the Selenium community is that Selenium 2 target to solve these latter issues in a comprehensive way. Most current Selenium users, however, have yet to do the leap to Selenium 2. In the meantime, we & # x27; ve been working around some of the biggest subject to do things work easily for users of Sauce OnDemand. First, we & # x27; ve brought Sauce OnDemand up to the better Selenium can be for SSL support and Unicode handling. On top of that, we & # x27; ve implement a cross-browser file upload command that act in all versions of Internet Explorer, Safari, and Firefox, along with an automatic OS-level popup slayer that deals with Internet Explorer & # x27; s tendency to interrupt JavaScript testing environments with average duologue.

SSL Support

Testing with SSL is challenging. Testing with Selenium and SSL can seem downright unimaginable. But it doesn & # x27; t feature to be so! Selenium exploiter encounter two major issues with SSL: Selenium & # x27; s proxy mode interfering with the SSL connection and invalid certification in staging environments. The solution to both is to use the Selenium project & # x27; s & quot; CyberVillains & quot; Certificate Authority. In browser early than Internet Explorer and Firefox, Selenium proxies all HTTP and HTTPS traffic. Browsers correctly recognize that the HTTPS connection is being interfered with and prevent Selenium from perform its job. The solution that the Selenium task came up with is to have Selenium & # x27; s proxy server sign HTTPS connector itself, using the CyberVillains CA. Once you establish this certificate to the Trusted Root Certificate Authorities on Windows, Selenium can re-sign all HTTPS connecter with a certificate signed by CyberVillains, allowing Selenium to drive your browser to HTTPS URLs. By default, it will do its best to formalise the certificate used to sign the connection Selenium makes to your AUT, but that, too, can be dealt with. Many teams use SSL certificates in quiz that aren & # x27; t entirely valid. This presents a problem for in-browser testing, because browsers will complain about the SSL certificates be invalid on HTTPS URLs. CyberVillains to the rescue again! When browser are configured to use Selenium to proxy all content, Selenium can be launch with -trustAllSSLCertificates, which turns off Selenium & # x27; s SSL certificate validation and accepts anything. In*iexplore and*firefox modes (AKA*iehta and *chrome, severally), browsers are not configured to use Selenium as a proxy server, which usually means the CyberVillains approaching doesn & # x27; t employment. In Sauce OnDemand, we now automatically configure Internet Explorer to use Selenium as a procurator server, even in*iexplore mode. For Firefox, we & # x27; ve implemented, which give you even more control over your certificate surroundings. You can read more about our HTTPS support in the.

Unicode

For autonomous testing across multiple user personas, check out SUSATest — it explores your app like 10 different real users.

We have now enabled full Unicode support for all browsers in Sauce OnDemand. We & # x27; ve installed East Asian Language support on all of our Windows automaton, so your Unicode will supply correctly in screenshots/videos, and you can now create assertions in your tests using unicode characters.

Cross-browser File Upload

File upload has be a persistent problem for Selenium users. We are excite to announce our preliminary support for cross-browser file upload in Sauce OnDemand. We & # x27; ve step out of the browser surroundings to interact now with the operating scheme (only Windows for now), downloading files you specify from a URL and entering them into file comment fields. We get this working on all variation of Internet Explorer, Safari, and Firefox on Windows, and we seem forward to open-sourcing our employment when we & # x27; ve crimson out the last few matter with it. We & # x27; ve apply file upload support using the existing attachFile dictation in Selenium, so you don & # x27; t even need to change your tests that already work in Firefox. Just call attachFile with a URL to the file you want uploaded and a Selenium locator for the file input box, and we & # x27; ll lead care of the repose!

OS-level Popup Eliminator

Using the same OS-level hooks we built for cross-browser file upload, we & # x27; ve built a popup eliminator that will mechanically snap & quot; OK & quot; or & quot; Yes & quot; in any browser-level popups that appear in Internet Explorer. For example, even with the CyberVillains certificate, IE 6, 7, and 8 will pop up warnings when opening a page with motley HTTP/HTTPS content. Our popup eliminator takes care of these and more popups. As we acquire authority in this approach, we appear frontward to pushing these changes upstream into the Selenium project or open-sourcing them as a standalone wrapper for Selenium. At Sauce Labs, we & # x27; re all about provide the best Selenium experience possible. If you have suggestions for how we could improve these characteristic, let us cognize on our!

Published:
Oct 27, 2010
Topics
Share this berth
Copy Share Link
LinkedIn
© 2026 Sauce Labs Inc., all rights reserved. SAUCE and SAUCE LABS are registered trademark owned by Sauce Labs Inc. in the United States, EU, and may be file in early jurisdiction.
robot
quote

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 Free

Test 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