Please follow the thread under
https://code.google.com/p/fbug/issues/detail?id=5971
Honza
On Tuesday, May 6, 2014 2:48:28 PM UTC+2, sum582 wrote:
>
> I created the XPI with patch and it worked fine. Thanks for your help. There
> is one issue though, I dont want any har file to be created until i request
> it through that java script call. But i am getting the HAR file for each
> file load in addition to the HAR file which i requested through javascript
> call.
>
> I have set
> profile.setPreference("extensions.firebug.netexport.timeout",
> "0");
> profile.setPreference("extensions.netexport.pageLoadedTimeout",
> "0");
>
> any fix for this?
>
>
> On Thursday, May 1, 2014 7:39:44 PM UTC+5:30, sum582 wrote:
>>
>> I am trying to generate HAR files for a selenium Test having 4 steps.The
>> subsequent pages after the second page is served by AJAX call. The issue
>> is I am getting only 2 HAR files. For the pages loaded with AJAX calls i
>> am not getting any HAR file generated. If i see FireBug in the browser
>> (manual testing) I can see the data for each of the steps.
>>
>> I am using Selenium Web Driver+FireBug+NetExport.
>>
>> Can someone please help on this? Is FireBug+NetExport with Selenium
>> not supported for rich applications?
>>
>>
>>
>>
>> DesiredCapabilities capabilities = new
>> DesiredCapabilities();
>> FirefoxProfile profile = new FirefoxProfile();
>> profile.addExtension(new File("*firebug-1.12.8.xpi*"));
>> profile.addExtension(new File("*netExport-0.9b2.xpi*"));
>> profile.setPreference("extensions.firebug.defaultPanelName", "net");
>> profile.setPreference("extensions.firebug.net.enableSites", true);
>> profile.setPreference("extensions.firebug.allPagesActivation", "on");
>> profile.setPreference("extensions.firebug.netexport.defaultLogDir",
>> "d:\\NetExport\\");
>> profile.setPreference("extensions.firebug.netexport.saveFiles", true);
>> profile.setPreference("extensions.firebug.netexport.alwaysEnableAutoExport",
>> true);
>> profile.setPreference("extensions.firebug.netexport.showPreview", false);
>> profile.setPreference("extensions.netexport.pageLoadedTimeout", "15000");
>> capabilities.setCapability(FirefoxDriver.PROFILE, profile);
>> WebDriver driver = new
>> FirefoxDriver(capabilities);
>> driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
>> Thread.sleep(5000);
>>
>> * driver.get("https://abc.xyd.com:5416/ <https://abc.xyd.com:5416/>");*
>> Thread.sleep(15000);
>> driver.findElement(By.id("j_username::content")).sendKeys("sysman");
>> driver.findElement(By.id("j_password::content")).sendKeys("sysman");
>> * driver.findElement(By.id("login")).click();*
>> Thread.sleep(5000);
>> * driver.findElement(By.xpath("//tr[@id='ccc']/td[2]")).click();*
>> Thread.sleep(5000);
>> * driver.findElement(By.id("zaapq")).click();*
>> Thread.sleep(5000);
>> driver.quit();
>>
>>
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit
https://groups.google.com/d/msgid/firebug/7a59d36b-9adc-421f-bbeb-bb5bd658e078%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.