If you need to revert to the old behavior, set replace=Replace.AUTO_CONFIGURED on the annotation. Selenium HtmlUnit has been updated to 4.22. With this upgrade comes a change in dependency coordinates ...