* What is the expected output? What do you see instead?
For the Python bindings, it would be nice to have find_element and
find_elements methods that takes a "by" type as their first argument. This is
currently implemented in the Java API. (See
http://webdriver.googlecode.com/svn/javadoc/org/openqa/selenium/WebDriver.html#f
indElement%28org.openqa.selenium.By%29)
The Python bindings actually do have these methods, but they are semi-private
due to their names, _find_element() and _find_elements(). They take strings
(like "id" and "xpath") as the by argument.
It would be nice to expose these methods as part of the public Python API.
* What version of the product are you using? On what operating system?
selenium 2.0a5 module
* Please provide any additional information below.
In general, what is the policy for APIs in other languages? Are they expected
to match the Java API? (This is probably a question better suited to the
Selenium Developers forum.)
Anyway, I can submit a patch for this. I just want to make sure there are no
objections from antlong or anyone.
Original issue reported on code.google.com by gregn...@gmail.com on 18 Nov 2010 at 6:04
Original issue reported on code.google.com by
gregn...@gmail.com
on 18 Nov 2010 at 6:04