File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public void ShouldReturnNullWhenGettingSrcAttributeOfInvalidImgTag()
4242 {
4343 driver . Url = simpleTestPage ;
4444 IWebElement img = driver . FindElement ( By . Id ( "invalidImgTag" ) ) ;
45- string attribute = img . GetAttribute ( "src" ) ;
45+ string attribute = img . GetDomProperty ( "src" ) ;
4646 Assert . That ( attribute , Is . Null ) ;
4747 }
4848
@@ -51,7 +51,7 @@ public void ShouldReturnAnAbsoluteUrlWhenGettingSrcAttributeOfAValidImgTag()
5151 {
5252 driver . Url = simpleTestPage ;
5353 IWebElement img = driver . FindElement ( By . Id ( "validImgTag" ) ) ;
54- string attribute = img . GetAttribute ( "src" ) ;
54+ string attribute = img . GetDomProperty ( "src" ) ;
5555 Assert . That ( attribute , Is . EqualTo ( EnvironmentManager . Instance . UrlBuilder . WhereIs ( "icon.gif" ) ) ) ;
5656 }
5757
You can’t perform that action at this time.
0 commit comments