Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
    
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. – persepolis Sep 5 '11 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 :( – Stephen Gross Oct 26 '11 at 3:53

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.)

share|improve this answer

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.

share|improve this answer
    
Could you please share the link? Thanks! – user1807337 Jun 17 at 18:33
    
The link is in the answer itself – log_file Jun 17 at 19:25
    
Oh, thanks! I missed it – user1807337 Jun 17 at 22:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.