Skip to content

Commit 094a470

Browse files
committed
Changing internal name of embedded resources in .NET assemblies
1 parent 59721b2 commit 094a470

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/src/webdriver/Remote/RemoteWebElement.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public virtual bool Displayed
189189
{
190190
Response commandResponse = null;
191191
Dictionary<string, object> parameters = new Dictionary<string, object>();
192-
string atom = GetAtom("isDisplayed.js");
192+
string atom = GetAtom("is-displayed.js");
193193
parameters.Add("script", atom);
194194
parameters.Add("args", new object[] { this.ToElementReference().ToDictionary() });
195195
commandResponse = this.Execute(DriverCommand.ExecuteScript, parameters);
@@ -383,7 +383,7 @@ public virtual string GetAttribute(string attributeName)
383383
Response commandResponse = null;
384384
string attributeValue = string.Empty;
385385
Dictionary<string, object> parameters = new Dictionary<string, object>();
386-
string atom = GetAtom("getAttribute.js");
386+
string atom = GetAtom("get-attribute.js");
387387
parameters.Add("script", atom);
388388
parameters.Add("args", new object[] { this.ToElementReference().ToDictionary(), attributeName });
389389
commandResponse = this.Execute(DriverCommand.ExecuteScript, parameters);

0 commit comments

Comments
 (0)