Downloaded drivers are not executable.
mcdonnell-john opened this issue · 5 comments
Just found this plugin and have set it up against my project, but the drivers are not executable.
I found 1 and it seems you pushed out version 0.91 with this feature, but it seems to have disappeared?
$ ls -lrt /Users/john/codebase/project/selenium-e2e/selenium_standalone/osx/googlechrome/64bit/
total 13520
-rwxr--r-- 1 john staff 6919952 24 Oct 20:45 chromedriver
hmm that's strange.
Can you show me your POM and let me know what OS you are using.
I have added this plugin configuration at the moment:
<plugin>
<groupId>com.lazerycode.selenium</groupId>
<artifactId>driver-binary-downloader-maven-plugin</artifactId>
<version>1.0.11</version>
<configuration>
<rootStandaloneServerDirectory>${standalone.binary.root.folder}</rootStandaloneServerDirectory>
<downloadedZipFileDirectory>${project.basedir}/src/test/resources/selenium_standalone_zips</downloadedZipFileDirectory>
<customRepositoryMap>${project.basedir}/src/test/resources/RepositoryMap.xml</customRepositoryMap>
<overwriteFilesThatExist>${overwrite.binaries}</overwriteFilesThatExist>
<checkFileHashes>false</checkFileHashes>
</configuration>
<executions>
<execution>
<goals>
<goal>selenium</goal>
</goals>
</execution>
</executions>
</plugin>
and I am using mac osx (el capitan)
Not sure but maybe using Files.setPosixFilePermissions(Path path, Set perms) might be an alternative option, to using File.setExecutable()?
This was an error in my resourcemap file :( Sorry.
Glad to hear you got it sorted :)