Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Load drivers from resources instead of project root #32
The webdrivers are stored in the resources folder of the project using the framework, and are extracted to temporary files at runtime. This allows them to be packed into JARs for easy distribution. The project using the framework will be responsible for the installation of the webdrivers, but the framework now uses the same naming scheme as webdriverextensions-maven-plugin, so this is trivially easy.
I incremented the patch number for ease of testing, but I don't know what convention you use for versioning.
There are 64-bit versions of the drivers available. I hardcoded in 32-bit for simplicity's sake. I agree, though, futureproofing is probably a good move.
How do you think this should be handled? The best solution I can see is packaging both versions of the binaries and deciding which to use at runtime. Can you think of a better way?