protractor icon indicating copy to clipboard operation
protractor copied to clipboard

NgBy ignore the current WebElement

Open MayaGi opened this issue 12 years ago • 1 comments

consider the following example:

<body> <tr><td>{{row[column.field]}}</td><td>{{row[column.field]}}</td></tr> <tr><td>{{row[column.field]}}</td><td>{{row[column.field]}}</td></tr> </body>

when m_rowElement holds the first tr element m_rowElement.FindElements(By.TagName("td")); return 2 element, yet m_rowElement.FindElements(NgBy.Binding("row[column.field]")); return 4 elements.

I am using protractor for visual studio (installed using nuget) package id="Protractor" version="0.3.0" targetFramework="net45" package id="Selenium.Support" version="2.39.0" targetFramework="net45" package id="Selenium.WebDriver" version="2.39.0" targetFramework="net45"

The runtime version is of protractor is v4.0.30319

MayaGi avatar Dec 03 '14 14:12 MayaGi

This is a duplicate of your other issue: https://github.com/angular/protractor/issues/1579

juliemr avatar Dec 03 '14 18:12 juliemr