Firefox -38 working very Slow with Selenium Webdriver v 2.47.. Please help

163 views
Skip to first unread message

Neha Dua

unread,
Sep 21, 2015, 9:52:05 PM9/21/15
to Selenium Users
Firefox -38 working very Slow with Selenium Webdriver v 2.47.. Please help

Thomas Melville

unread,
Sep 26, 2015, 6:17:10 AM9/26/15
to Selenium Users
Hi Neha,

Not nearly enough information for anyone to help.
This does sound familiar though so I would suggest searching the archives of this group for previous posts.

Venkata Prasad Reddy

unread,
Oct 13, 2015, 5:21:34 AM10/13/15
to Selenium Users
Hi Thomas,
 
We use the selenium webdriver dlls set up to run my automation suite. I encounter this problem when runnning tests in Firefox only. The tests in Firefox run very slow , taking 3-4 minutes to load pages, However, when I run the same test on the same machine using Firefox browser manually I don't encounter this slowness. At times while running automation on Firefox, we also get "Connection was reset" page.
 
We use the following environment:
 
Firefox version 28, 37 (proxy is set to use system settings)
Webdriver (dlls) verson 2.45
Windows 7
 
 
Earlier we used to run the same set up in Windows XP using Firefox version 14,16, and Webdriver version 2.37, we didn't experience this issue.
 
We invoke Firefox using the following code :
 
Proxy proxy = new Proxy();
proxy.Kind = ProxyKind.System;
FirefoxProfile profile = new FirefoxProfile(); 
profile.SetProxyPreferences(proxy);
RemoteWebDriver dr = new FirefoxDriver(new FirefoxBinary(@"C:\Program Files (x86)\Mozilla Firefox\firefox.exe"), profile, TimeSpan.FromSeconds(120));
dr.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(3));
dr.Manage().Window.Maximize();
dr.Manage().Cookies.DeleteAllCookies();
dr.Navigate().GoToUrl(WebSiteUrl);
 
remaining tests steps......
 
 
Thanks in advance.

Neha Dua

unread,
Oct 14, 2015, 4:46:06 AM10/14/15
to Selenium Users
hi

Neha Dua

unread,
Oct 14, 2015, 4:50:42 AM10/14/15
to Selenium Users, Deepak Raghuwanshi
Hi Team,

Now ,I have switched to latest selenium webdriver 2.48 v and testing it on FF 41.0.1
and it is compatiable with FF 41.
Still its very slow with FF  and below is the program and results

Program::
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.remote.CapabilityType;
import org.openqa.selenium.remote.DesiredCapabilities;

public class TEST {
 public static void main(String[] args) {
  
    DesiredCapabilities caps = DesiredCapabilities.firefox();
      caps.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
      FirefoxDriver driver = new FirefoxDriver(caps);
      try {
        long start = System.currentTimeMillis();
        for (int i = 1; i < 100; i++) {
          driver.get("https://localhost/applications.html");
        }
        long end = System.currentTimeMillis();
        System.out.println("" + (end - start));
      } catch (Throwable e) {
          e.printStackTrace();
      } finally {
          if (driver != null) {
              driver.quit();
          }
      }
 }
 
}


RESULT::483167

Please assist and let me know in case any other infiormation is required.

Thanks,
Neha Dua


On Tuesday, September 22, 2015 at 7:22:05 AM UTC+5:30, Neha Dua wrote:
Reply all
Reply to author
Forward
0 new messages