I decided to create a selenium webdriver project using spring as a DI approach.
TODO
Selenium-WebDriver Junit Jupiter Spring WebDriverManager
To switch between mobile and desktop views pass in the correct profile. For example, to run the desktop view do the following:
$ mvn test -Dspring.profiles.active=desktop
To run the mobile view do the following:
$ mvn test -Dspring.profiles.active=mobile
WIP...