Skip to content

Remove unused webdriver.chrome.driver property and related configuration from pom.xml #62

@coderabbitai

Description

@coderabbitai

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:

  1. The property definition:
<webdriver.chrome.driver>${drivers.dir}/chromedriver</webdriver.chrome.driver>
  1. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions