First open the command line and enter in the DOS window:
1 |
python -m pydoc -p 4567 |
Simply explain:
- Python-m Pydoc means to open the Pydoc module, Pydoc is the preferred tool for viewing Python documents;
- -p 4567 means start the server on port 4567;
Then access http://localhost:4567/in the browser, and you should see all the modules in Python now
Press Ctrl+f, enter selenium, locate the link to the selenium document, and then click Enter to http://localhost:4567/selenium.html this page
This is where the selenium document is located, and then you can view it according to your needs. For example, if you want to see the basic methods of the Webdriver class, you can access this page http://localhost:4567/selenium.webdriver.remote.webdriver.html
From http://www.cnblogs.com/nbkhic/p/3897425.html
How to view the API for Python selenium