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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:35:43+00:00 2026-05-16T15:35:43+00:00

Question partly answered in Selenium RC testing with Maven – basically stating go back

  • 0

Question partly answered in Selenium RC testing with Maven – basically stating go back to using Firefox 3.5 (but one answer suggesting that does not work). Not an option anyway – 3.6.8 is what we are using.

Anyway, any clue on how to get Maven / Selenium working with Firefox 3.6.x?

I am attempting to use:

<dependency>
   <groupId>org.seleniumhq.selenium</groupId>
   <artifactId>selenium</artifactId>
   <version>2.0a5</version>
</dependency>

For dependent Java classes used in the tests.

And:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>selenium-maven-plugin</artifactId>
  <version>1.1-SNAPSHOT</version>
  <executions>
    <execution>
      <phase>pre-integration-test</phase>
      <goals>
        <goal>start-server</goal>
      </goals>
      <configuration>
        <background>true</background>
      </configuration>
    </execution>
    <execution>
      <id>stop-selenium</id>
      <phase>post-integration-test</phase>
      <goals>
        <goal>stop-server</goal>
      </goals>
    </execution>
  </executions>
</plugin>

When I run integration-test against Firefox, I get:

INFO [org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher] Preparing Firefox profile…

ERROR [org.openqa.selenium.server.BrowserSessionFactory] Failed to start new browser session, shutdown browser and clear all session data
java.lang.RuntimeException: Firefox refused shutdown while preparing a profile

Caused by:
org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$FileLockRemainedException: Lock file still present! C:\DOCUME~1\XXX\LOCALS~1\Temp\customProfileDirb809d85d6d064be0bdd1a4ee68035cbb\parent.lock
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFileLockToGoAway(FirefoxChromeLauncher.java:269)

  • 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-05-16T15:35:44+00:00Added an answer on May 16, 2026 at 3:35 pm

    I’ve had a problem with firefox and Selenium RC.

    The solution was to edit the selenium RC jar files. Open them up in WINRAR (or similar) and browse through the folders for

     selenium-server.jar\customProfileDirCUSTFF\extensions\*
     selenium-server.jar\customProfileDirCUSTFFCHROME\extensions\*
    

    Open up the files you see called “Install.rdf”

        <Description about="urn:mozilla:install-manifest">
            <em:id>readystate@openqa.org</em:id>
            <em:type>2</em:type>
            <em:name>DocumentReadyState</em:name>
            <em:version>1.0</em:version>
            <em:description>Provides a mechanism to update the document readyState property</em:description>
    
            <!-- Firefox -->
            <em:targetApplication>
                <Description>
                    <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
                    <em:minVersion>1.4.1</em:minVersion>
                    <em:maxVersion>3.6.*</em:maxVersion>
                </Description>
            </em:targetApplication>
        </Description>
    </RDF>
    

    And see where it says MaxVersion? Bump that up to say … 4.6
    Save the file and overwrite the original install.rdf in the .jar

    Then… selenium is happy.

    I really apologise for wating your time if this doesn’t work. It was a hack that I found after a few hours / days of scrambling.

    …
    EDIT
    …
    Oh beans I just read the error message from above. Nowhere near the same issue. Yours is something to do with a lockfile or previous firefox session.

    Tried a clear history/reset to factory defaults in the browser and similar?

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

Sidebar

Related Questions

I know this question has been partly answered here on S.O. , but there
This is partly a jquery question, but most javascript. I just don't know javascript
Main question is how to customize bootstrap responsive css? My code partly works but
I 'answered' this in a related question - but it is more of an
This question has been asked a couple times but not answered in such a
This question is partly about delegates, and partly about generics. Given the simplified code:
This is a very basic question - but apparently google is not very good
I know this question seems to be answered all over stackoverflow and the web,
I asked a question yesterday about namespaces that got answered, and so I tarried
I wish I could word this question better. Partly I just don't know the

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.