robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

Get Element Attribute to support optional argument, split element and attribute as 2 arguments #214

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by mangaroo on 23 Oct 2011

For backwards compatibility, keyword will function as did in past

|Get Element Attribute | locator@⁠attributeName |

but would be nice to also support:

|Get Element Attribute | locator | attribute name |

which is more readable from end user perspective.

spooning commented 9 years ago

Originally submitted to Google Code by @yanne on 19 Dec 2011

On further thought, I think that this should not implemented.

My main objection is that this makes the documentation much more confusing.

This can always be worked around with a user keyword, it the syntax is seen problematic.