How can I reset firefox via the command script (linux)

I'm trying to set up a build server from Jenkins that uses SeleniumHQ and Firefox ESR during integration testing.

I installed Firefox ESR 24 and seleniumHq 2.42.2

I found that the State / the Firefox profile is getting damaged when selenium code stops.

This prevents the FirefoxDriver selenium to establish a control connection because firefox is blocked on Firefox "the last time I fell - what do you do? Start over or try to recover?' screen.

I want to do is make sure that I always start with a configuration of default Firefox of pure plant at the beginning of each race.

for example, a configuration "Reset to factory defaults".

This should be OK because the Jenkins account is used only for this build process.

Unfortunately, there is no documentation on how / what to do jump far to achieve this.

What should I do to achieve this? I see that there is a directory ~/.cache/mozilla, but appears not to be the magical place I'm looking for...

The main profile folder is here:

  • Windows: C:\Users\ < user > < profile > \AppData\Roaming\Mozilla\Firefox\Profiles\.
  • Linux: ~/.mozilla/firefox/ < profile >.

You will need to remove this folder where files get corrupted when you close Firefox.
The other location is for the cache and other files as topic: newtab miniatures and phishing protection database.

Tags: Firefox

Similar Questions

  • How to reset Firefox from the command line (without a mouse) on Linux?

    I use Firefox for automated desktop screenshots xvfb virtual. There is no mouse. So I need to reset Firefox from the command line. Uninstall a re - install led again to the window "reset".
    I use Ubuntu Server Edition 13.04.

    Otherwise, without a keyboard and a mouse, you can just reinstall and delete. / mozilla folder.

  • How can I restart firefox with the same tabs and windows?

    How can I restart firefox with the same tabs and windows?

    It is not in the file menu or tools. I get nothing when searching for help. FF still knows how to do it, say to update extensions.

    I know that I can do by saving my session, coming out, reboot and restore the session but is there a single command to do this?

    Thank you. -David

    I have attached a screenshot showing how to select restore automatic session just above the setting of the Home Page where it says "When Firefox starts".

    With this set, you can restart Firefox manually out using the menu-

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    -and then restart Firefox.

    If you want a real reboot with a click of button, you can check something on the Add-ons site: https://addons.mozilla.org/firefox/

  • How can I male Firefox open the YouTube videos and youtube pages application?

    I tried to watch a video on the youtube page, but I got a message saying that the video was not available for mobile devices. I really want to watch this video, then I tried exactly the same page with the browser android... guess what? the browser has sent the link to the youtube app and I watched the video without problem.

    So, how can I make Firefox call the youtube app instead of lie to me?

    An example: http://m.youtube.com/watch?v=2zI4Hl02898 & feature = youtu.be & desktop_uri=%2Fwatch%3Fv%3D2zI4Hl02898%26feature%3Dyoutu.be

    Hello Doideira, you can do the video in the youtube app open when you press the little android icon in the right corner of the address bar when you're on the site.

  • What do you do if you are the administrator of a computer vista laptop and you are stupid enough to forget the password? How can I reset it? the "Wizard" and the reset option are without help?

    What do you do if you are the administrator of a computer vista laptop and you are stupid enough to forget the password? How can I reset it? the "Wizard" and the reset option are without help?

    Hello
    Microsoft technical support engineers cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features. For more information about this policy, please refer to the below sticky

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/3eba3150-8742-4264-be9f-0daaad2282cd

  • How can I reset passwords using the hidden administrator account?

    Original title: hidden admin account

    How can you reset pass using the hidden account dmin. ? That can make the admin account hidden?

    I have windows vista and I am the only administrator and user of my laptop.

    Hello

    You cannot use the hidden administrator account to reset the password. If you forget your only means of password to reset using the password reset disk. See the article below for further assistance.
    What to do if you forget your Windows password
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-to-do-if-you-forget-your-Windows-password

    Activate hidden administrator account gives you access to the files or the privileges if you are denied access in some cases.

    Hope this information helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How can I "go offline" from the command line?

    I have programs that need outlook and internet explore on purpose to be offline in order to make them work properly. Currently, I click on file > work offline before starting my programs. I was wondering if it was possible to do the same thing via the command line.

    John

    Search a bit, I found this article: http://support.microsoft.com/kb/195730

    What you can try, is go to

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

    in regedit and backup the registry key (read the regedit help file to understand how to use it, if you have not before).  Before you run all programs, you can try to merge this key and see if then when you start IE or OE, they start in offline mode.

    The name of the value to the "GlobalUserOffline" and the value of 0 means online and 1 means offline.

    See if it works.  If not, you may need to operate this HKEY_USERS that describes the article and then you need to find the appropriate SID, but then you can do as I suggest above for this key and it should work.

    Steve

  • [Solved] Possible to enroll the workstation via the command line (Linux)?

    Hi all:

    Under Linux Mint or Ubuntu, the ToolTip that should allow me to save the product key just won't display, making me unable to use the program. Normally, the system should ask me a root password after I click to enter, but nothing happens here, and I can't find a problem in any log file (by clicking on the option adds nothing in the newspaper at all). I try this on a new brand operating system installation and using the installer to update from the Web site.

    Is it possible that I could fix this, or as asking the question, save the product via the command line key instead?

    Thank you!

    Is it possible that I could fix this, or as asking the question, save the product via the command line key instead?

    In a Terminal, use the following command and use your real serial number instead of the fake one which is indicated.

    / usr/lib/VMware/bin/vmware-vmx-new-sn 1A2B3-C4D5E-6F7G8-H9I0J-1K2L3M

  • How can I remove firefox from the homepage video easily

    An irritating video appears on the start page of Firefox. Is there an easy way to block it and always to open the page in the normal firefox emblem? Any help gratefully received.
    Thank you!

    The best way to get around that is just set your own homepage.
    See - How to set the home page

    Many of us have disabled the changes made to the top [brandLogo part] of the Firefox Start Page, so that we do not see this 'trick '.

    If you feel adventurous, here's how to 'fix '.
    Type of topic: config in the address bar and press ENTER. Accept the message of 'dragons' to see the Advanced preferences screen. Use the search box at the top to enter the below pref.

    You can assign an empty string to stop your Firefox to retrieve "extracts" and brandLogo changes the browser.aboutHomeSnippets.updateUrl pref. Right-click this pref and select Edit then clear the value as pref in the box that appears, and then click OK. Who will also disable "snippets" that appear under the container of the research on the default home page.

    Then you must open the folder of your profile, via help > Troubleshooting Information > profile folder > > folder view button. Then close Firefox.
    Your profile file open with Firefox closed (Firefox '3-bar' menu key > exit/Quit), wait two minutes, then remove the storage\moz-safe-about + House folder in the profile folder of Firefox to remove the brandLogo and stored in IndexedDB code snippets to make Firefox use the default brandLogo and a defined default code snippet.

    If you later change your mind about these changes, you can reset the pref browser.aboutHomeSnippets.updateUrl via the context menu and Reset to retrieve the default to start to use the storage\moz-chest-fort-about + House record once again.

  • How can I reset tabs at the bottom instead of top to v29.0.1?

    Is there a solution that actually works?

    Just migrated to v29 and try to reset the tabs at the bottom instead of use albums about: config.

    Does not work.

    Installed recommended add-on https://addons.mozilla.org/firefox/addon/classicthemerestorer/ in recent thread, how can I put the tabs in the background toolbar in Firefox 29?

    Still does not work.

    Note to moderators: pleaze check your answers and solutions before closing the discussion.
    Previous thread closed by moderator despite the fact that there was no response. (Moses on 29/04/2014)
    I am a user, not a coder. Response of coding (a moderator!) in the previous thread, referring to the Chrome boes NOT help with this question about Firefox.

    Mac OS 10.9.2, Firevox using new version 29.0.1

    napunsaka wrote:

    Installed recommended add-on https://addons.mozilla.org/firefox/addon/classicthemerestorer/
    
    1. Open the modules (Ctrl + Shift + A Manager; Mac: Command + shift + A), then the Extensions category.
    2. Beside the classical theme restaurateur, click Options (or preferences).
    3. In the left upper corner of the window options, select "tabs not on it" and make sure "Tabs in the title bar" is not checked.
  • How can I keep Firefox since the implementation of a previous session, when I reopen it my browser?

    When I close Firefox (all tabs) and reassemble the and type in a web address, i.e. www.hotmail.com, my session is still there. I need to connect again. This ONLY happens after a Firefox update. I have fixed before and now do not remember what I did. I just want EVERYTHING gone when I close the browser. I don't want someone to be able to open the browser on my workstation, go to hotmail and have my email pop up. How can I permanently solve this problem?

    Answered my own question ^^ - YES, I needed to restart. All together. Thank you!

  • How can I reset Firefox to display relevant responses to my place?

    Firefox shows the position relative to a place that I was in Sydney, NSW. I want to reset the answewrs to those near Torquay, Victoria.

    Is it in your Google search results? You may need to remove the cookies that Google has put on your Firefox.

    First, save all pending work (for example, the project of Gmail messages). While displaying a page on the site, try either:

    • Right click and select View Page Info > Security > "View Cookies".
    • ALT + t (open the classic Tools menu) > Page Info > Security > "View Cookies".

    In the dialog box that opens, you can delete cookies from the site individually.

    Then try searching again. Who help me?

  • How can I get firefox to the first window open as soon as I click on it in the taskbar.

    I am running Windows 7 and when I click on Firefox in my bar tasks and I have more then a window, Firefox forces me to choose which window I want to go to. I want to always assume that I want to go to the first window. How can I change this?

    Go to tabs in Options and uncheck display previews of the tab in the Windows task bar.

  • How can I stop firefox from the offer to remember my passwords?

    I don't want ANY program to offer to remember my password. Ask Firefox several TIMES to remember this information anywhere, anytime, that I connect to work or personal sites. I'm quite capable of remembering my own passwords, and the pop up key icon is really very annoying. How can I stop this feature?

    See also:

  • I work from home, how can I make Bittorrent via the wireless when I connect the ethernet to work

    Hi people,

    I know that the network connection with the lowest metric is chosen for the Internet, but it's killing Bittorrent as soon as I plug the ethernet cable.
    When I need to force traffice via the wireless I can use ' route add Pei *.» *. *. * mask etc. etc."but this only works for single IPs, such as streaming radio stations etc.   What I really need, is a sort of local proxy that I can specify in uTorrent, then use that IP to route via the wireless.
    Someone at - it ideas of how I could do this?  I read about SSH/socks etc. but it is a little confusing.
    See you soon... Buzz

    Hi Buzzcut50,

    I suggest that you contact the support of torrent of bits for more information.

    http://www.BitTorrent.com/help

Maybe you are looking for