GeckoDriver 0.14, firefoxDriver 3.3.0, Firefox 52.0 LONG loading time

144 views
Skip to first unread message

Greg Martz

unread,
Mar 9, 2017, 10:13:07 AM3/9/17
to seleniu...@googlegroups.com
Has anyone else noticed that it takes a LONG time for firefox to appear after doing a:

driver = new FirefoxDriver();  ?

It's taking almost 60 seconds for it to finally bring up the browser.  It pauses just after:

1489072203595 geckodriver INFO Listening on 127.0.0.1:18756


Thanks!
Greg

Greg Martz

unread,
Mar 9, 2017, 12:09:15 PM3/9/17
to seleniu...@googlegroups.com
Actually it's taking almost 3 *minutes* to open...

1489076083333 - 08:14:43 geckodriver INFO Listening on 127.0.0.1:15303
1489076250012 - 08:17:30 mozprofile::profile INFO Using profile path C:\Users\gmartz\AppData\Local\Temp\rust_mozprofile.bn9JMkKJL5ZS

That's a start time of 08:14:43 and an end time of 08:17:30.  Here is the code:


String firefoxLocation = System.getenv("ProgramFiles") + "\\Mozilla Firefox_52\\firefox.exe";
String geckoLocation = "..\\common\\gecko\\geckodriver.exe";
String firebugPath = "..\\common\\FF_Profile\\firebug-2.0.17.xpi";
String firepathPath = "..\\common\\FF_Profile\\firepath-0.9.7.1-fx.xpi";
File profileDirectory = new File(System.getProperty("user.dir") + "\\..\\common\\FF_Profile\\Profile");
System.setProperty("webdriver.gecko.driver", geckoLocation);
System.setProperty("webdriver.firefox.bin", firefoxLocation);
System.setProperty("webdriver.reap_profile", "false");

//Set the capabilities
DesiredCapabilities dc = DesiredCapabilities.firefox();
dc.setCapability("marionette", true);
dc.setCapability("acceptSslCerts", true);
dc.setCapability("acceptInsecureCerts", true);
dc.setCapability("browserVersion", "52.0");
//Set the profile
FirefoxProfile profile = new FirefoxProfile(profileDirectory);
profile.setAcceptUntrustedCertificates(true);
profile.setAssumeUntrustedCertificateIssuer(true);
//Disable Firefox Auto-Updating
profile.setPreference("app.update.auto", false);
profile.setPreference("app.update.enabled", false);
dc.setCapability(FirefoxDriver.PROFILE, profile);
driver = new FirefoxDriver(dc);
Log.info("*****Opened Firefox non-debug");
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.manage().window().maximize();


Thanks!
Greg

Greg Martz
Test Analyst III - Sr. Software Automation Analyst  |  (425)416-5039  |  gma...@Costco.com 

"Confidentiality Notice:  This e-mail message, including any attachments, is for the sole use to the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message."

Titus Fortner

unread,
Mar 9, 2017, 2:15:11 PM3/9/17
to seleniu...@googlegroups.com
Do you see the same thing when you update to geckodriver 0.15?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJ5e%3Deihn%3Djf8YyZ_4Rc2VntEN0%2Bt6fJHFTj_MV_K%3DpbbhyeoQ%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

Greg Martz

unread,
Mar 9, 2017, 3:49:05 PM3/9/17
to seleniu...@googlegroups.com

Will update and check.

To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAKSYPugfQ%2Bz%2BqeWOi9Jh%3DDFJxUFg-KhJ0JGVw3dg024HBzKUJw%40mail.gmail.com.

Greg Martz

unread,
Mar 10, 2017, 2:21:19 PM3/10/17
to seleniu...@googlegroups.com
Seems as if 0.15 solved the issue for me! 


Thanks!
Greg


Will update and check.

To post to this group, send email to seleniu...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages