I'm programming a basic script using C#. I want to make an script what open Internet Explorer (or any other browser) and clicking, but, always have the same error, even when use FireFox: It never recognizes the URL
using System.Text;
using System.Threading;
using Newtonsoft.Json;
using System.Net;
using System.IO;
using WatiN.Core;
namespace testConsole
{
class Program
{
[STAThread]
static void Main(string[] args)
{
try
{
IE ie = new IE("https://www.google.com");
ie.TextField(Find.ByName("q")).Value = "Youtube KeyEventHandler";
ie.NativeDocument.Body.SetFocus();
ie.Button(Find.ByName("btnG")).Click();
Console.WriteLine(ie.Div(Find.ById("resultStats")).Text);
}
catch (Exception)
{
throw;
}
}
}
}

According to your requirement you should use Winforms to open a browser and jump to the target website:
Refer to the following code:
After running, click the button to use a specific browser to visit a specific website