Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [TestFixtureSetUp]
- public void Init()
- {
- try
- {
- //driver = new FirefoxDriver();
- //FirefoxBinary fb = new FirefoxBinary(@ConfigurationManager.AppSettings["FirefoxBinaryLocation"]);
- FirefoxBinary fb = new FirefoxBinary(@ConfigurationManager.AppSettings["FirefoxBinaryLocation"]);
- FirefoxProfile fp = new FirefoxProfile();
- fp.SetPreference("browser.startup.homepage_override.mstone", "ignore");
- driver = new FirefoxDriver(fb, fp);
- }
- catch (System.Exception ex)
- {
- logger.WriteError("Exception in instantiating Firefox driver : " + ex.Message);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement