SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
345 stars 195 forks source link

Incorrect language docs of Selenium::WebDriver::Element#attribute #5463

Open lukeis opened 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 5463

Webdriver spec says (http://www.w3.org/TR/webdriver/#reading-attributes-and-properties):
"If the value is expected to be a URL (see the below table), return the property named
name, i.e. a fully resolved URL."

Javadocs [1], Rubydocs [2], Python docs [3], C# docs [4] don't tell about this

Maybe, language docs should just link to Webdriver spec

[1]: http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/WebElement.html#getAttribute(java.lang.String)
[2]: https://selenium.googlecode.com/svn/trunk/docs/api/rb/Selenium/WebDriver/Element.html#attribute-instance_method
[3]: http://selenium.googlecode.com/git/docs/api/py/webdriver_remote/selenium.webdriver.remote.webelement.html#selenium.webdriver.remote.webelement.WebElement.get_attribute
[4]: http://selenium.googlecode.com/git/docs/api/dotnet/html/M_OpenQA_Selenium_IWebElement_GetAttribute.htm

Reported by botalov.andrey on 2013-04-08 21:31:50

lukeis commented 8 years ago

Reported by barancev on 2013-04-10 20:26:53

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 17:45:11