I try to open a selenium button, but it works on the same thread as the form, so how can I continue working on the form, this is the code
IWebDriver driver = new FirefoxDriver();
driver.Navigate().GoToUrl("https://google.com");
driver.FindElement(By.XPath("ElElemento]")).Click();
driver.close();