Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

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

1 Answer 1

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

(And which does have the full API reference.)

share|improve this answer

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.