When this(selenium-chrome-driver) dependency can be use ?
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-chrome-driver -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>3.14.0</version>
</dependency>
On many answers I have read, It need to use with Chrome binary definition. By using only chrome binary we are able to execute script on Chrome Browser. Thus, driver calling is subject with Binary definition.
Question: So what is the use of this dependency, without chrome binary file ?
I have referred below answers and tried, without using binary declaration. Which says to use WebDriverManager dependency:
How to work with chrome driver in Maven
https://stackoverflow.com/a/39809773/9405154
https://github.com/bonigarcia/webdrivermanager
This is Resolved,
Error: Failure to transfer org.apache.commons:commons-compress:jar:1.14 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.commons:commons-compress:jar:1.14 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled.