摘要:
selenium(入门 )(收集) 一.Selenium是什么?Selenium是ThroughtWorks公司一个强大的开源Web功能测试工具系列,
1. Selenium可以使用录制工具录制脚本,测试页面。
2. Selenium可以生成类html代码,java代码,ruby代码等。
3. Selenium录制工具根据id属性定位html元素
4.Selenium IDE仅支持Selenium语言。
5.Selenium RC支持很多语言,如:C#,Java,Python,Ruby等。
二.需要的软件
1,安装Firefox,Selenium IDE插件,Firebug插件。
2,解压S. 阅读全文
摘要:
新产品为了效果,做的比较炫,用了很多的图片和JS,所以前端的性能是很大的问题,分篇记录前端性能优化的一些小经验。 第一篇: index.htm; expires 5d; } # 因JS,CSS改动比较频繁,客户端缓存8小时
location ~* ^.+.(js|css)$ { root /usr/local/resource/; access_log off; index index.html index.htm; expires 8h; } # 其他静态资源
location / { root /usr/local/resource; access_log off; expires 8h. 阅读全文