-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Open
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!C-pyPython BindingsPython BindingsI-enhancementSomething could be betterSomething could be better
Description
Feature and motivation
Hi all, I've been using Selenium for a few months now. It's amazing, keep up the great work.
I was considering contributing by adding some documentation into the code itself. Particularly to the following classes:
py/selenium/webdriver/remote/webdriver.pytoWebDriver.find_elementpy/selenium/webdriver/common/by.pytoBy
I found these are some of the major components for interacting with webpages and there only documentation on selenium.dev which is a bit out of the way. I thinking adding some examples for when different By conditions into the code itself would be best. E.g. By.ID vs By.CSS_SELECTOR.
This documentation will definitely help beginners who are used to python side documentation in their IDE.
Usage example
Replicate Documation found on "https://www.selenium.dev/documentation/webdriver/elements/locators/" to the files in py/selenium/...
iampopovich
Metadata
Metadata
Assignees
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!C-pyPython BindingsPython BindingsI-enhancementSomething could be betterSomething could be better