C# 我写Nunit代码只是为了用谷歌浏览器打开谷歌,并想通过名称查找元素。并获取与0一起退出的代码。我没有输出

C# 我写Nunit代码只是为了用谷歌浏览器打开谷歌,并想通过名称查找元素。并获取与0一起退出的代码。我没有输出,c#,C#,这是代码 'dotnet.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.12\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'dotnet.ex

这是代码

'dotnet.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program 
Files\dotnet\shared\Microsoft.NETCore.App\3.1.12\System.Private.CoreLib.dll'. 
Skipped loading symbols. Module is optimized and the debugger option 'Just My 
Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users\User\source\repos\NUnitTestProject1\bin\Debug\netcoreapp3.1\NUnitTestProject1.dll'. Symbols loaded.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.12\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[12728] dotnet.exe' has exited with code 0 (0x0).
using NUnit.Framework;

using OpenQA.Selenium;

using OpenQA.Selenium.Chrome;

namespace NUnitTestProject1
{

    [TestFixture()]
   
    class Nunit_Class
    {
    
        IWebDriver driver = new ChromeDriver();


        [SetUp()]
        public void Initialize()
        {
            driver.Navigate().GoToUrl("https://www.google.com/");
        }
        [Test()]
        public void Execute()
        {

            IWebElement element = driver.FindElement(By.Name("q"));
            element.SendKeys("Hello google");
        }
    }
}