10

I'm starting out using Selenium 2/Webdriver, been using Selenium IDE for a few weeks, to automate some tests and decided to go with Python. I've been writing some simple tests using some basic documentation that I found: http://readthedocs.org/docs/selenium-python/en/latest/index.html

While this documentation is good to start off, I noticed it's missing a lot of other commands that I'm used to using with Selenium IDE, such as verifying and asserting text/elements. Eventually I'd like to put some conditionals in my tests, so being able to do an assert and seeing if that returned true or false would be helpful, but I have no idea how to do that.

Is there any detailed documentation online?

asked Sep 5, 2011 at 7:19
2
  • Previously, I found nothing helpful so just used a combination of the Java documentation, web examples and built-in docstrings to try and work it out; but thanks for pointing this out, it's the most comprehensive documentation I've seen yet. Commented Sep 5, 2011 at 8:01
  • Yeah, I ran into the same problem. You can, however, obtain the Python library and run pydoc on it. The comments are in there; unfortunately the Selenium Python documentation is not autogenerated and published :( Commented Oct 26, 2011 at 3:53

2 Answers 2

5

As it happens, that isn't (as far as I can tell) the official documentation, which is here: http://selenium.googlecode.com/svn/trunk/docs/api/py/index.html (Link is dead)

Official documentation is here : https://seleniumhq.github.io/selenium/docs/api/py/api.html

(And which does have the full API reference.)

answered Nov 30, 2011 at 14:39
1

There is an documentation provided here by Balaji Muthukundan. This is not an official one but it is pretty detailed and systematic. I often refer this documentation for any help regarding Selenium API's.

answered Jun 17, 2016 at 8:46
2
  • Could you please share the link? Thanks! Commented Jun 17, 2016 at 18:33
  • The link is in the answer itself Commented Jun 17, 2016 at 19:25

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.