Add selector to widget getAttribute

you know my thoughts on this :palm_tree: 

ha but it is cool