Skip to content

Commit c4d2cde

Browse files
committed
innerHTML
1 parent 59adbba commit c4d2cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/test/common/ElementAttributeTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public void ShouldReturnInnerHtml()
232232
{
233233
driver.Url = simpleTestPage;
234234

235-
string html = driver.FindElement(By.Id("wrappingtext")).GetAttribute("innerHTML");
235+
string html = driver.FindElement(By.Id("wrappingtext")).GetDomProperty("innerHTML");
236236
Assert.That(html, Does.Contain("<tbody>"));
237237
}
238238

0 commit comments

Comments
 (0)