I'm unable to execute with all the answers in internet, of how I can execute this porject in headless mode.
This is an example of how I run my project:
namespace Automation.TestCases
{
public class MailContactManagement
{
IWebDriver driver = new FirefoxDriver();
[OneTimeSetUp]
public void Initialize()
{
driver.Navigate().GoToUrl(VariablesConstants.BaseURL);
ActionModules.SignIn(driver);
Assert.IsTrue(driver.FindElement(By.CssSelector(".badge-initials-mini")).Displayed);
}
[Test]
[Ignore("Ignore Test")]
public void TC_3340() // Create Mail