What is the difference between Selenium 3 and Selenium 4?
The biggest difference between Selenium 3 and Selenium 4 is support for WebDriver—a set of APIs that allow more advanced control over the browser. With a browser automation tool like Selenium, you can control the execution of any automated tests, so the more control you have over the browser, the more tasks your tests can do. The problem with Selenium 3 was that it didn’t have a standard way to access all of the features of WebDriver, which made it difficult to write automated tests for many modern websites.