Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I face a problem while running Selenium scripts. I try to open Firefox using the following command:

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public static void main(String[] args) {
    WebDriver driver = new FirefoxDriver();

But Firefox opens with Yes/No dialog with the following message:

Would you like to help improve Mozilla Firefox by automatically reporting memory usage, performance, and responsiveness to Mozilla?

I get this message every time. Selecting Yes or No has no effect. I can't understand whats the problem. Is it a problem with Firefox profile or WebDriver?

share|improve this question
See also… – user246 Dec 5 '11 at 19:37
Good spot @user246 - they're almost exact duplicates. Perhaps worth merging the two? – testerab Jan 6 '12 at 0:28
up vote 2 down vote accepted

try this driver.get(""); url should be not

share|improve this answer
Perhaps you could elaborate on what advantage this will provide. – corsiKa Jul 25 '12 at 17:21
I think anusha is implying that the problem you are seeing is a result of not including the protocol in the URL. I agree that this is possible. What did you discover? – djangofan Jun 20 '13 at 20:12

What version of Firefox are you using? Are you sure that the version of WebDriver you have supports the version of Firefox? Try updating to the latest version of WebDriver and a version of Firefox that you know is supported like 7.0.1. Another possible solution is that you can start Firefox with any profile instead of the default one that ships with Selenium.

DesiredCapabilities cap = new DesiredCapabailities();

FirefoxProfile profile = new FirefoxProfile("path_of_profile");

cap.SetCapability("firefox_profile", profile.ToBase64String());

WebDriver driver = new FirefoxDriver(cap);

share|improve this answer

I have a partial workaround in Ruby, which may lead you to the code you need; see


share|improve this answer
Welcome to SQA.SE - your answer would be more complete if you gave a précis of the workaround here – Andrew Nov 2 '12 at 21:39
Ah, sorry; the short version is "run firefox with a profile specified". OTOH, I think this bug has been fixed in the 11 intervening moths. :) – rlpowell Nov 7 '12 at 9:32
Fair point - I didn't look at the date when it came up on the Review list :) – Andrew Nov 7 '12 at 9:42

Me suggest will be use custom Firefox profile. See how to create one on this web page.

share|improve this answer

protected by Bruce McLeod Jun 20 '13 at 5:13

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.