Make Sure You're Ready for the New W3C WebDriver Protocol
On June 5, 2018 WebDriver moved to a W3C recommendation. Because the standard will be implemented in future browsers, it's important that you know what's changing and how it impacts your Selenium and Sauce Labs test scripts. Here's where we'll post all the information on what's new and useful tips on how to implement your tests with the new protocols to help you transition to the new protocol.
What is the new W3C webdriver Protocol?
Selenium WebDriver protocol defines the ways that browser actions are executed. The W3C has moved the WebDriver spec to a recommendation, which means it has officially received the endorsement of W3C. The new protocol includes updates to some of the commands and introduces new commands to support capabilities in today's modern browsers.
Why is the W3C Protocol important?
In the future, browser vendors may require the use of the W3C protocol to test apps. So its important that you begin thinking about and modifying your tests now so that you will be prepared when changes are implemented.
When does the new protocol go into effect?
W3C has moved WebDriver to a recommendation, which means upcoming versions of Selenium will begin to require it, however, Sauce will continue to support older versions of Selenium as usual.
How does this Affect my Selenium tests on Sauce labs?
Sauce users will need to adjust their WebDriver initialization commands to be compatible with the W3C protocol. Sauce-specific configuration "capabilities" will now need to be grouped under a "sauce:options" key.