fix element old syntax API

HOTFIX to be merged in 1.0.x and 1.1.x

we should test all element selectors in element.js and not using higher
methods like .getValue or .isVisible (selectors.js).
Merge pull request #132 from camme/fix-element-api-retro-compatibility

fix element old syntax API