-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete documentation #4458
Comments
There is an active effort to rebuild the docs from scratch on a diff repo here. Feel free to contribute I'm sure the devs would welcome your suggestions The website as it stands is here: https://seleniumhq.github.io/docs/ |
Pull requests are always welcome to fix docstrings in the python bindings. |
@luke-hill thanks for the link. |
@raffam the link that Luke provided is the project to rewrite the docs - your patches should go into the python doc-strings as @lmtierney mentioned. Browse the source |
Another thing to document would be the logger. See this StackOverflow discussion |
@raffam Feel free to send in a PR |
PR sent: #5042 |
Meta -
OS:
Selenium Version: 3.5.3
Browser:
Browser Version:
Steps to reproduce -
Can I RESPECTFULLY say that I find the Selenium official Python documentation incomplete?
For example, the documentation for
selenium.webdriver.remote.webelement
fails to point out thatfind_elements*
method always return a list (eventually empty), whilefind_element*
return the element directly or raises aselenium.common.exceptions.NoSuchElementException
The
switch_to
documentation ofselenium.webdriver.remote.webdriver.WebDriver
is non-existent (literally)There is a documentation for
switch_to_active_element()
and the like which says that the methods are deprecated and you should usedriver.switch_to.active_element
instead. But what does theswitch_to
methods do at all? What does it mean to switch to the default element? Or to an alert? Or to a default content?The example of
selenium.webdriver.remote.webelement.WebElement
'sget_property()
function is wrong. It saysAt least the comment is wrong, which seems to have been copy-pasted from the
get_attribute(name)
functionMaybe it's just me, or maybe I have found the wrong link from the documentation (the link is on pypi page of selenium). Selenium is a great piece of software, but I think it would be event better if the documentation was better
The text was updated successfully, but these errors were encountered: