Skip to content

The .NET port of Protractor, an E2E test framework for Angular apps

License

Notifications You must be signed in to change notification settings

oryz/protractor-net

 
 

Repository files navigation

Protractor for .NET

The .NET port of Protractor, an end to end test framework for Angular applications.

Protractor for .NET is built on top of Selenium WebDriver C# binding.

Get it from NuGet!

PM> Install-Package Protractor

Supports Microsoft .NET Framework 3.5 and higher.

Write tests!

[Test]
public void ShouldGreetUsingBinding()
{
    using (IWebDriver ngDriver = new NgWebDriver(new ChromeDriver()))
    {
        ngDriver.Url = "http://www.angularjs.org";
        ngDriver.FindElement(NgBy.Model("yourName")).SendKeys("Julie");
        Assert.AreEqual("Hello Julie!", ngDriver.FindElement(NgBy.Binding("yourName")).Text);
    }
}

About

The .NET port of Protractor, an E2E test framework for Angular apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%