Changing internal name of embedded resources in .NET assemblies
@@ -189,7 +189,7 @@ public virtual bool Displayed
{
Response commandResponse = null;
Dictionary<string, object> parameters = new Dictionary<string, object>();
- string atom = GetAtom("isDisplayed.js");
+ string atom = GetAtom("is-displayed.js");
parameters.Add("script", atom);
parameters.Add("args", new object[] { this.ToElementReference().ToDictionary() });
commandResponse = this.Execute(DriverCommand.ExecuteScript, parameters);
@@ -383,7 +383,7 @@ public virtual string GetAttribute(string attributeName)
Response commandResponse = null;
string attributeValue = string.Empty;
Dictionary<string, object> parameters = new Dictionary<string, object>();
- string atom = GetAtom("getAttribute.js");
+ string atom = GetAtom("get-attribute.js");
parameters.Add("script", atom);
parameters.Add("args", new object[] { this.ToElementReference().ToDictionary(), attributeName });
commandResponse = this.Execute(DriverCommand.ExecuteScript, parameters);
