c# - Can't add selenium ide extension to webdriver -
any suggestion why code below not adding extension?
firefoxprofile profile1 = new firefoxprofile(); profile1.addextension(@"c:\\downloads\\selenium-ide-2.5.0.xpi"); iwebdriver driver1 = new firefoxdriver(profile1);
the same code working fine firebug add-on. think there compatibilty error latest firefox. tried install 2.0.0 version of selenium ide didnt help.
it might help....
file file = new file("firebug-1.8.1.xpi"); firefoxprofile firefoxprofile = new firefoxprofile(); firefoxprofile.addextension(file); firefoxprofile.setpreference("extensions.firebug.currentversion", "1.8.1"); // avoid startup screen webdriver driver = new firefoxdriver(firefoxprofile);
Comments
Post a Comment