We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4d2cde commit b5be6f2Copy full SHA for b5be6f2
dotnet/test/common/ElementAttributeTest.cs
@@ -258,7 +258,7 @@ public void ShouldReturnHiddenTextForTextContentAttribute()
258
driver.Url = simpleTestPage;
259
260
IWebElement element = driver.FindElement(By.Id("hiddenline"));
261
- string textContent = element.GetAttribute("textContent");
+ string textContent = element.GetDomProperty("textContent");
262
263
Assert.That(textContent, Is.EqualTo("A hidden line of text"));
264
}
0 commit comments