Skip to content

Commit 3cdb358

Browse files
committed
nowrap
1 parent acbf7b8 commit 3cdb358

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/test/common/ElementAttributeTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ public void ShouldReturnNullForNonPresentBooleanAttributes()
365365
IWebElement element1 = driver.FindElement(By.Id("working"));
366366
Assert.That(element1.GetDomAttribute("required"), Is.Null);
367367
IWebElement element2 = driver.FindElement(By.Id("wallace"));
368-
Assert.That(element2.GetAttribute("nowrap"), Is.Null);
368+
Assert.That(element2.GetDomAttribute("nowrap"), Is.Null);
369369
}
370370

371371
[Test]
@@ -381,7 +381,7 @@ public void ShouldReturnTrueForPresentBooleanAttributes()
381381
IWebElement element4 = driver.FindElement(By.Id("textAreaRequired"));
382382
Assert.That(element4.GetDomAttribute("required"), Is.EqualTo("true"));
383383
IWebElement element5 = driver.FindElement(By.Id("unwrappable"));
384-
Assert.That(element5.GetAttribute("nowrap"), Is.EqualTo("true"));
384+
Assert.That(element5.GetDomAttribute("nowrap"), Is.EqualTo("true"));
385385
}
386386

387387
[Test]

0 commit comments

Comments
 (0)