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 7901759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:18:56+00:00 2026-06-03T09:18:56+00:00

Besides having read all the posts about it in stackoverflow and many others, I

  • 0

Besides having read all the posts about it in stackoverflow and many others, I have tried every idea people give, but I can’t do it work.

Supposedly I should have Selenium 2 / Webdriver working with the profile I want in Firefox with these lines:

ProfilesIni allProfiles = new ProfilesIni();
FirefoxProfile profile = allProfiles.getProfile("My_Profile");
driver = new FirefoxDriver(profile);

OR

FirefoxProfile profile = new ProfilesIni().getProfile("path_to_profile");
driver = new FirefoxDriver(profile);

OR

several other ideas doesn’t work either (at least for me).

Debugging my code and watching every element, I have realized that in fact, “my_profile” is into “allProfiles” collection, but when I try to get it, it doesn’t work; it takes a “default-profile”, not the one I want.

Is this some kind of bug? Is it possible to use a pre-existing profile?


–> My fault: It didn’t work apparently because of the name of the profile; having nothing else to try, I’ve changed it so now it has just alphanumeric characters and now it works. Since I have solved it, I don’t need more answers, but I wont delete the question because it could help someone else.

  • 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-03T09:18:59+00:00Added an answer on June 3, 2026 at 9:18 am

    It didn’t work apparently because of the name of the profile; having nothing else to try, I’ve changed it so now it has just alphanumeric characters and now it works. Since I have solved it, I don’t need more answers, but I wont delete the question because it could help someone else.

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

Sidebar

Related Questions

What is the problem here? (Besides having redundant code). $.getJSON works as expected. However
I'm currently having troubles integrating Jack into my QUnit. Besides from not knowing where
besides using Hive, is it a good idea in order to execute ad hoc
Or what's the recommended way to read and write at the same time? Having
I'm having difficulty getting some JavaScript features to work in any other browser besides
I'm having some trouble to make an ajax-form work with drupal 7. Besides the
all! I'm having some issues accessing an XML node's properties using Javascript. The XML
I have an piece of code that does calculations on assets. There are many
I have read a number of debates on where to implement INotifyPropertyChanged here on
I have about a dozen fields marked as tinyint, which translates to a byte

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.