I would like to write the possibility of parsing data in the WinForms form, with a view to their subsequent processing. When run in the Selenium driver code, the console starts (I suppose for logs). Is it possible to run without a console? Or that these logs are displayed somewhere else?

1 answer 1

You can and without editing DriverService.cs

var driverService = FirefoxDriverService.CreateDefaultService(); driverService.HideCommandPromptWindow = true; 

and then just create, say, Firefox, using this variable

 IWebDriver browser1 = new FirefoxDriver(driverService);