An alpha version of Selenium is released as 4.0.0-alpha-1. Though release is not announced officially by Selenium guys yet (April 28, 2019) . You can check their official website www.seleniumhq.org/download and observe that they have not updated anything about Selenium 4 Alpha release.
I am going to list out some new features of Selenium 4 for Java binding here:-
- Now you can launch a new tab and window and by default switch to it. “newWindow” method from “WebDriver” interface creates a new browser window and switches the focus for future commands of this driver to the new window.
- You can capture (Screenshot) a particular web element directly instead of capturing whole screen. Earlier it was possible by cropping it using dimensions.
- Selects class overrides equals() and hashcode() methods now.
- Location of safari…