File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -229,9 +229,9 @@ private void instrumentDynamically(boolean useproxy) throws Exception {
229229 //FirefoxProfile profile = new FirefoxProfile();
230230
231231 FirefoxBinary binary = new FirefoxBinary (new File ("/Applications/Firefox 2.app/Contents/MacOS/firefox" ));
232- driver = new FirefoxDriver (binary , profile );
232+ // driver = new FirefoxDriver(binary, profile);
233233 // setting the webdriver without proxy
234- // driver = new FirefoxDriver();
234+ driver = new FirefoxDriver ();
235235 driver .manage ().timeouts ().implicitlyWait (30 , TimeUnit .SECONDS );
236236 }
237237 }
@@ -340,7 +340,10 @@ public void generateCoverageReport() {
340340 profile .setPreference ("network.proxy.no_proxies_on" , "" );
341341
342342 FirefoxBinary binary = new FirefoxBinary (new File ("/Applications/Firefox 2.app/Contents/MacOS/firefox" ));
343- driver = new FirefoxDriver (binary , profile );
343+ //driver = new FirefoxDriver(binary, profile);
344+
345+ driver = new FirefoxDriver ();
346+
344347
345348 driver .manage ().timeouts ().implicitlyWait (30 , TimeUnit .SECONDS );
346349
You can’t perform that action at this time.
0 commit comments