Added setAttribute (via js) and convenience methods to WebElement. WebDriver will convert WebElements to a usable type when calling executeScriptInternal.