File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dotnet/src/webdriver/Remote Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ public virtual bool Displayed
189
189
{
190
190
Response commandResponse = null ;
191
191
Dictionary < string , object > parameters = new Dictionary < string , object > ( ) ;
192
- string atom = GetAtom ( "isDisplayed .js" ) ;
192
+ string atom = GetAtom ( "is-displayed .js" ) ;
193
193
parameters . Add ( "script" , atom ) ;
194
194
parameters . Add ( "args" , new object [ ] { this . ToElementReference ( ) . ToDictionary ( ) } ) ;
195
195
commandResponse = this . Execute ( DriverCommand . ExecuteScript , parameters ) ;
@@ -383,7 +383,7 @@ public virtual string GetAttribute(string attributeName)
383
383
Response commandResponse = null ;
384
384
string attributeValue = string . Empty ;
385
385
Dictionary < string , object > parameters = new Dictionary < string , object > ( ) ;
386
- string atom = GetAtom ( "getAttribute .js" ) ;
386
+ string atom = GetAtom ( "get-attribute .js" ) ;
387
387
parameters . Add ( "script" , atom ) ;
388
388
parameters . Add ( "args" , new object [ ] { this . ToElementReference ( ) . ToDictionary ( ) , attributeName } ) ;
389
389
commandResponse = this . Execute ( DriverCommand . ExecuteScript , parameters ) ;
You can’t perform that action at this time.
0 commit comments