Summary
The webdriver.chrome.driver property and related configuration in pom.xml appear to be unused and can be safely removed.
Details
Tests use WebDriverManager.chromedriver().setup() to manage the Chrome driver and create instances with new ChromeDriver(). The property defined in the <properties> block and passed as a system property in the integration-tests profile via <systemPropertyVariables> is never read by test code. Additionally, the drivers directory referenced by this property does not exist in the repository.
Proposed Cleanup
Remove the following from pom.xml:
- The property definition:
<webdriver.chrome.driver>${drivers.dir}/chromedriver</webdriver.chrome.driver>
- The system property variable block in the
integration-tests profile:
<systemPropertyVariables>
<!-- Pass location of downloaded webdrivers to the tests -->
<webdriver.chrome.driver>${webdriver.chrome.driver}</webdriver.chrome.driver>
</systemPropertyVariables>
References
Summary
The
webdriver.chrome.driverproperty and related configuration inpom.xmlappear to be unused and can be safely removed.Details
Tests use
WebDriverManager.chromedriver().setup()to manage the Chrome driver and create instances withnew ChromeDriver(). The property defined in the<properties>block and passed as a system property in theintegration-testsprofile via<systemPropertyVariables>is never read by test code. Additionally, thedriversdirectory referenced by this property does not exist in the repository.Proposed Cleanup
Remove the following from
pom.xml:integration-testsprofile:References