我最近开始使用selenium编写python绑定。互联网中的大多数示例代码都使用了selenium.selenium模块。但是,Selenium Python绑定2的当前API文档不包括此模块。但是Selenium 1的API文档包含这个模块。
我还可以通过以下方法从Ipython找到API文档:
from selenium import selenium
help(selenium)我有两个相关的问题:
发布于 2012-03-01 04:18:24
给出的链接不是官方文档,请参考这里的官方API文档:http://selenium.googlecode.com/svn/trunk/docs/api/py/index.html (这里有完整的包含旧RC的API) selenium.selenium是旧的RC。对于新项目,建议使用selenium.webdriver API。
https://stackoverflow.com/questions/8697954
复制相似问题