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.
PM> Install-Package Protractor
Supports Microsoft .NET 5, .NET Framework 4.5 and .NET Standard 2.0.
[Test] public void ShouldGreetUsingBinding() { // Instantiate a classic Selenium WebDriver var driver = new ChromeDriver(); // Configure timeouts (important since Protractor uses asynchronous client side scripts) driver.Manage().Timeouts().AsynchronousJavaScript = TimeSpan.FromSeconds(5); using (var ngDriver = new NgWebDriver(driver)) { ngDriver.Url = "http://www.angularjs.org"; ngDriver.FindElement(NgBy.Model("yourName")).SendKeys("Julie"); Assert.AreEqual("Hello Julie!", ngDriver.FindElement(NgBy.Binding("yourName")).Text); } }
Please ask usage and debugging questions on StackOverflow (use the "protractor-net" tag)
When you can use the original Protractor framework :)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4