如何查看python selenium的api

1. 打开命令行: command+R
2. 输入: python -m pydoc -p 4567,然后:Enter
3. 然后在浏览器中访问http://localhost:4567
4. 按ctrl+f,输入selenium,定位到selenium文档的链接
5. 自己查找对应需要的内容,例如:http://localhost:4567/selenium.webdriver.remote.webelement.html

posted @ 2015-03-10 21:34  道生一_三生万物  阅读(227)  评论(0编辑  收藏  举报
returnTop $(function(){ $('#returnTop').click(function () { $('html,body').animate({ scrollTop: '0px' }, 800); returnfalse; }); });