Firefox session cookies

This is apparently by design. Check out this Bugzilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=443354 Firefox has a feature where you close Firefox and it offers to save all your tabs, and then you restore the browser and those tabs come back. That’s called session restore. What I didn’t realize is that it’ll also restore all the session cookies … Read more

Open new popup window without address bars in firefox & IE

Firefox 3.0 and higher have disabled setting location by default. resizable and status are also disabled by default. You can verify this by typing `about:config’ in your address bar and filtering by “dom”. The items of interest are: dom.disable_window_open_feature.location dom.disable_window_open_feature.resizable dom.disable_window_open_feature.status You can get further information at the Mozilla Developer site. What this basically means, … Read more

text-overflow:ellipsis in Firefox 4? (and FF5)

Spudley, you could achieve the same thing by writing a small JavaScript using jQuery: var limit = 50; var ellipsis = “…”; if( $(‘#limitedWidthTextBox’).val().length > limit) { // -4 to include the ellipsis size and also since it is an index var trimmedText = $(‘#limitedWidthTextBox’).val().substring(0, limit – 4); trimmedText += ellipsis; $(‘#limitedWidthTextBox’).val(trimmedText); } I understand … Read more

Access to file download dialog in Firefox

I have a solution for this issue, check the code: FirefoxProfile firefoxProfile = new FirefoxProfile(); firefoxProfile.setPreference(“browser.download.folderList”,2); firefoxProfile.setPreference(“browser.download.manager.showWhenStarting”,false); firefoxProfile.setPreference(“browser.download.dir”,”c:\\downloads”); firefoxProfile.setPreference(“browser.helperApps.neverAsk.saveToDisk”,”text/csv”); WebDriver driver = new FirefoxDriver(firefoxProfile);//new RemoteWebDriver(new URL(“http://localhost:4444/wd/hub”), capability); driver.navigate().to(“http://www.myfile.com/hey.csv”);