Skip to content

Supported Selenium 4 features.

aqualityAutomation edited this page Mar 17, 2023 · 12 revisions

One of the main innovations of Selenium 4 is support for the Chrome DevTools Protocol (CDP), which allows to simulate the work of the browser Developer Tools (for example, slowing down the Internet connection, getting logs from the browser console, etc.). These tools can greatly simplify test development and allow you to test previously inaccessible or hard-to-reach functionality of a web application. In Aqality Selenium, Selenium 4 DevTools functionality is implemented in the following classes: DevToolsHandling, EmulationHandling, JavaScriptHandling, NetworkHandling.

CDP Emulation Domain CDP Network Domain DevTools handling JS handling User agent override Relative locators