Please post your Web Driver questions in official Web Driver forum

Thursday, January 3, 2013

Using different Firefox Profiles with Selenium Tests Framework

  1. Selenium Tests Framework (STF)  create a new firefox profile every time.

  2. To use custom profile, create STF default profile, put it in your project's resource folder (*/resources/profiles/customProfileDirCUSTFF). STF will use this default profile if it's there

  1. Define the path of specified profile in testng.xml file, e.g. <parameter name="firefoxUserProfilePath" value="c:\PathToProfile"/>, STF will use it instead.
Fork me on GitHub