how to use different version of firefox using webdriver?


how to set Firefox version in web-driver?
I just want to user different version of Firefox.

like different version 19, 20 , 21….

please provide a generic solution which help for other browser also.

  • You must to post comments

You have to install all the versions on your system. Then you can use the System property webdriver.firefox.bin to define the path for Firefox. Note than since the path is set through a System property, you will not be able to run two different Firefox in the same Java process.

This solution is specific to Firefox. There is no generic solution. You have to configure every WebDriver yourself.

More information about the configuration of Firefox Web Drvier.

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.