Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8713113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:15:50+00:00 2026-06-13T05:15:50+00:00

I use Selenium WebDriver with firefox. Every time selenium generates new anoniumus profile for

  • 0

I use Selenium WebDriver with firefox. Every time selenium generates new anoniumus profile for firefox in temp folder and after exit, removes it. I need this profile. How can I get it?
F.e. profile stored in

C:\Documents and Settings\Developer\Local Settings\Temp\anonymous5583304190515426768webdriver-profile

After shutting down WebDriver with

driver.quit();

profile will be removed, but it is already logged and I want to use it in next iteration, by initing WebDriver with it:

FirefoxDriver driver = new FirefoxDriver(new FirefoxProfile(profileFolder));

Is it possible to save profile without dirty hacks like coping whole folder while driver works (I’m not sure even it works, because in windows, folder is locked while firefox launched)? Maybe exists some API in Selenium for it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:15:51+00:00Added an answer on June 13, 2026 at 5:15 am

    Why dont you just change approach?

    • Create firefox profile which will be clean and name it somehow you know what it is. e.g. SELENIUM
    • When initializing the Webdriver:

       ProfilesIni allProfiles = new ProfilesIni();
       FirefoxProfile desiredProfile = allProfiles.getProfile("SELENIUM");
       WebDriver driver = new FirefoxDriver(desiredProfile);
      

    That way, you assure that this profile will be used anytime you do the tests…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I use selenium webdriver with a custom firefox profile I get the firefox
I'm trying to tell the org.openqa.selenium.firefox.FirefoxDriver of Selenium to use an existing profile along
I'm trying to use Selenium WebDriver to input text to a GWT input element
I'm using Selenium WebDriver with Java. I want to use Safari browser. Does Selenium
When I use Selenium 2 code (Java) to open Firefox (or any other browser)
use strict; use warnings; use Time::HiRes qw(sleep); use Test::WWW::Selenium; use Test::More no_plan; use Test::Exception;
Is it possible to import/use scripts which has been generated in Firefox's Selenium-IDE plugin
I'm attempting to use the selenium-webdriver [ruby bindings][1] to access an internal web-site that
Hello all I am using webdriver so if I want to use selenium;s rc
I'm using selenium webdriver to do some downloading using firefox. At the moment my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.