It appears that the version of Selenium included with Atata does not support the EdgeOption "UseChromium", and when I try to use the Edge Driver, the test run fails unless I rename the driver in the bin\Debug\netcoreapp2.1\drivers\edge\91.0.864.41 folder from "msedgedriver.exe" to "MicrosoftWebDriver.exe", which leads me to believe it's trying to run the old non-chromium Edge - is there some way to get this working?
In order to use Chromium Edge with Atata:
Update Selenium.WebDriver
package to 4.0.0-beta2
version.
Change Atata configuration to:
AtataContext.GlobalConfiguration
.UseDriver(() =>
{
EdgeOptions options = new EdgeOptions
{
UseChromium = true
};
// Headless options:
//options.AddArguments("headless", "disable-gpu", "window-size=1024,768");
return new EdgeDriver(options);
})
Atata Samples / Using Headless Edge sample might also help.