Hi,
I'm starting to use selenium and have some problems.

here is my code (c#):

using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;

namespace Selenium1
{
[TestClass]
public class UnitTest1
{
FirefoxDriver firefox;

[TestMethod]
public void TestMethod1()
{
firefox = new FirefoxDriver();
firefox.Navigate().GoToUrl("https://www.google.com");
firefox.FindElement(By.Id("gbqfq")).SendKeys("Goog le");
firefox.FindElement(By.Id("gbqfq")).SendKeys(Keys. Enter);
}

[TestCleanup]
public void TearDown()
{
firefox.Quit();
}
}
}


but instead of opening firefox it is opening chrome and invoking error:

Test method Selenium1.UnitTest1.TestMethod1 threw exception:
OpenQA.Selenium.NoSuchElementException: Unable to locate element: {"method":"id","selector":"gbqfq"}

where is my mistake?

thx.