First of all, we need to make some changes to our POM.xml to use JUnit instead of TestNG; we will start with the properties block:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-
8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<!-- Dependency versions -->
<selenium.version>3.12.0</selenium.version>
<junit.version>4.12</junit.version>
<assertj-core.version>3.10.0</assertj-core.version>
<query.version>1.2.0</query.version>
<commons-io.version>2.6</commons-io.version>
<httpclient.version>4.5.5</httpclient.version>
<!-- Plugin versions -->
<driver-binary-downloader-maven-plugin.version>1.0...