mvn clean install –Dthreads=2
This time you should have seen no difference from the last time you ran it. Let's check the error handling next:
mvn clean install –Dthreads=2 –Dbrowser=iJustMadeThisUp
Again, it should have looked exactly the same as the previous run. We couldn't nd an enum entry called IJUSTMADETHISUP, so we defaulted to FirefoxDriver.
Finally, let's try a new browser:
mvn clean install –Dthreads=2 –Dbrowser=chrome
You have probably had mixed success with this one. You will see that it tried to start up ChromeDriver, but if you don't have its executable installed on your system and a system property set up, it most likely threw an error saying that it couldn't nd the ChromeDriver executable.
You can x this by downloading the ChromeDriver binary and then setting up system properties to provide the path to the binary. This isn't really making our tests easy to run out-of-the-box for developers, though. It looks like we have more work to do.
Comments
0 comments
Please sign in to leave a comment.