Hi Scott,
Thanks for pointing this out, I'll make the fix on Monday to trunk. It
also provides the perfect excuse to talk about some of the changes
that we've been making. :)
First off, unless you're working on the WebDriver codebase itself,
there should be no need to run "rake install_firefox": the JAR
contains a prepackaged profile and uses that by default. In fact, the
only way to force the use of the existing WebDriver profile is to do
so explicitly:
WebDriver driver = new FirefoxDriver("WebDriver");
This resolves a long-standing source of frustration with early
adopters of the project. When we started, you had to install the
profile by hand because we'd not written the code to extract an
existing profile, and we'd not yet figured out how to "clean" a
profile so that we could share it between firefox 2 and 3. By using
the packaged profile, we can make changes to the communication
mechanism (for example) without worrying that we might be breaking
someone's build.
If you're a WebDriver developer, you shouldn't need to run "rake
install_firefox": the tests now pick up the version to use from the
current working directory. This is exteremly useful if you want to
work on multiple versions of the codebase at the same time (and you're
not using something like gitsvn)
I'm tempted to remove "install_firefox" entirely, since the two main
use-cases for it are now gone. Other than the fact that the wiki will
need to be updated, can anyone think of a reason to keep the target?
Regards,
Simon