DOM API Changes May Require UI Test Updates

The content and structure of HTML, CSS, and the DOM can change at any time and can’t be considered a stable API. Automated UI tests that use tools like Selenium WebDriver to reach into component internals require your ongoing maintenance. We’re here to help you adapt your automated UI tests for this release.

Where: This change applies to Lightning Experience and Salesforce Classic in all editions.

Why: We’re calling out the fragility of these tests due to changes, in particular as Lightning Experience continues to evolve with modern web standards. We understand the value that you gain from automated UI testing and the maintenance burden these changes put on you. Salesforce has never guaranteed backward-compatible HTML, CSS, or DOM.

How: If your UI tests from the previous release have issues, see this knowledge article, which includes steps and a custom tool to help you fix them.