Selenium

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. 

But Selenium 4 alpha is available to download at MVN Repository and also zip file can be downloaded from here.

New Features

I am going to list out some new features of Selenium 4 for Java binding here:-

  1. 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.
  2. You can capture (Screenshot) a particular web element directly instead of capturing whole screen. Earlier it was possible by cropping it using dimensions.
  3. Selects class overrides equals() and hashcode() methods now.
  4. Location of safari…



UCSD DevOps CICD

Continue reading on source link