Bumblebee.Extensions.WebElementConvenience.SetAttribute C# (CSharp) Method

SetAttribute() public static method

public static SetAttribute ( this element, string attribute, string value ) : void
element this
attribute string
value string
return void
		public static void SetAttribute(this IWebElement element, string attribute, string value)
		{
			element.GetDriver().ExecuteScript<object>("arguments[0].setAttribute(arguments[1], arguments[2])", element, attribute, value);
		}
	}